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.001132/0.001132, allocations: 183.6 kB / 15.76 MB, free: 6.367 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.638/1.638, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009186/0.0009186, allocations: 90.84 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2632/0.2632, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003125, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1364, allocations: 58.86 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.438/1.575, allocations: 0.6075 GB / 1.086 GB, free: 37.05 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/1.575, allocations: 87.95 kB / 1.086 GB, free: 36.96 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.5885/2.164, allocations: 103.9 MB / 1.188 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.435e-06/2.164, allocations: 0 / 1.188 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.974e-05/2.164, allocations: 12 kB / 1.188 GB, free: 148.5 MB / 0.5105 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.003045/2.167, allocations: 0.8844 MB / 1.189 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.653e-05/2.167, allocations: 15.97 kB / 1.189 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002916/2.167, allocations: 78.53 kB / 1.189 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006248/2.168, allocations: 71.33 kB / 1.189 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/2.169, allocations: 406.4 kB / 1.189 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.71e-05/2.169, allocations: 58.7 kB / 1.189 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/2.169, allocations: 36 kB / 1.189 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/2.17, allocations: 0.5405 MB / 1.19 GB, free: 146.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/2.17, allocations: 4 kB / 1.19 GB, free: 146.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.749e-05/2.17, allocations: 16 kB / 1.19 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.665e-05/2.17, allocations: 20.59 kB / 1.19 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009039/2.171, allocations: 426.2 kB / 1.19 GB, free: 145.8 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003178/2.175, allocations: 2.433 MB / 1.193 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007005/2.175, allocations: 354.5 kB / 1.193 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.195e-05/2.175, allocations: 12.28 kB / 1.193 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005252/2.176, allocations: 273.6 kB / 1.193 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 2.114e-06/2.176, allocations: 0 / 1.193 GB, free: 142.6 MB / 0.5105 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: sweptVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.01118/2.187, allocations: 3.636 MB / 1.197 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/2.187, allocations: 162.2 kB / 1.197 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004225/2.188, allocations: 336.7 kB / 1.197 GB, free: 138.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.003e-05/2.188, allocations: 37.7 kB / 1.197 GB, free: 138.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/2.188, allocations: 248 kB / 1.198 GB, free: 138 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/2.188, allocations: 158.3 kB / 1.198 GB, free: 137.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/2.188, allocations: 12 kB / 1.198 GB, free: 137.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001052/2.188, allocations: 362.8 kB / 1.198 GB, free: 137.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005438/2.189, allocations: 245.1 kB / 1.198 GB, free: 137.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006122/2.189, allocations: 429.1 kB / 1.199 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006222/2.19, allocations: 318.2 kB / 1.199 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/2.19, allocations: 0 / 1.199 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001452/2.191, allocations: 0.8062 MB / 1.2 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.965e-05/2.191, allocations: 33.7 kB / 1.2 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/2.191, allocations: 4 kB / 1.2 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000444/2.192, allocations: 124.5 kB / 1.2 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005336/2.192, allocations: 147.8 kB / 1.2 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004689/2.193, allocations: 0.6694 MB / 1.201 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006277/2.194, allocations: 71.94 kB / 1.201 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-05/2.194, allocations: 44 kB / 1.201 GB, free: 134.5 MB / 0.5105 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 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,sweptVolume.regularFlow[1],sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked 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.0003/2.194, allocations: 201.6 kB / 1.201 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.793e-05/2.194, allocations: 47.44 kB / 1.201 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001885/2.196, allocations: 0.7913 MB / 1.202 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/2.196, allocations: 4 kB / 1.202 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/2.196, allocations: 4 kB / 1.202 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/2.196, allocations: 3.984 kB / 1.202 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/2.198, allocations: 1.312 MB / 1.203 GB, free: 132 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/2.198, allocations: 0 / 1.203 GB, free: 132 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004571/2.199, allocations: 120 kB / 1.203 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005893/2.2, allocations: 108.7 kB / 1.203 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.175e-05/2.2, allocations: 19.98 kB / 1.204 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/2.201, allocations: 1.706 MB / 1.205 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/2.201, allocations: 4.031 kB / 1.205 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/2.203, allocations: 1.083 MB / 1.206 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002409/2.204, allocations: 168.5 kB / 1.206 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.991e-05/2.204, allocations: 8 kB / 1.206 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005163/2.204, allocations: 67.89 kB / 1.206 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/2.204, allocations: 63.84 kB / 1.207 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.17e-05/2.204, allocations: 35.98 kB / 1.207 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002901/2.205, allocations: 271.1 kB / 1.207 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/2.205, allocations: 0 / 1.207 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00132/2.206, allocations: 310.8 kB / 1.207 GB, free: 127.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * 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.00425/2.21, allocations: 2.691 MB / 1.21 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001497/2.212, allocations: 0.6503 MB / 1.21 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/2.212, allocations: 0 / 1.21 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008121/2.213, allocations: 438.3 kB / 1.211 GB, free: 124 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009955/2.214, allocations: 189.3 kB / 1.211 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006803/2.22, allocations: 6.602 MB / 1.217 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/2.221, allocations: 0.863 MB / 1.218 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007799/2.222, allocations: 156.5 kB / 1.218 GB, free: 116 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003763/2.222, allocations: 187.4 kB / 1.219 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.222e-06/2.222, allocations: 0 / 1.219 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05235/2.274, allocations: 26.51 MB / 1.244 GB, free: 89.34 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/2.275, allocations: 261.4 kB / 1.245 GB, free: 88.98 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.117/5.392, allocations: 0 / 1.245 GB, free: 88.98 MB / 0.5105 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