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.0009504/0.0009504, allocations: 170.8 kB / 16.14 MB, free: 5.656 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.464/1.464, allocations: 205.4 MB / 222.3 MB, free: 9.016 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.0007203/0.0007201, allocations: 90.36 kB / 270.7 MB, free: 8.242 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.0768/0.0768, allocations: 12.59 MB / 331.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003673, allocations: 20 kB / 392.8 MB, free: 65.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08877/0.08916, allocations: 50.37 MB / 443.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3): time 0.001843/0.09105, allocations: 1.388 MB / 444.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004548/0.09154, allocations: 159.5 kB / 444.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.0917, allocations: 0 / 444.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.656e-05/0.09176, allocations: 7.922 kB / 444.7 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.09193, allocations: 7.938 kB / 444.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.09224, allocations: 43.89 kB / 444.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.09235, allocations: 47.92 kB / 444.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.09248, allocations: 27.92 kB / 444.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.253e-05/0.09253, allocations: 23.91 kB / 444.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.968e-05/0.09259, allocations: 11.88 kB / 444.9 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.09263, allocations: 4 kB / 444.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.531e-05/0.09265, allocations: 4 kB / 444.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.893e-05/0.09273, allocations: 15.92 kB / 444.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.09285, allocations: 57.45 kB / 444.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.09298, allocations: 59.94 kB / 445 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.093, allocations: 0 / 445 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.09301, allocations: 0 / 445 MB, free: 13.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.09302, allocations: 0 / 445 MB, free: 13.45 MB / 298.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.0004789/0.09351, allocations: 379.2 kB / 445.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.09357, allocations: 19.97 kB / 445.4 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.953e-05/0.09362, allocations: 38.73 kB / 445.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.09366, allocations: 12.75 kB / 445.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.09385, allocations: 193 kB / 445.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.09387, allocations: 8.312 kB / 445.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.09389, allocations: 8.375 kB / 445.6 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003667/0.09427, allocations: 171.6 kB / 445.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.09429, allocations: 7.938 kB / 445.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.09431, allocations: 0 / 445.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.09432, allocations: 0 / 445.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.09444, allocations: 43.91 kB / 445.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/0.09485, allocations: 365.8 kB / 446.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.09511, allocations: 119.9 kB / 446.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.092e-05/0.09522, allocations: 58.56 kB / 446.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/0.09526, allocations: 3.984 kB / 446.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.09529, allocations: 42.56 kB / 446.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.09529, allocations: 0 / 446.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003205/0.09562, allocations: 125.6 kB / 446.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.09568, allocations: 114.8 kB / 446.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.503e-05/0.09578, allocations: 135.9 kB / 446.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.09581, allocations: 29.95 kB / 446.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.819e-05/0.09585, allocations: 96.05 kB / 446.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.09587, allocations: 7.984 kB / 446.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.09588, allocations: 4 kB / 446.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.997e-05/0.09596, allocations: 322.8 kB / 447.3 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.443e-05/0.09601, allocations: 16 kB / 447.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.403e-05/0.09607, allocations: 67.72 kB / 447.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.09618, allocations: 103.6 kB / 447.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.09619, allocations: 0 / 447.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001576/0.09635, allocations: 113.4 kB / 447.5 MB, free: 10.56 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.09638, allocations: 4 kB / 447.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.09639, allocations: 4 kB / 447.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.09641, allocations: 4 kB / 447.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.365e-05/0.09648, allocations: 23.92 kB / 447.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.09649, allocations: 288 / 447.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.311e-05/0.09656, allocations: 19.84 kB / 447.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.09657, allocations: 8 kB / 447.6 MB, free: 10.5 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.602e-05/0.09666, allocations: 130.6 kB / 447.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.09678, allocations: 69.59 kB / 447.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.58e-05/0.09684, allocations: 20.84 kB / 447.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.09685, allocations: 0 / 447.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.09686, allocations: 7.938 kB / 447.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.09687, allocations: 0 / 447.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.09706, allocations: 185.6 kB / 448 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.09707, allocations: 4 kB / 448 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.212e-05/0.09715, allocations: 23.92 kB / 448 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.09716, allocations: 0 / 448 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.09717, allocations: 4 kB / 448 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.09718, allocations: 4 kB / 448 MB, free: 9.996 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.09719, allocations: 7.984 kB / 448.1 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.09748, allocations: 312.3 kB / 448.4 MB, free: 9.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.09753, allocations: 100.9 kB / 448.5 MB, free: 9.543 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.09755, allocations: 7.938 kB / 448.5 MB, free: 9.535 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.216e-05/0.09765, allocations: 7.984 kB / 448.5 MB, free: 9.527 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-05/0.09768, allocations: 8 kB / 448.5 MB, free: 9.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.0977, allocations: 0 / 448.5 MB, free: 9.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.808e-05/0.09775, allocations: 109.7 kB / 448.6 MB, free: 9.414 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09775, allocations: 4 kB / 448.6 MB, free: 9.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000254/0.09801, allocations: 12 kB / 448.6 MB, free: 9.398 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004483/0.09847, allocations: 0.846 MB / 449.5 MB, free: 8.516 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.09864, allocations: 64.41 kB / 449.5 MB, free: 8.453 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.09865, allocations: 7.938 kB / 449.5 MB, free: 8.445 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.912e-05/0.09869, allocations: 11.98 kB / 449.5 MB, free: 8.434 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.09917, allocations: 40.34 kB / 449.6 MB, free: 8.395 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.1003, allocations: 1.621 MB / 451.2 MB, free: 6.637 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.1005, allocations: 0.7004 MB / 451.9 MB, free: 5.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.114e-05/0.1005, allocations: 8.656 kB / 451.9 MB, free: 5.898 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.941e-05/0.1006, allocations: 23.44 kB / 451.9 MB, free: 5.879 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1006, allocations: 0 / 451.9 MB, free: 5.879 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01127/0.1118, allocations: 1.624 MB / 453.6 MB, free: 4.246 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/0.112, allocations: 222.1 kB / 453.8 MB, free: 3.988 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/1.819, allocations: 0 / 453.8 MB, free: 3.988 MB / 298.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