Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.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.BackSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_BackSample",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.001662/0.001662, allocations: 176.8 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.617/1.617, allocations: 205.4 MB / 222 MB, free: 13.84 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.0007759/0.0007761, allocations: 90.38 kB / 270.3 MB, free: 13.38 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.07672/0.07672, allocations: 12.59 MB / 331.2 MB, free: 10.32 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004378/0.0004378, allocations: 12.81 kB / 392.1 MB, free: 54.73 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.117, allocations: 50.38 MB / 442.5 MB, free: 10.83 MB / 282.8 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample): time 0.002343/0.1194, allocations: 1.306 MB / 443.8 MB, free: 9.512 MB / 282.8 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.1206, allocations: 0.5233 MB / 444.3 MB, free: 8.98 MB / 282.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.1208, allocations: 4 kB / 444.3 MB, free: 8.977 MB / 282.8 MB Notification: Performance of NFTyping.typeComponents: time 3.767e-05/0.1208, allocations: 3.938 kB / 444.3 MB, free: 8.973 MB / 282.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.121, allocations: 7.922 kB / 444.3 MB, free: 8.965 MB / 282.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.1214, allocations: 43.91 kB / 444.4 MB, free: 8.922 MB / 282.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.1215, allocations: 59.77 kB / 444.5 MB, free: 8.863 MB / 282.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1216, allocations: 15.98 kB / 444.5 MB, free: 8.848 MB / 282.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.742e-05/0.1217, allocations: 19.88 kB / 444.5 MB, free: 8.828 MB / 282.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.127e-05/0.1218, allocations: 23.86 kB / 444.5 MB, free: 8.805 MB / 282.8 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.1218, allocations: 0 / 444.5 MB, free: 8.805 MB / 282.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.689e-05/0.1219, allocations: 0 / 444.5 MB, free: 8.805 MB / 282.8 MB Notification: Performance of NFScalarize.scalarize: time 4.208e-05/0.1219, allocations: 19.91 kB / 444.5 MB, free: 8.785 MB / 282.8 MB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.122, allocations: 37.64 kB / 444.6 MB, free: 8.742 MB / 282.8 MB Notification: Performance of NFConvertDAE.convert: time 9.308e-05/0.1221, allocations: 46.69 kB / 444.6 MB, free: 8.699 MB / 282.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1221, allocations: 4 kB / 444.6 MB, free: 8.695 MB / 282.8 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1221, allocations: 3.938 kB / 444.6 MB, free: 8.691 MB / 282.8 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1221, allocations: 0 / 444.6 MB, free: 8.691 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005168/0.1226, allocations: 367.9 kB / 445 MB, free: 8.285 MB / 282.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.1227, allocations: 12.03 kB / 445 MB, free: 8.273 MB / 282.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.232e-05/0.1228, allocations: 34.56 kB / 445 MB, free: 8.23 MB / 282.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.1228, allocations: 11.81 kB / 445 MB, free: 8.219 MB / 282.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.1231, allocations: 214.7 kB / 445.2 MB, free: 7.969 MB / 282.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1231, allocations: 0 / 445.2 MB, free: 7.969 MB / 282.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.1231, allocations: 8 kB / 445.3 MB, free: 7.961 MB / 282.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/0.1235, allocations: 138.7 kB / 445.4 MB, free: 7.801 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1236, allocations: 4 kB / 445.4 MB, free: 7.797 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1236, allocations: 0 / 445.4 MB, free: 7.797 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.1236, allocations: 4 kB / 445.4 MB, free: 7.793 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.1238, allocations: 31.91 kB / 445.4 MB, free: 7.762 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.1241, allocations: 287.4 kB / 445.7 MB, free: 7.422 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.1243, allocations: 94.42 kB / 445.8 MB, free: 7.293 MB / 282.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.1245, allocations: 51.48 kB / 445.9 MB, free: 7.23 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.1245, allocations: 3.984 kB / 445.9 MB, free: 7.227 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.1246, allocations: 38.5 kB / 445.9 MB, free: 7.18 MB / 282.8 MB Notification: Performance of pre-optimization done (n=6): time 1.914e-06/0.1246, allocations: 0 / 445.9 MB, free: 7.18 MB / 282.8 MB Notification: Performance of matching and sorting (n=6): time 0.0004097/0.125, allocations: 109.4 kB / 446 MB, free: 7.066 MB / 282.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.1251, allocations: 136.5 kB / 446.1 MB, free: 6.902 MB / 282.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.1252, allocations: 150.8 kB / 446.3 MB, free: 6.742 MB / 282.8 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.1252, allocations: 29.7 kB / 446.3 MB, free: 6.707 MB / 282.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.1253, allocations: 96.31 kB / 446.4 MB, free: 6.609 MB / 282.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.1253, allocations: 0 / 446.4 MB, free: 6.609 MB / 282.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/0.1253, allocations: 0 / 446.4 MB, free: 6.609 MB / 282.8 MB Notification: Performance of setup shared object (initialization): time 5.838e-05/0.1254, allocations: 326.8 kB / 446.7 MB, free: 6.281 MB / 282.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.99e-05/0.1255, allocations: 12 kB / 446.7 MB, free: 6.27 MB / 282.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.567e-05/0.1255, allocations: 53.14 kB / 446.8 MB, free: 6.199 MB / 282.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.185e-05/0.1256, allocations: 23.92 kB / 446.8 MB, free: 6.176 MB / 282.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1256, allocations: 0 / 446.8 MB, free: 6.176 MB / 282.8 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002058/0.1259, allocations: 89.45 kB / 446.9 MB, free: 6.082 MB / 282.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.1259, allocations: 8 kB / 446.9 MB, free: 6.074 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1259, allocations: 0 / 446.9 MB, free: 6.074 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1259, allocations: 4.125 kB / 446.9 MB, free: 6.07 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.1261, allocations: 19.94 kB / 446.9 MB, free: 6.051 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.1261, allocations: 8.109 kB / 446.9 MB, free: 6.043 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.71e-05/0.1262, allocations: 11.94 kB / 446.9 MB, free: 6.031 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.1262, allocations: 4 kB / 447 MB, free: 6.027 MB / 282.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.478e-05/0.1263, allocations: 129.5 kB / 447.1 MB, free: 5.891 MB / 282.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.1264, allocations: 61.53 kB / 447.1 MB, free: 5.824 MB / 282.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.253e-05/0.1265, allocations: 19.81 kB / 447.2 MB, free: 5.805 MB / 282.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1265, allocations: 4 kB / 447.2 MB, free: 5.801 MB / 282.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1265, allocations: 0 / 447.2 MB, free: 5.801 MB / 282.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1265, allocations: 4.094 kB / 447.2 MB, free: 5.797 MB / 282.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.1268, allocations: 189.5 kB / 447.3 MB, free: 5.562 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1268, allocations: 0 / 447.3 MB, free: 5.562 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.366e-05/0.1269, allocations: 12 kB / 447.4 MB, free: 5.551 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1269, allocations: 3.984 kB / 447.4 MB, free: 5.547 MB / 282.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.1269, allocations: 4 kB / 447.4 MB, free: 5.543 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1269, allocations: 0 / 447.4 MB, free: 5.543 MB / 282.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1269, allocations: 0 / 447.4 MB, free: 5.543 MB / 282.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.1272, allocations: 205.9 kB / 447.6 MB, free: 5.316 MB / 282.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.988e-05/0.1272, allocations: 93 kB / 447.7 MB, free: 5.207 MB / 282.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.1273, allocations: 4 kB / 447.7 MB, free: 5.203 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.1274, allocations: 4 kB / 447.7 MB, free: 5.199 MB / 282.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.1274, allocations: 7.984 kB / 447.7 MB, free: 5.191 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.1274, allocations: 4 kB / 447.7 MB, free: 5.188 MB / 282.8 MB Notification: Performance of sorting global known variables: time 7.646e-05/0.1275, allocations: 119.1 kB / 447.8 MB, free: 5.07 MB / 282.8 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1275, allocations: 0 / 447.8 MB, free: 5.07 MB / 282.8 MB Notification: Performance of remove unused functions: time 0.0003886/0.1279, allocations: 4 kB / 447.8 MB, free: 5.066 MB / 282.8 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0004238/0.1284, allocations: 0.7343 MB / 448.5 MB, free: 4.297 MB / 282.8 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.1286, allocations: 52.22 kB / 448.6 MB, free: 4.246 MB / 282.8 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1286, allocations: 0 / 448.6 MB, free: 4.246 MB / 282.8 MB Notification: Performance of simCode: created simulation system equations: time 5.201e-05/0.1287, allocations: 8 kB / 448.6 MB, free: 4.238 MB / 282.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006074/0.1293, allocations: 47.72 kB / 448.6 MB, free: 4.195 MB / 282.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.1304, allocations: 0.6099 MB / 449.2 MB, free: 3.516 MB / 282.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.1305, allocations: 0.6965 MB / 449.9 MB, free: 2.793 MB / 282.8 MB Notification: Performance of simCode: alias equations: time 5.879e-05/0.1306, allocations: 20.72 kB / 450 MB, free: 2.773 MB / 282.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.035e-05/0.1306, allocations: 23.42 kB / 450 MB, free: 2.75 MB / 282.8 MB Notification: Performance of SimCode: time 2.71e-07/0.1306, allocations: 0 / 450 MB, free: 2.75 MB / 282.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01299/0.1436, allocations: 1.755 MB / 451.7 MB, free: 1.008 MB / 282.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/0.1438, allocations: 222 kB / 452 MB, free: 0.7539 MB / 282.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/1.82, allocations: 0 / 452 MB, free: 0.7539 MB / 282.8 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample_res.mat does not exist to compare? outputFormat=mat