Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample1",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.002512/0.002517, allocations: 187.4 kB / 15.82 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.417/2.417, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001207/0.001207, allocations: 82.88 kB / 270.3 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1081/0.1081, allocations: 12.6 MB / 331.1 MB, free: 10.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005726/0.0005727, allocations: 17.47 kB / 392.1 MB, free: 54.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1172, allocations: 50.37 MB / 442.5 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1): time 0.001974/0.1192, allocations: 1.268 MB / 443.7 MB, free: 9.527 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009418/0.1202, allocations: 485 kB / 444.2 MB, free: 9.047 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.564e-05/0.1203, allocations: 0 / 444.2 MB, free: 9.047 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.242e-05/0.1204, allocations: 3.938 kB / 444.2 MB, free: 9.043 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.1205, allocations: 4 kB / 444.2 MB, free: 9.039 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.1208, allocations: 53.06 kB / 444.3 MB, free: 8.988 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.53e-05/0.1209, allocations: 23.97 kB / 444.3 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.892e-05/0.1211, allocations: 12 kB / 444.3 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.574e-05/0.1211, allocations: 19.91 kB / 444.3 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.416e-05/0.1212, allocations: 19.86 kB / 444.4 MB, free: 8.914 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.1212, allocations: 0 / 444.4 MB, free: 8.914 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.405e-05/0.1213, allocations: 0 / 444.4 MB, free: 8.914 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.759e-05/0.1213, allocations: 8 kB / 444.4 MB, free: 8.906 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.225e-05/0.1214, allocations: 37.64 kB / 444.4 MB, free: 8.863 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.628e-05/0.1215, allocations: 31.94 kB / 444.4 MB, free: 8.832 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1215, allocations: 4 kB / 444.4 MB, free: 8.828 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1215, allocations: 3.938 kB / 444.4 MB, free: 8.824 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1215, allocations: 0 / 444.4 MB, free: 8.824 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004703/0.122, allocations: 371.8 kB / 444.8 MB, free: 8.414 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.122, allocations: 8.031 kB / 444.8 MB, free: 8.406 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.544e-05/0.1221, allocations: 30.56 kB / 444.8 MB, free: 8.367 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.155e-05/0.1221, allocations: 7.906 kB / 444.8 MB, free: 8.359 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.1223, allocations: 194.8 kB / 445 MB, free: 8.129 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1223, allocations: 4 kB / 445 MB, free: 8.125 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.1224, allocations: 8 kB / 445.1 MB, free: 8.117 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.1227, allocations: 113 kB / 445.2 MB, free: 7.988 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1227, allocations: 0 / 445.2 MB, free: 7.988 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1227, allocations: 4 kB / 445.2 MB, free: 7.984 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1227, allocations: 4 kB / 445.2 MB, free: 7.98 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.1229, allocations: 27.92 kB / 445.2 MB, free: 7.953 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.1232, allocations: 265.7 kB / 445.5 MB, free: 7.641 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.1235, allocations: 146.3 kB / 445.6 MB, free: 7.461 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.1235, allocations: 4 kB / 445.6 MB, free: 7.457 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.1235, allocations: 34.62 kB / 445.6 MB, free: 7.414 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.1235, allocations: 0 / 445.6 MB, free: 7.414 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003442/0.1239, allocations: 85.52 kB / 445.7 MB, free: 7.324 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.124, allocations: 81.11 kB / 445.8 MB, free: 7.227 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.1241, allocations: 140.7 kB / 445.9 MB, free: 7.082 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.1241, allocations: 29.7 kB / 446 MB, free: 7.047 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.1242, allocations: 80.14 kB / 446 MB, free: 6.965 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.1242, allocations: 11.91 kB / 446.1 MB, free: 6.953 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.1242, allocations: 4.125 kB / 446.1 MB, free: 6.949 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.703e-05/0.1243, allocations: 322.7 kB / 446.4 MB, free: 6.625 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.834e-05/0.1244, allocations: 12 kB / 446.4 MB, free: 6.613 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.453e-05/0.1245, allocations: 39.36 kB / 446.4 MB, free: 6.562 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.899e-05/0.1245, allocations: 19.98 kB / 446.4 MB, free: 6.543 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1246, allocations: 0 / 446.4 MB, free: 6.543 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002023/0.1248, allocations: 65.62 kB / 446.5 MB, free: 6.473 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1248, allocations: 8 kB / 446.5 MB, free: 6.465 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1248, allocations: 0 / 446.5 MB, free: 6.465 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.1248, allocations: 4.125 kB / 446.5 MB, free: 6.461 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.125, allocations: 15.92 kB / 446.5 MB, free: 6.445 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.125, allocations: 4 kB / 446.5 MB, free: 6.441 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.83e-05/0.1251, allocations: 7.906 kB / 446.5 MB, free: 6.434 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.1251, allocations: 0 / 446.5 MB, free: 6.434 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.619e-05/0.1252, allocations: 125.6 kB / 446.7 MB, free: 6.301 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.263e-05/0.1253, allocations: 49.95 kB / 446.7 MB, free: 6.246 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.849e-05/0.1253, allocations: 12.25 kB / 446.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1253, allocations: 4 kB / 446.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1254, allocations: 4 kB / 446.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.1254, allocations: 0 / 446.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.1256, allocations: 173.5 kB / 446.9 MB, free: 6.004 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1256, allocations: 0 / 446.9 MB, free: 6.004 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.069e-05/0.1257, allocations: 15.92 kB / 446.9 MB, free: 5.988 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1257, allocations: 4 kB / 446.9 MB, free: 5.984 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1257, allocations: 0 / 446.9 MB, free: 5.984 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.1257, allocations: 0 / 446.9 MB, free: 5.984 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1257, allocations: 0 / 446.9 MB, free: 5.984 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.126, allocations: 194 kB / 447.1 MB, free: 5.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.126, allocations: 85.09 kB / 447.2 MB, free: 5.668 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.1261, allocations: 4 kB / 447.2 MB, free: 5.664 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.1262, allocations: 7.984 kB / 447.2 MB, free: 5.656 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.1262, allocations: 8 kB / 447.2 MB, free: 5.648 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.1263, allocations: 3.938 kB / 447.2 MB, free: 5.645 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.684e-05/0.1263, allocations: 107.2 kB / 447.3 MB, free: 5.539 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1264, allocations: 3.938 kB / 447.3 MB, free: 5.535 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003149/0.1267, allocations: 4 kB / 447.3 MB, free: 5.531 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004676/0.1272, allocations: 0.7837 MB / 448.1 MB, free: 4.715 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.1274, allocations: 39.86 kB / 448.2 MB, free: 4.676 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1274, allocations: 256 / 448.2 MB, free: 4.676 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.454e-05/0.1275, allocations: 15.98 kB / 448.2 MB, free: 4.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.1278, allocations: 31.72 kB / 448.2 MB, free: 4.633 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.1289, allocations: 0.968 MB / 449.2 MB, free: 3.602 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.1291, allocations: 0.6887 MB / 449.9 MB, free: 2.887 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.604e-05/0.1292, allocations: 7.984 kB / 449.9 MB, free: 2.879 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.735e-05/0.1292, allocations: 11.44 kB / 449.9 MB, free: 2.867 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1292, allocations: 0 / 449.9 MB, free: 2.867 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02255/0.1518, allocations: 1.318 MB / 451.2 MB, free: 1.559 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002572/0.1521, allocations: 196.5 kB / 451.4 MB, free: 1.32 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.507/2.659, allocations: 0 / 451.4 MB, free: 1.32 MB / 282.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1_res.mat does not exist to compare? outputFormat=mat