Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.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.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",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.002834/0.002833, allocations: 177.6 kB / 8.005 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 2.147/2.147, allocations: 205.3 MB / 213.7 MB, free: 1.73 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.001314/0.001314, allocations: 87.97 kB / 261.7 MB, free: 1.684 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.2711/0.2711, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.479e-05/2.458e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1653, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.865/2.031, allocations: 0.574 GB / 1.04 GB, free: 58.71 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003721/2.031, allocations: 91.22 kB / 1.04 GB, free: 58.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6084/2.64, allocations: 100.5 MB / 1.138 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.913e-06/2.64, allocations: 0 / 1.138 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.237e-05/2.64, allocations: 13.97 kB / 1.138 GB, free: 148.6 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001768/2.642, allocations: 0.8089 MB / 1.139 GB, free: 148 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/2.642, allocations: 13.2 kB / 1.139 GB, free: 148 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004033/2.642, allocations: 72.55 kB / 1.139 GB, free: 148 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006425/2.643, allocations: 414.2 kB / 1.14 GB, free: 147.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-05/2.643, allocations: 44.61 kB / 1.14 GB, free: 147.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.403e-05/2.643, allocations: 21.88 kB / 1.14 GB, free: 147.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000503/2.643, allocations: 302.2 kB / 1.14 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006325/2.644, allocations: 440.6 kB / 1.14 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/2.644, allocations: 0 / 1.14 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-05/2.644, allocations: 3.594 kB / 1.14 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-05/2.644, allocations: 14.78 kB / 1.14 GB, free: 147.3 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002938/2.647, allocations: 2.381 MB / 1.143 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/2.647, allocations: 245.5 kB / 1.143 GB, free: 145.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/2.648, allocations: 109.5 kB / 1.143 GB, free: 145.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.846e-05/2.648, allocations: 10.81 kB / 1.143 GB, free: 145.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003603/2.648, allocations: 203.1 kB / 1.143 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 1.523e-06/2.648, allocations: 0 / 1.143 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.006494/2.655, allocations: 1.939 MB / 1.145 GB, free: 144.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.915e-05/2.655, allocations: 161.9 kB / 1.145 GB, free: 144 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003864/2.655, allocations: 312.2 kB / 1.146 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.723e-05/2.655, allocations: 29.58 kB / 1.146 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/2.655, allocations: 257.2 kB / 1.146 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/2.655, allocations: 144.7 kB / 1.146 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/2.655, allocations: 0 / 1.146 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001322/2.656, allocations: 358.1 kB / 1.146 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/2.656, allocations: 150.4 kB / 1.146 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003569/2.656, allocations: 324.5 kB / 1.147 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/2.657, allocations: 212.7 kB / 1.147 GB, free: 142.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/2.657, allocations: 0 / 1.147 GB, free: 142.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009287/2.658, allocations: 0.5697 MB / 1.148 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.168e-05/2.658, allocations: 32.92 kB / 1.148 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/2.658, allocations: 3.375 kB / 1.148 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003928/2.658, allocations: 99.38 kB / 1.148 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005741/2.659, allocations: 154.9 kB / 1.148 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005091/2.659, allocations: 0.6842 MB / 1.149 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005372/2.66, allocations: 61.64 kB / 1.149 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-05/2.66, allocations: 47.23 kB / 1.149 GB, free: 141.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (sweptVolume.regularFlow[1],$whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.000153/2.66, allocations: 119.6 kB / 1.149 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006956/2.661, allocations: 428.7 kB / 1.149 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.264e-05/2.661, allocations: 54.97 kB / 1.149 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/2.662, allocations: 0.5339 MB / 1.15 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/2.662, allocations: 6.281 kB / 1.15 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/2.662, allocations: 0 / 1.15 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/2.662, allocations: 3.094 kB / 1.15 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/2.664, allocations: 1.031 MB / 1.151 GB, free: 140.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/2.664, allocations: 0 / 1.151 GB, free: 140.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004639/2.664, allocations: 122 kB / 1.151 GB, free: 140.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004961/2.665, allocations: 96.77 kB / 1.151 GB, free: 140.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.711e-05/2.665, allocations: 16.53 kB / 1.151 GB, free: 140.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001419/2.666, allocations: 1.63 MB / 1.153 GB, free: 139.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/2.666, allocations: 64 / 1.153 GB, free: 139.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/2.667, allocations: 0.781 MB / 1.153 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/2.667, allocations: 157.7 kB / 1.153 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.475e-05/2.667, allocations: 7.656 kB / 1.153 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004639/2.668, allocations: 53.59 kB / 1.154 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/2.668, allocations: 61.47 kB / 1.154 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.212e-05/2.668, allocations: 31.56 kB / 1.154 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000232/2.668, allocations: 242.6 kB / 1.154 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/2.668, allocations: 0 / 1.154 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001141/2.669, allocations: 283.8 kB / 1.154 GB, free: 138.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003001/2.672, allocations: 2.397 MB / 1.156 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008786/2.673, allocations: 463.2 kB / 1.157 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/2.673, allocations: 3.938 kB / 1.157 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004149/2.674, allocations: 328.2 kB / 1.157 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000911/2.675, allocations: 160.4 kB / 1.157 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/2.677, allocations: 0.9464 MB / 1.158 GB, free: 136 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/2.677, allocations: 0.8644 MB / 1.159 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006449/2.678, allocations: 150.2 kB / 1.159 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003435/2.678, allocations: 189.1 kB / 1.159 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.012e-06/2.678, allocations: 0 / 1.159 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0517/2.73, allocations: 19.91 MB / 1.179 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/2.73, allocations: 189.2 kB / 1.179 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.857/5.587, allocations: 0 / 1.179 GB, free: 115.6 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat does not exist to compare? outputFormat=mat