Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008845/0.0008846, allocations: 95.84 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008025/0.0008024, allocations: 190.3 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 223.3 MB / 241.9 MB, free: 14.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1993/0.1993, allocations: 44.22 MB / 337.2 MB, free: 2.562 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.0003129, allocations: 11.98 kB / 409.7 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1283, allocations: 61.91 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4498/0.5782, allocations: 146 MB / 0.6031 GB, free: 1.148 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005353/0.5836, allocations: 1.638 MB / 0.6047 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.5847, allocations: 19.81 kB / 0.6047 GB, free: 15.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.5857, allocations: 170.9 kB / 0.6049 GB, free: 15.32 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002661/0.5884, allocations: 0.654 MB / 0.6055 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.5904, allocations: 0.523 MB / 0.6061 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002283/0.5927, allocations: 1.341 MB / 0.6074 GB, free: 12.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006653/0.5934, allocations: 265 kB / 0.6076 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.5946, allocations: 414.3 kB / 0.608 GB, free: 12.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008039/0.5954, allocations: 374.5 kB / 0.6084 GB, free: 11.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.5955, allocations: 24 kB / 0.6084 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.5969, allocations: 391.4 kB / 0.6088 GB, free: 11.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002603/0.5971, allocations: 131.6 kB / 0.6089 GB, free: 11.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002722/0.5974, allocations: 121.5 kB / 0.609 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.5985, allocations: 0.6611 MB / 0.6097 GB, free: 10.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.5986, allocations: 4 kB / 0.6097 GB, free: 10.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.5986, allocations: 0 / 0.6097 GB, free: 10.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.766e-05/0.5986, allocations: 0 / 0.6097 GB, free: 10.45 MB / 446.1 MB 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.001861/0.6005, allocations: 0.8133 MB / 0.6105 GB, free: 9.582 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.6005, allocations: 8.562 kB / 0.6105 GB, free: 9.574 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001533/0.6007, allocations: 79.39 kB / 0.6105 GB, free: 9.488 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004225/0.6011, allocations: 75.33 kB / 0.6106 GB, free: 9.414 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006553/0.6018, allocations: 382.6 kB / 0.611 GB, free: 8.996 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.424e-05/0.6019, allocations: 58.7 kB / 0.611 GB, free: 8.934 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-05/0.602, allocations: 39.95 kB / 0.6111 GB, free: 8.895 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.603, allocations: 0.5244 MB / 0.6116 GB, free: 8.328 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.603, allocations: 7.938 kB / 0.6116 GB, free: 8.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.648e-05/0.6031, allocations: 19.98 kB / 0.6116 GB, free: 8.301 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.459e-05/0.6031, allocations: 16.66 kB / 0.6116 GB, free: 8.285 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009376/0.6041, allocations: 428.9 kB / 0.612 GB, free: 7.867 MB / 446.1 MB 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.003571/0.6077, allocations: 2.523 MB / 0.6145 GB, free: 5.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008161/0.6085, allocations: 359.4 kB / 0.6148 GB, free: 4.801 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003865/0.6089, allocations: 183.4 kB / 0.615 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.224e-05/0.6089, allocations: 4.281 kB / 0.615 GB, free: 4.617 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005735/0.6095, allocations: 272.8 kB / 0.6153 GB, free: 4.328 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.984e-06/0.6095, allocations: 0 / 0.6153 GB, free: 4.328 MB / 446.1 MB 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.0122/0.6217, allocations: 3.596 MB / 0.6188 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.6219, allocations: 162.2 kB / 0.6189 GB, free: 420 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004952/0.6224, allocations: 381.5 kB / 0.6193 GB, free: 28 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.853e-05/0.6225, allocations: 37.7 kB / 0.6193 GB, free: 15.98 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.6227, allocations: 256 kB / 0.6196 GB, free: 15.73 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.6229, allocations: 161.7 kB / 0.6197 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.6229, allocations: 11.94 kB / 0.6198 GB, free: 15.56 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.6231, allocations: 358.8 kB / 0.6201 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000599/0.6237, allocations: 245.1 kB / 0.6203 GB, free: 14.96 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007429/0.6245, allocations: 437 kB / 0.6207 GB, free: 14.46 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007102/0.6252, allocations: 318.3 kB / 0.6211 GB, free: 14.14 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.6252, allocations: 0 / 0.6211 GB, free: 14.14 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001918/0.6271, allocations: 0.8139 MB / 0.6218 GB, free: 13.31 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.718e-05/0.6272, allocations: 33.7 kB / 0.6219 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.6272, allocations: 8 kB / 0.6219 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005168/0.6277, allocations: 117.3 kB / 0.622 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005762/0.6283, allocations: 147.8 kB / 0.6221 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007268/0.6291, allocations: 0.6849 MB / 0.6228 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005604/0.6297, allocations: 64.02 kB / 0.6229 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.941e-05/0.6297, allocations: 47.98 kB / 0.6229 GB, free: 12.18 MB / 462.1 MB 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.0003314/0.6301, allocations: 200.1 kB / 0.6231 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.431e-05/0.6302, allocations: 51.42 kB / 0.6232 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002056/0.6322, allocations: 0.7729 MB / 0.6239 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.6323, allocations: 12.03 kB / 0.6239 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6323, allocations: 0 / 0.6239 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.6323, allocations: 7.984 kB / 0.6239 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002465/0.6348, allocations: 1.324 MB / 0.6252 GB, free: 9.723 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.6348, allocations: 0 / 0.6252 GB, free: 9.723 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004839/0.6353, allocations: 124 kB / 0.6253 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005425/0.6358, allocations: 104.8 kB / 0.6254 GB, free: 9.496 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-05/0.6359, allocations: 19.98 kB / 0.6255 GB, free: 9.477 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001992/0.6379, allocations: 1.691 MB / 0.6271 GB, free: 7.648 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.6379, allocations: 7.984 kB / 0.6271 GB, free: 7.641 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002226/0.6401, allocations: 1.052 MB / 0.6281 GB, free: 6.551 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002339/0.6404, allocations: 164.5 kB / 0.6283 GB, free: 6.371 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.226e-05/0.6405, allocations: 12 kB / 0.6283 GB, free: 6.359 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.6409, allocations: 63.94 kB / 0.6284 GB, free: 6.297 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.6411, allocations: 59.91 kB / 0.6284 GB, free: 6.238 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.105e-05/0.6411, allocations: 31.98 kB / 0.6285 GB, free: 6.207 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000318/0.6415, allocations: 271.2 kB / 0.6287 GB, free: 5.945 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6415, allocations: 0 / 0.6287 GB, free: 5.945 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008838/0.6424, allocations: 235.9 kB / 0.6289 GB, free: 5.715 MB / 462.1 MB 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.003307/0.6457, allocations: 1.787 MB / 0.6307 GB, free: 3.891 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001595/0.6473, allocations: 0.6537 MB / 0.6313 GB, free: 3.227 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6473, allocations: 0 / 0.6313 GB, free: 3.227 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008565/0.6482, allocations: 430.7 kB / 0.6317 GB, free: 2.793 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.6492, allocations: 204.7 kB / 0.6319 GB, free: 2.598 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005845/0.6551, allocations: 3.447 MB / 0.6353 GB, free: 15.02 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.6556, allocations: 0.8514 MB / 0.6361 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006997/0.6563, allocations: 148.5 kB / 0.6363 GB, free: 13.99 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003919/0.6567, allocations: 187.4 kB / 0.6365 GB, free: 13.81 MB / 478.1 MB Notification: Performance of SimCode: time 7.42e-07/0.6567, allocations: 0 / 0.6365 GB, free: 13.81 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03825/0.6949, allocations: 17.01 MB / 0.6531 GB, free: 13.09 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004339/0.6954, allocations: 279.2 kB / 0.6533 GB, free: 12.73 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.348/3.044, allocations: 0 / 0.6533 GB, free: 12.73 MB / 494.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat does not exist to compare? outputFormat=mat