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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 96.52 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 176.2 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4029/0.4029, allocations: 43.54 MB / 314.5 MB, free: 9.031 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005972/0.0005976, allocations: 16 kB / 384 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1697, allocations: 58.86 MB / 442.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4557/0.6254, allocations: 133.1 MB / 0.5625 GB, free: 6.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01053/0.636, allocations: 4.971 MB / 0.5673 GB, free: 1.625 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.6372, allocations: 15.88 kB / 0.5673 GB, free: 1.609 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.6384, allocations: 175.1 kB / 0.5675 GB, free: 1.438 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003872/0.6423, allocations: 0.6579 MB / 0.5681 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002492/0.6448, allocations: 0.5276 MB / 0.5686 GB, free: 268 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001961/0.6468, allocations: 0.6645 MB / 0.5693 GB, free: 15.6 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007554/0.6476, allocations: 268.5 kB / 0.5695 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.6488, allocations: 374.8 kB / 0.5699 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006902/0.6495, allocations: 262.9 kB / 0.5702 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001607/0.6497, allocations: 24 kB / 0.5702 GB, free: 14.69 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/0.6514, allocations: 423.5 kB / 0.5706 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002916/0.6517, allocations: 127.6 kB / 0.5707 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003241/0.6521, allocations: 117.5 kB / 0.5708 GB, free: 14.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.6535, allocations: 0.6375 MB / 0.5714 GB, free: 13.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.6536, allocations: 4 kB / 0.5714 GB, free: 13.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.6536, allocations: 3.938 kB / 0.5714 GB, free: 13.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.68e-05/0.6536, allocations: 0 / 0.5714 GB, free: 13.39 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.002669/0.6563, allocations: 0.8126 MB / 0.5722 GB, free: 12.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.6563, allocations: 12.02 kB / 0.5723 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001856/0.6565, allocations: 74.53 kB / 0.5723 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004878/0.657, allocations: 71.42 kB / 0.5724 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000821/0.6579, allocations: 384.4 kB / 0.5728 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.658, allocations: 59.62 kB / 0.5728 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.386e-05/0.6581, allocations: 39.91 kB / 0.5729 GB, free: 11.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.6592, allocations: 0.5322 MB / 0.5734 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.6593, allocations: 0 / 0.5734 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-05/0.6593, allocations: 16.5 kB / 0.5734 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.782e-05/0.6594, allocations: 32.59 kB / 0.5734 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.6604, allocations: 422.1 kB / 0.5738 GB, free: 10.81 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.00382/0.6642, allocations: 2.513 MB / 0.5763 GB, free: 8.117 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009839/0.6652, allocations: 363.4 kB / 0.5766 GB, free: 7.754 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.694e-05/0.6653, allocations: 4.281 kB / 0.5766 GB, free: 7.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006119/0.6659, allocations: 284.8 kB / 0.5769 GB, free: 7.449 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.615e-06/0.6659, allocations: 0 / 0.5769 GB, free: 7.449 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.01323/0.6792, allocations: 3.587 MB / 0.5804 GB, free: 3.738 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.6793, allocations: 162.2 kB / 0.5806 GB, free: 3.543 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005352/0.6799, allocations: 389.4 kB / 0.5809 GB, free: 3.152 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.002e-05/0.68, allocations: 33.7 kB / 0.581 GB, free: 3.113 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.6802, allocations: 248 kB / 0.5812 GB, free: 2.867 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.6804, allocations: 173.6 kB / 0.5814 GB, free: 2.695 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.6805, allocations: 12 kB / 0.5814 GB, free: 2.684 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.6806, allocations: 358.8 kB / 0.5817 GB, free: 2.324 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006541/0.6813, allocations: 241.1 kB / 0.5819 GB, free: 2.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00077/0.6821, allocations: 425.1 kB / 0.5824 GB, free: 1.594 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007426/0.6828, allocations: 318.3 kB / 0.5827 GB, free: 1.277 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.6828, allocations: 0 / 0.5827 GB, free: 1.277 MB / 446.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001971/0.6848, allocations: 0.8177 MB / 0.5835 GB, free: 452 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.694e-05/0.6849, allocations: 45.58 kB / 0.5835 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.6849, allocations: 8.656 kB / 0.5835 GB, free: 392 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004642/0.6854, allocations: 116.8 kB / 0.5836 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005876/0.686, allocations: 143.8 kB / 0.5838 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006429/0.6866, allocations: 0.6794 MB / 0.5844 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006451/0.6873, allocations: 68 kB / 0.5845 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.88e-05/0.6874, allocations: 40 kB / 0.5845 GB, free: 15.32 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.0003227/0.6877, allocations: 205.6 kB / 0.5847 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.6878, allocations: 51.47 kB / 0.5848 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002115/0.69, allocations: 0.7804 MB / 0.5855 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.69, allocations: 4 kB / 0.5855 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.69, allocations: 0 / 0.5855 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.69, allocations: 3.984 kB / 0.5855 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002745/0.6928, allocations: 1.323 MB / 0.5868 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.6928, allocations: 4 kB / 0.5868 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005059/0.6933, allocations: 115.9 kB / 0.5869 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005836/0.6939, allocations: 108.9 kB / 0.587 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.574e-05/0.694, allocations: 16 kB / 0.5871 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/0.6959, allocations: 1.716 MB / 0.5887 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.6959, allocations: 7.922 kB / 0.5887 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002444/0.6984, allocations: 1.095 MB / 0.5898 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/0.6987, allocations: 164.5 kB / 0.59 GB, free: 9.422 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.6988, allocations: 12 kB / 0.59 GB, free: 9.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000532/0.6993, allocations: 63.84 kB / 0.59 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.6995, allocations: 73.3 kB / 0.5901 GB, free: 9.277 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.828e-05/0.6996, allocations: 35.98 kB / 0.5901 GB, free: 9.242 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000409/0.7, allocations: 267.1 kB / 0.5904 GB, free: 8.984 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7, allocations: 4 kB / 0.5904 GB, free: 8.98 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008972/0.7009, allocations: 235.9 kB / 0.5906 GB, free: 8.75 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.003814/0.7048, allocations: 2.196 MB / 0.5928 GB, free: 6.504 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001691/0.7065, allocations: 0.6528 MB / 0.5934 GB, free: 5.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.7065, allocations: 0 / 0.5934 GB, free: 5.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009775/0.7075, allocations: 449.9 kB / 0.5938 GB, free: 5.391 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.7086, allocations: 182.3 kB / 0.594 GB, free: 5.219 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008605/0.7173, allocations: 6.596 MB / 0.6005 GB, free: 14.47 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005795/0.7179, allocations: 0.8708 MB / 0.6013 GB, free: 13.57 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000771/0.7187, allocations: 148.5 kB / 0.6014 GB, free: 13.42 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004936/0.7192, allocations: 191.4 kB / 0.6016 GB, free: 13.23 MB / 478.1 MB Notification: Performance of SimCode: time 1.793e-06/0.7192, allocations: 4 kB / 0.6016 GB, free: 13.23 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05528/0.7745, allocations: 17.31 MB / 0.6185 GB, free: 11.99 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002269/0.7748, allocations: 267.8 kB / 0.6188 GB, free: 11.62 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.28/3.054, allocations: 0 / 0.6188 GB, free: 11.62 MB / 494.1 MB (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) Environment - environmentSimulation: 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