Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir",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.001148/0.001148, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008956/0.0008958, allocations: 90.28 kB / 261.7 MB, free: 1.695 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2429/0.2429, allocations: 43.49 MB / 353.2 MB, free: 304 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.793e-05/1.796e-05, allocations: 0 / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1335, allocations: 58.84 MB / 477.2 MB, free: 1.578 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9912/1.125, allocations: 376.8 MB / 0.8339 GB, free: 57.49 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/1.125, allocations: 71.56 kB / 0.834 GB, free: 57.45 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04661/1.172, allocations: 21.09 MB / 0.8546 GB, free: 40.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.533e-06/1.172, allocations: 4 kB / 0.8546 GB, free: 40.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.362e-05/1.172, allocations: 4 kB / 0.8546 GB, free: 40.25 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0008921/1.173, allocations: 0.5557 MB / 0.8552 GB, free: 39.67 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/1.173, allocations: 8.031 kB / 0.8552 GB, free: 39.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/1.173, allocations: 31.75 kB / 0.8552 GB, free: 39.63 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/1.173, allocations: 229.2 kB / 0.8554 GB, free: 39.38 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/1.173, allocations: 119.4 kB / 0.8555 GB, free: 39.24 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/1.173, allocations: 16 kB / 0.8555 GB, free: 39.22 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006231/1.174, allocations: 0.7129 MB / 0.8562 GB, free: 38.62 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/1.174, allocations: 277.7 kB / 0.8565 GB, free: 38.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/1.174, allocations: 4 kB / 0.8565 GB, free: 38.39 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/1.174, allocations: 0 / 0.8565 GB, free: 38.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/1.174, allocations: 12 kB / 0.8565 GB, free: 38.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002067/1.176, allocations: 3.197 MB / 0.8596 GB, free: 34.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.414e-05/1.177, allocations: 53.14 kB / 0.8597 GB, free: 34.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.469e-05/1.177, allocations: 28.31 kB / 0.8597 GB, free: 34.72 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004943/1.177, allocations: 0.5238 MB / 0.8602 GB, free: 34.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/1.177, allocations: 42.08 kB / 0.8603 GB, free: 34.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/1.177, allocations: 0 / 0.8603 GB, free: 34.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0004972/1.178, allocations: 144.5 kB / 0.8604 GB, free: 33.97 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.971e-05/1.178, allocations: 55.41 kB / 0.8605 GB, free: 33.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/1.178, allocations: 199.4 kB / 0.8607 GB, free: 33.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/1.178, allocations: 29.7 kB / 0.8607 GB, free: 33.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.57e-05/1.178, allocations: 224.3 kB / 0.8609 GB, free: 33.49 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/1.178, allocations: 42.48 kB / 0.8609 GB, free: 33.45 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.378e-06/1.178, allocations: 0 / 0.8609 GB, free: 33.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.807e-05/1.178, allocations: 330.4 kB / 0.8613 GB, free: 33.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.977e-05/1.178, allocations: 32.06 kB / 0.8613 GB, free: 33.11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/1.178, allocations: 320.7 kB / 0.8616 GB, free: 32.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/1.178, allocations: 117.3 kB / 0.8617 GB, free: 32.58 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/1.178, allocations: 3.938 kB / 0.8617 GB, free: 32.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004795/1.179, allocations: 325.8 kB / 0.862 GB, free: 32.28 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/1.179, allocations: 8 kB / 0.862 GB, free: 32.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/1.179, allocations: 19.94 kB / 0.862 GB, free: 32.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/1.179, allocations: 12 kB / 0.8621 GB, free: 32.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/1.179, allocations: 103.8 kB / 0.8622 GB, free: 32.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/1.179, allocations: 19.92 kB / 0.8622 GB, free: 32.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/1.18, allocations: 15.25 kB / 0.8622 GB, free: 32.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/1.18, allocations: 28.12 kB / 0.8622 GB, free: 32.08 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 1 * 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.688e-05/1.18, allocations: 124.7 kB / 0.8623 GB, free: 31.95 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001451/1.18, allocations: 88.8 kB / 0.8624 GB, free: 31.87 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/1.18, allocations: 27.67 kB / 0.8624 GB, free: 31.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/1.18, allocations: 89.94 kB / 0.8625 GB, free: 31.76 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/1.18, allocations: 0 / 0.8625 GB, free: 31.76 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.18, allocations: 0 / 0.8625 GB, free: 31.76 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/1.18, allocations: 3.984 kB / 0.8625 GB, free: 31.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004045/1.181, allocations: 384.4 kB / 0.8629 GB, free: 31.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.181, allocations: 0 / 0.8629 GB, free: 31.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/1.181, allocations: 19.98 kB / 0.8629 GB, free: 31.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/1.181, allocations: 4 kB / 0.8629 GB, free: 31.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/1.181, allocations: 3.938 kB / 0.8629 GB, free: 31.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.181, allocations: 0 / 0.8629 GB, free: 31.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.181, allocations: 0 / 0.8629 GB, free: 31.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/1.181, allocations: 215.6 kB / 0.8631 GB, free: 31.11 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.821e-05/1.181, allocations: 108 kB / 0.8632 GB, free: 31 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/1.181, allocations: 0 / 0.8632 GB, free: 31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/1.181, allocations: 7.984 kB / 0.8632 GB, free: 30.99 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/1.181, allocations: 4 kB / 0.8632 GB, free: 30.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/1.181, allocations: 11.98 kB / 0.8633 GB, free: 30.97 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.378e-05/1.181, allocations: 137.9 kB / 0.8634 GB, free: 30.85 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/1.181, allocations: 4 kB / 0.8634 GB, free: 30.85 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004813/1.182, allocations: 87.31 kB / 0.8635 GB, free: 30.77 MB / 0.4948 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0006454/1.182, allocations: 0.8829 MB / 0.8643 GB, free: 29.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002484/1.183, allocations: 144.5 kB / 0.8645 GB, free: 29.74 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/1.183, allocations: 0 / 0.8645 GB, free: 29.74 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.237e-05/1.183, allocations: 34.36 kB / 0.8645 GB, free: 29.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/1.183, allocations: 22.98 kB / 0.8645 GB, free: 29.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006384/1.184, allocations: 229.9 kB / 0.8647 GB, free: 29.44 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/1.184, allocations: 0.7292 MB / 0.8655 GB, free: 28.69 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002399/1.184, allocations: 58.09 kB / 0.8655 GB, free: 28.63 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.185e-05/1.184, allocations: 55.73 kB / 0.8656 GB, free: 28.6 MB / 0.4948 GB Notification: Performance of SimCode: time 2.7e-07/1.184, allocations: 0 / 0.8656 GB, free: 28.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/1.21, allocations: 4.283 MB / 0.8698 GB, free: 24.33 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/1.21, allocations: 145.3 kB / 0.8699 GB, free: 24.13 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/2.941, allocations: 3.938 kB / 0.8699 GB, free: 24.13 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat does not exist to compare? outputFormat=mat