Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002322/0.00232, allocations: 177.7 kB / 8.046 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.245/2.245, allocations: 205.3 MB / 213.8 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 97.77 kB / 261.8 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1089/0.1089, allocations: 12.58 MB / 322.3 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.112e-05/3.13e-05, allocations: 4 kB / 379 MB, free: 75.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1292, allocations: 50.38 MB / 429.4 MB, free: 24.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4892/0.6185, allocations: 78.01 MB / 0.4955 GB, free: 11.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00039/0.6189, allocations: 77.47 kB / 0.4956 GB, free: 11.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01907/0.638, allocations: 4.097 MB / 0.4996 GB, free: 11.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.6381, allocations: 0 / 0.4996 GB, free: 11.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.6381, allocations: 7.844 kB / 0.4996 GB, free: 11.09 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004734/0.6386, allocations: 397.9 kB / 0.5 GB, free: 10.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.6386, allocations: 15.47 kB / 0.5 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.619e-05/0.6387, allocations: 19.16 kB / 0.5 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.639, allocations: 196.6 kB / 0.5002 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.639, allocations: 7.922 kB / 0.5002 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.6391, allocations: 7.75 kB / 0.5002 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000173/0.6392, allocations: 52.28 kB / 0.5003 GB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004634/0.6397, allocations: 236.2 kB / 0.5005 GB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.6397, allocations: 0 / 0.5005 GB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.6398, allocations: 0 / 0.5005 GB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.6398, allocations: 0 / 0.5005 GB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.6402, allocations: 287 kB / 0.5008 GB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.6405, allocations: 126.4 kB / 0.5009 GB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.6406, allocations: 58.55 kB / 0.501 GB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.6406, allocations: 11.59 kB / 0.501 GB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.6407, allocations: 38.31 kB / 0.501 GB, free: 9.988 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 2.245e-06/0.6407, allocations: 0 / 0.501 GB, free: 9.988 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003279/0.641, allocations: 113.7 kB / 0.5011 GB, free: 9.945 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/0.6411, allocations: 117.9 kB / 0.5012 GB, free: 9.816 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.6412, allocations: 135 kB / 0.5014 GB, free: 9.719 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.6413, allocations: 28.75 kB / 0.5014 GB, free: 9.688 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.6413, allocations: 95.27 kB / 0.5015 GB, free: 9.602 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.6414, allocations: 13.94 kB / 0.5015 GB, free: 9.598 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.6414, allocations: 0 / 0.5015 GB, free: 9.598 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.862e-05/0.6415, allocations: 323.9 kB / 0.5018 GB, free: 9.285 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.067e-05/0.6415, allocations: 23.78 kB / 0.5018 GB, free: 9.277 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.6416, allocations: 119.1 kB / 0.5019 GB, free: 9.141 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.827e-05/0.6417, allocations: 43.52 kB / 0.502 GB, free: 9.129 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.6417, allocations: 11.61 kB / 0.502 GB, free: 9.121 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003282/0.6421, allocations: 145.2 kB / 0.5021 GB, free: 9.062 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.6421, allocations: 3.719 kB / 0.5021 GB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.6421, allocations: 3.844 kB / 0.5021 GB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.6422, allocations: 7.625 kB / 0.5021 GB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.6424, allocations: 30.36 kB / 0.5022 GB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.6424, allocations: 10.97 kB / 0.5022 GB, free: 9.055 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.6426, allocations: 11.69 kB / 0.5022 GB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.6426, allocations: 7.406 kB / 0.5022 GB, free: 9.051 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 (upSample2.b_super,$CLKPRE.upSample2.b_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample2.b,$CLKPRE.upSample2.b,upSample1.b,$CLKPRE.upSample1.b) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.6427, allocations: 123.3 kB / 0.5023 GB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000266/0.643, allocations: 122 kB / 0.5024 GB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.643, allocations: 7.875 kB / 0.5024 GB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.579e-05/0.6431, allocations: 16.12 kB / 0.5024 GB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.6431, allocations: 3.781 kB / 0.5025 GB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.6432, allocations: 0 / 0.5025 GB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.6432, allocations: 7.484 kB / 0.5025 GB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.6434, allocations: 169.7 kB / 0.5026 GB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.6434, allocations: 0 / 0.5026 GB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.6436, allocations: 41.28 kB / 0.5027 GB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.6436, allocations: 3.969 kB / 0.5027 GB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.6436, allocations: 0 / 0.5027 GB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.6437, allocations: 3.844 kB / 0.5027 GB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.6437, allocations: 3.938 kB / 0.5027 GB, free: 8.699 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.644, allocations: 258.6 kB / 0.5029 GB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.086e-05/0.6441, allocations: 104 kB / 0.503 GB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.6441, allocations: 2.766 kB / 0.503 GB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.6443, allocations: 3.844 kB / 0.503 GB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.6443, allocations: 3.844 kB / 0.503 GB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.6443, allocations: 6.391 kB / 0.503 GB, free: 8.398 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.077e-05/0.6444, allocations: 110.1 kB / 0.5031 GB, free: 8.324 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6444, allocations: 0 / 0.5031 GB, free: 8.324 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004181/0.6449, allocations: 11.69 kB / 0.5031 GB, free: 8.324 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006879/0.6456, allocations: 0.9762 MB / 0.5041 GB, free: 7.461 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002438/0.6458, allocations: 87.14 kB / 0.5042 GB, free: 7.445 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6459, allocations: 0 / 0.5042 GB, free: 7.445 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.533e-05/0.6459, allocations: 11.72 kB / 0.5042 GB, free: 7.441 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005086/0.6464, allocations: 66.69 kB / 0.5043 GB, free: 7.43 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007514/0.6472, allocations: 209.3 kB / 0.5045 GB, free: 7.285 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.6474, allocations: 0.7313 MB / 0.5052 GB, free: 6.578 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.737e-05/0.6475, allocations: 7.203 kB / 0.5052 GB, free: 6.578 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.034e-05/0.6476, allocations: 37.27 kB / 0.5052 GB, free: 6.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6476, allocations: 0 / 0.5052 GB, free: 6.57 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03772/0.6854, allocations: 2.078 MB / 0.5072 GB, free: 6.168 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/0.6857, allocations: 159 kB / 0.5074 GB, free: 5.977 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.537/3.222, allocations: 4 kB / 0.5074 GB, free: 5.973 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample1_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample1.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1_res.mat does not exist to compare? outputFormat=mat