Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.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.Sample3,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample3",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.001473/0.001477, allocations: 177.7 kB / 8.045 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.261/2.261, allocations: 205.3 MB / 213.8 MB, free: 13.75 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.001175/0.001175, allocations: 94.88 kB / 261.8 MB, free: 13.44 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.1093/0.1093, allocations: 12.59 MB / 322.3 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.171e-05/2.162e-05, allocations: 0 / 379 MB, free: 75.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1021, allocations: 50.38 MB / 429.4 MB, free: 24.83 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4576/0.5597, allocations: 77.45 MB / 0.495 GB, free: 11.72 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/0.5601, allocations: 75.11 kB / 0.4951 GB, free: 11.72 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0065/0.5666, allocations: 1.37 MB / 0.4964 GB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5667, allocations: 0 / 0.4964 GB, free: 11.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.5667, allocations: 3.875 kB / 0.4964 GB, free: 11.34 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003923/0.5671, allocations: 364 kB / 0.4967 GB, free: 10.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.5672, allocations: 11.72 kB / 0.4968 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.5672, allocations: 11.56 kB / 0.4968 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.5674, allocations: 193.5 kB / 0.497 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.5675, allocations: 6.672 kB / 0.497 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.5675, allocations: 7.859 kB / 0.497 GB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000135/0.5676, allocations: 31.31 kB / 0.497 GB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/0.568, allocations: 142.9 kB / 0.4971 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.568, allocations: 0 / 0.4971 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.568, allocations: 0 / 0.4971 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.568, allocations: 0 / 0.4971 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005404/0.5686, allocations: 355.7 kB / 0.4975 GB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000347/0.569, allocations: 97.33 kB / 0.4976 GB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.221e-05/0.5691, allocations: 50.25 kB / 0.4976 GB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.5691, allocations: 7.828 kB / 0.4976 GB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.5692, allocations: 37.84 kB / 0.4977 GB, free: 10.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.766e-06/0.5692, allocations: 0 / 0.4977 GB, free: 10.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002734/0.5695, allocations: 83.97 kB / 0.4977 GB, free: 10.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.5695, allocations: 102.8 kB / 0.4978 GB, free: 10.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.5696, allocations: 124.5 kB / 0.498 GB, free: 9.938 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.5697, allocations: 29.64 kB / 0.498 GB, free: 9.902 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.5697, allocations: 87.92 kB / 0.4981 GB, free: 9.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.5697, allocations: 13.94 kB / 0.4981 GB, free: 9.812 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.5698, allocations: 3.844 kB / 0.4981 GB, free: 9.812 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.91e-05/0.5698, allocations: 318.3 kB / 0.4984 GB, free: 9.496 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.62e-05/0.5699, allocations: 7.594 kB / 0.4984 GB, free: 9.496 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.21e-05/0.5699, allocations: 67.23 kB / 0.4985 GB, free: 9.422 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.516e-05/0.57, allocations: 22.69 kB / 0.4985 GB, free: 9.414 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.57, allocations: 3.953 kB / 0.4985 GB, free: 9.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003865/0.5704, allocations: 84.05 kB / 0.4986 GB, free: 9.367 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.544e-05/0.5705, allocations: 4.031 kB / 0.4986 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.054e-05/0.5707, allocations: 3.844 kB / 0.4986 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.146e-05/0.5707, allocations: 7.75 kB / 0.4986 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005081/0.5713, allocations: 22.16 kB / 0.4986 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.381e-05/0.5714, allocations: 7.844 kB / 0.4986 GB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003303/0.5717, allocations: 6.469 kB / 0.4986 GB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.582e-05/0.5719, allocations: 3.812 kB / 0.4986 GB, free: 9.355 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0002282/0.5721, allocations: 104.9 kB / 0.4987 GB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008592/0.573, allocations: 83.94 kB / 0.4988 GB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.5731, allocations: 14.69 kB / 0.4988 GB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.017e-05/0.5732, allocations: 15.06 kB / 0.4988 GB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.5733, allocations: 7.875 kB / 0.4988 GB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.5733, allocations: 0 / 0.4988 GB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.5733, allocations: 0 / 0.4988 GB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003932/0.5737, allocations: 166.8 kB / 0.499 GB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.5737, allocations: 3.938 kB / 0.499 GB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.5739, allocations: 18.17 kB / 0.499 GB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.574, allocations: 3.812 kB / 0.499 GB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.574, allocations: 3.141 kB / 0.499 GB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.574, allocations: 0 / 0.499 GB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.574, allocations: 3.906 kB / 0.499 GB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005279/0.5746, allocations: 317 kB / 0.4993 GB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.5748, allocations: 101.7 kB / 0.4994 GB, free: 8.652 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/0.5748, allocations: 4 kB / 0.4994 GB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003121/0.5751, allocations: 3.781 kB / 0.4994 GB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.5752, allocations: 2.531 kB / 0.4994 GB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.5753, allocations: 3.875 kB / 0.4994 GB, free: 8.648 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001259/0.5754, allocations: 104.4 kB / 0.4995 GB, free: 8.574 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.5754, allocations: 0 / 0.4995 GB, free: 8.574 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008299/0.5763, allocations: 7.688 kB / 0.4995 GB, free: 8.574 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0008437/0.5771, allocations: 0.9947 MB / 0.5005 GB, free: 7.633 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002305/0.5774, allocations: 45.47 kB / 0.5006 GB, free: 7.625 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.371e-06/0.5774, allocations: 3.938 kB / 0.5006 GB, free: 7.621 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.847e-05/0.5775, allocations: 11.59 kB / 0.5006 GB, free: 7.617 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007231/0.5782, allocations: 28.44 kB / 0.5006 GB, free: 7.617 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.5793, allocations: 153.1 kB / 0.5007 GB, free: 7.484 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.5796, allocations: 0.7276 MB / 0.5015 GB, free: 6.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.582e-05/0.5797, allocations: 7.016 kB / 0.5015 GB, free: 6.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.518e-05/0.5798, allocations: 22.22 kB / 0.5015 GB, free: 6.762 MB / 330.7 MB Notification: Performance of SimCode: time 1.483e-06/0.5798, allocations: 0 / 0.5015 GB, free: 6.762 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03748/0.6173, allocations: 1.257 MB / 0.5027 GB, free: 6.668 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002894/0.6177, allocations: 160.6 kB / 0.5029 GB, free: 6.477 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.343/2.961, allocations: 0 / 0.5029 GB, free: 6.477 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3_res.mat does not exist to compare? outputFormat=mat