Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.HoldWithDAeffects2,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects2",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.000988/0.0009945, allocations: 176.7 kB / 15.82 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.4 MB / 222 MB, free: 13.75 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008902/0.0008905, allocations: 90.3 kB / 270.3 MB, free: 13.3 MB / 234.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07026/0.07026, allocations: 12.59 MB / 331.2 MB, free: 10.29 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.000451/0.000451, allocations: 13.97 kB / 392.1 MB, free: 54.75 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1096, allocations: 50.38 MB / 442.5 MB, free: 10.83 MB / 282.8 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.001893/0.1115, allocations: 1.517 MB / 444 MB, free: 9.297 MB / 282.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008359/0.1124, allocations: 0.6326 MB / 444.7 MB, free: 8.66 MB / 282.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.1125, allocations: 7.938 kB / 444.7 MB, free: 8.652 MB / 282.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.1126, allocations: 11.86 kB / 444.7 MB, free: 8.641 MB / 282.8 MB Notification: Performance of NFTyping.typeBindings: time 9.889e-05/0.1127, allocations: 15.86 kB / 444.7 MB, free: 8.625 MB / 282.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.113, allocations: 79.84 kB / 444.8 MB, free: 8.547 MB / 282.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.1132, allocations: 123.6 kB / 444.9 MB, free: 8.426 MB / 282.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.1133, allocations: 51.7 kB / 444.9 MB, free: 8.375 MB / 282.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.23e-05/0.1134, allocations: 35.8 kB / 445 MB, free: 8.34 MB / 282.8 MB Notification: Performance of NFSimplifyModel.simplify: time 9.088e-05/0.1135, allocations: 35.73 kB / 445 MB, free: 8.305 MB / 282.8 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.1136, allocations: 4 kB / 445 MB, free: 8.301 MB / 282.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.901e-05/0.1136, allocations: 0 / 445 MB, free: 8.301 MB / 282.8 MB Notification: Performance of NFScalarize.scalarize: time 4.82e-05/0.1137, allocations: 23.91 kB / 445 MB, free: 8.277 MB / 282.8 MB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.1137, allocations: 49.58 kB / 445.1 MB, free: 8.223 MB / 282.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.1138, allocations: 92.59 kB / 445.2 MB, free: 8.133 MB / 282.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1138, allocations: 4 kB / 445.2 MB, free: 8.129 MB / 282.8 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1139, allocations: 4 kB / 445.2 MB, free: 8.125 MB / 282.8 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1139, allocations: 0 / 445.2 MB, free: 8.125 MB / 282.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006296/0.1145, allocations: 426.8 kB / 445.6 MB, free: 7.66 MB / 282.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.856e-05/0.1146, allocations: 12.03 kB / 445.6 MB, free: 7.648 MB / 282.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.655e-05/0.1146, allocations: 38.56 kB / 445.7 MB, free: 7.602 MB / 282.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.829e-05/0.1147, allocations: 19.81 kB / 445.7 MB, free: 7.582 MB / 282.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.115, allocations: 231.7 kB / 445.9 MB, free: 7.316 MB / 282.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.115, allocations: 12.17 kB / 445.9 MB, free: 7.305 MB / 282.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.1151, allocations: 12 kB / 445.9 MB, free: 7.293 MB / 282.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006141/0.1157, allocations: 299.9 kB / 446.2 MB, free: 6.969 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.1157, allocations: 0 / 446.2 MB, free: 6.969 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.1157, allocations: 8 kB / 446.2 MB, free: 6.961 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.1158, allocations: 7.953 kB / 446.2 MB, free: 6.953 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.116, allocations: 87.83 kB / 446.3 MB, free: 6.867 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.1164, allocations: 423.4 kB / 446.7 MB, free: 6.391 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004352/0.1169, allocations: 310.1 kB / 447 MB, free: 6.023 MB / 282.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.1171, allocations: 120.2 kB / 447.2 MB, free: 5.891 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.1171, allocations: 7.969 kB / 447.2 MB, free: 5.883 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.1171, allocations: 46.52 kB / 447.2 MB, free: 5.828 MB / 282.8 MB Notification: Performance of pre-optimization done (n=18): time 1.303e-06/0.1172, allocations: 0 / 447.2 MB, free: 5.828 MB / 282.8 MB Notification: Performance of matching and sorting (n=18): time 0.0005136/0.1177, allocations: 237.3 kB / 447.4 MB, free: 5.59 MB / 282.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/0.1178, allocations: 199.8 kB / 447.6 MB, free: 5.352 MB / 282.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.1179, allocations: 183.2 kB / 447.8 MB, free: 5.164 MB / 282.8 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.1179, allocations: 33.7 kB / 447.8 MB, free: 5.125 MB / 282.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.118, allocations: 100.5 kB / 447.9 MB, free: 5.02 MB / 282.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.118, allocations: 15.84 kB / 448 MB, free: 5.004 MB / 282.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.141e-06/0.118, allocations: 4 kB / 448 MB, free: 5 MB / 282.8 MB Notification: Performance of setup shared object (initialization): time 5.921e-05/0.1181, allocations: 326.8 kB / 448.3 MB, free: 4.672 MB / 282.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.239e-05/0.1181, allocations: 27.98 kB / 448.3 MB, free: 4.645 MB / 282.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.1182, allocations: 143.4 kB / 448.4 MB, free: 4.449 MB / 282.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.993e-05/0.1183, allocations: 51.97 kB / 448.5 MB, free: 4.398 MB / 282.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1184, allocations: 0 / 448.5 MB, free: 4.398 MB / 282.8 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002251/0.1186, allocations: 181.3 kB / 448.7 MB, free: 4.215 MB / 282.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1186, allocations: 8 kB / 448.7 MB, free: 4.207 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1186, allocations: 4 kB / 448.7 MB, free: 4.203 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1186, allocations: 4 kB / 448.7 MB, free: 4.199 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.1188, allocations: 43.91 kB / 448.7 MB, free: 4.156 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.1188, allocations: 11.94 kB / 448.7 MB, free: 4.145 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.339e-05/0.1189, allocations: 16.22 kB / 448.8 MB, free: 4.129 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.1189, allocations: 12 kB / 448.8 MB, free: 4.117 MB / 282.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001012/0.119, allocations: 145.5 kB / 448.9 MB, free: 3.965 MB / 282.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/0.1193, allocations: 153.7 kB / 449.1 MB, free: 3.809 MB / 282.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.645e-05/0.1193, allocations: 29.39 kB / 449.1 MB, free: 3.781 MB / 282.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1193, allocations: 0 / 449.1 MB, free: 3.781 MB / 282.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.1193, allocations: 8.031 kB / 449.1 MB, free: 3.773 MB / 282.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1193, allocations: 0 / 449.1 MB, free: 3.773 MB / 282.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.1196, allocations: 213.6 kB / 449.3 MB, free: 3.516 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1196, allocations: 0 / 449.3 MB, free: 3.516 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.1197, allocations: 35.98 kB / 449.3 MB, free: 3.48 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1197, allocations: 7.953 kB / 449.4 MB, free: 3.473 MB / 282.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.1197, allocations: 7.984 kB / 449.4 MB, free: 3.465 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1197, allocations: 7.938 kB / 449.4 MB, free: 3.457 MB / 282.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1197, allocations: 0 / 449.4 MB, free: 3.457 MB / 282.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.1201, allocations: 372 kB / 449.7 MB, free: 3.07 MB / 282.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.213e-05/0.1201, allocations: 112.8 kB / 449.8 MB, free: 2.941 MB / 282.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.1202, allocations: 11.89 kB / 449.9 MB, free: 2.93 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.1203, allocations: 15.98 kB / 449.9 MB, free: 2.914 MB / 282.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.1204, allocations: 7.938 kB / 449.9 MB, free: 2.906 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.1204, allocations: 4 kB / 449.9 MB, free: 2.902 MB / 282.8 MB Notification: Performance of sorting global known variables: time 7.117e-05/0.1205, allocations: 141.1 kB / 450 MB, free: 2.766 MB / 282.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1205, allocations: 0 / 450 MB, free: 2.766 MB / 282.8 MB Notification: Performance of remove unused functions: time 0.0002757/0.1207, allocations: 24 kB / 450 MB, free: 2.742 MB / 282.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0006335/0.1214, allocations: 0.9717 MB / 451 MB, free: 1.734 MB / 282.8 MB Notification: Performance of simCode: created initialization part: time 0.000266/0.1217, allocations: 128.5 kB / 451.1 MB, free: 1.609 MB / 282.8 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.1217, allocations: 4.188 kB / 451.1 MB, free: 1.605 MB / 282.8 MB Notification: Performance of simCode: created simulation system equations: time 4.229e-05/0.1217, allocations: 15.98 kB / 451.2 MB, free: 1.59 MB / 282.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006046/0.1223, allocations: 116 kB / 451.3 MB, free: 1.48 MB / 282.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.1235, allocations: 0.9562 MB / 452.2 MB, free: 428 kB / 282.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.1238, allocations: 0.7319 MB / 453 MB, free: 15.66 MB / 298.8 MB Notification: Performance of simCode: alias equations: time 5.954e-05/0.1238, allocations: 17.55 kB / 453 MB, free: 15.64 MB / 298.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.077e-05/0.1239, allocations: 39.42 kB / 453 MB, free: 15.6 MB / 298.8 MB Notification: Performance of SimCode: time 2.1e-07/0.1239, allocations: 0 / 453 MB, free: 15.6 MB / 298.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01454/0.1385, allocations: 3.085 MB / 456.1 MB, free: 12.52 MB / 298.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/0.1387, allocations: 219.4 kB / 456.3 MB, free: 12.28 MB / 298.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/1.825, allocations: 3.938 kB / 456.3 MB, free: 12.28 MB / 298.8 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects2_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat does not exist to compare? outputFormat=mat