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.001058/0.001058, allocations: 170.4 kB / 15.81 MB, free: 6.285 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.59/1.59, allocations: 205.4 MB / 222 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.0008023/0.0008023, allocations: 94.28 kB / 270.3 MB, free: 13.36 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.08324/0.08324, allocations: 12.59 MB / 331.1 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005207/0.0005208, allocations: 17.08 kB / 392.1 MB, free: 54.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1042, allocations: 50.39 MB / 442.5 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3): time 0.002083/0.1063, allocations: 1.367 MB / 443.9 MB, free: 9.449 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004653/0.1068, allocations: 163.5 kB / 444 MB, free: 9.289 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.107, allocations: 0 / 444 MB, free: 9.289 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.364e-05/0.107, allocations: 11.92 kB / 444 MB, free: 9.277 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.1072, allocations: 8 kB / 444.1 MB, free: 9.27 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.1075, allocations: 41.64 kB / 444.1 MB, free: 9.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.1076, allocations: 51.84 kB / 444.1 MB, free: 9.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1078, allocations: 19.97 kB / 444.2 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.343e-05/0.1078, allocations: 19.88 kB / 444.2 MB, free: 9.141 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.1079, allocations: 19.86 kB / 444.2 MB, free: 9.121 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.1079, allocations: 4 kB / 444.2 MB, free: 9.117 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.4e-05/0.1079, allocations: 0 / 444.2 MB, free: 9.117 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.926e-05/0.108, allocations: 12 kB / 444.2 MB, free: 9.105 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.108, allocations: 33.64 kB / 444.3 MB, free: 9.066 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.376e-05/0.1081, allocations: 44.47 kB / 444.3 MB, free: 9.023 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.497e-06/0.1081, allocations: 3.938 kB / 444.3 MB, free: 9.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1081, allocations: 0 / 444.3 MB, free: 9.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1081, allocations: 4 kB / 444.3 MB, free: 9.016 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004403/0.1086, allocations: 383.3 kB / 444.7 MB, free: 8.594 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.1086, allocations: 8.031 kB / 444.7 MB, free: 8.586 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.762e-05/0.1087, allocations: 42.44 kB / 444.7 MB, free: 8.535 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.1087, allocations: 11.91 kB / 444.7 MB, free: 8.523 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.1089, allocations: 194.8 kB / 444.9 MB, free: 8.293 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.1089, allocations: 4 kB / 444.9 MB, free: 8.289 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.1089, allocations: 8 kB / 444.9 MB, free: 8.281 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003495/0.1093, allocations: 165.7 kB / 445.1 MB, free: 8.098 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.1093, allocations: 4 kB / 445.1 MB, free: 8.094 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.1093, allocations: 0 / 445.1 MB, free: 8.094 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.1093, allocations: 3.984 kB / 445.1 MB, free: 8.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.1095, allocations: 43.92 kB / 445.2 MB, free: 8.047 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000349/0.1098, allocations: 369.8 kB / 445.5 MB, free: 7.629 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.11, allocations: 119.9 kB / 445.6 MB, free: 7.484 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.57e-05/0.1101, allocations: 58.5 kB / 445.7 MB, free: 7.418 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.1102, allocations: 0 / 445.7 MB, free: 7.418 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.1102, allocations: 42.55 kB / 445.7 MB, free: 7.367 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.1102, allocations: 0 / 445.7 MB, free: 7.367 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003048/0.1105, allocations: 121.7 kB / 445.8 MB, free: 7.242 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.1106, allocations: 118.7 kB / 446 MB, free: 7.102 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.823e-05/0.1107, allocations: 140.9 kB / 446.1 MB, free: 6.953 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.1107, allocations: 25.7 kB / 446.1 MB, free: 6.922 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.1107, allocations: 92.05 kB / 446.2 MB, free: 6.828 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.494e-05/0.1108, allocations: 11.89 kB / 446.2 MB, free: 6.816 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-06/0.1108, allocations: 4 kB / 446.2 MB, free: 6.812 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.335e-05/0.1108, allocations: 314.8 kB / 446.5 MB, free: 6.496 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.73e-05/0.1109, allocations: 19.98 kB / 446.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.969e-05/0.1109, allocations: 71.72 kB / 446.6 MB, free: 6.379 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.668e-05/0.111, allocations: 31.92 kB / 446.7 MB, free: 6.348 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.111, allocations: 4 kB / 446.7 MB, free: 6.344 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001659/0.1112, allocations: 109.7 kB / 446.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1112, allocations: 4 kB / 446.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1112, allocations: 4 kB / 446.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1112, allocations: 4 kB / 446.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.389e-05/0.1113, allocations: 19.98 kB / 446.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.1113, allocations: 7.938 kB / 446.8 MB, free: 6.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.214e-05/0.1114, allocations: 11.89 kB / 446.8 MB, free: 6.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.1114, allocations: 8.188 kB / 446.8 MB, free: 6.172 MB / 282.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 () * Number of clocked 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 7.251e-05/0.1115, allocations: 133.5 kB / 447 MB, free: 6.031 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.1116, allocations: 77.78 kB / 447 MB, free: 5.949 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.979e-05/0.1116, allocations: 16.72 kB / 447.1 MB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1116, allocations: 4 kB / 447.1 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1117, allocations: 0 / 447.1 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1117, allocations: 3.984 kB / 447.1 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.1118, allocations: 177.6 kB / 447.2 MB, free: 5.699 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1119, allocations: 4 kB / 447.2 MB, free: 5.695 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.153e-05/0.1119, allocations: 23.98 kB / 447.3 MB, free: 5.672 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1119, allocations: 0 / 447.3 MB, free: 5.672 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.112, allocations: 4 kB / 447.3 MB, free: 5.668 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.112, allocations: 7.938 kB / 447.3 MB, free: 5.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.112, allocations: 80 / 447.3 MB, free: 5.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.1123, allocations: 324.2 kB / 447.6 MB, free: 5.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.1123, allocations: 100.8 kB / 447.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.1123, allocations: 11.94 kB / 447.7 MB, free: 5.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.331e-05/0.1124, allocations: 4 kB / 447.7 MB, free: 5.188 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.1125, allocations: 4 kB / 447.7 MB, free: 5.184 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.1125, allocations: 0 / 447.7 MB, free: 5.184 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.764e-05/0.1126, allocations: 107.2 kB / 447.8 MB, free: 5.078 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1126, allocations: 0 / 447.8 MB, free: 5.078 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002577/0.1128, allocations: 16 kB / 447.8 MB, free: 5.062 MB / 282.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 () * Number of clocked 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.0004068/0.1132, allocations: 0.846 MB / 448.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001639/0.1134, allocations: 63.86 kB / 448.7 MB, free: 4.117 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1134, allocations: 0 / 448.7 MB, free: 4.117 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.708e-05/0.1135, allocations: 12.61 kB / 448.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004881/0.114, allocations: 59.89 kB / 448.8 MB, free: 4.051 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008962/0.1149, allocations: 0.6028 MB / 449.4 MB, free: 3.371 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.1151, allocations: 0.7005 MB / 450.1 MB, free: 2.645 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.034e-05/0.1151, allocations: 8.656 kB / 450.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.1152, allocations: 19.44 kB / 450.1 MB, free: 2.617 MB / 282.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1152, allocations: 4 kB / 450.1 MB, free: 2.613 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01187/0.127, allocations: 1.608 MB / 451.7 MB, free: 1.016 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/0.1272, allocations: 198.6 kB / 451.9 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/1.858, allocations: 0 / 451.9 MB, free: 0.7812 MB / 282.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