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.001058/0.001058, allocations: 100.2 kB / 16.99 MB, free: 5.941 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.0009111/0.0009113, allocations: 180.6 kB / 17.87 MB, free: 5.609 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.357/1.357, allocations: 223.2 MB / 241.8 MB, free: 14.66 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.223/0.223, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003927, allocations: 12 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1429, allocations: 61.91 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4194/0.5624, allocations: 133.1 MB / 0.5905 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00468/0.5671, allocations: 2.384 MB / 0.5928 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007146/0.5679, allocations: 15.88 kB / 0.5928 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007082/0.5686, allocations: 187 kB / 0.593 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.5709, allocations: 0.6061 MB / 0.5936 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.5726, allocations: 0.5224 MB / 0.5941 GB, free: 9.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001241/0.5738, allocations: 0.6721 MB / 0.5947 GB, free: 8.418 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004754/0.5743, allocations: 273 kB / 0.595 GB, free: 8.152 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007353/0.575, allocations: 370.8 kB / 0.5954 GB, free: 7.789 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000355/0.5754, allocations: 266.9 kB / 0.5956 GB, free: 7.527 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.94e-05/0.5755, allocations: 24 kB / 0.5956 GB, free: 7.504 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.5766, allocations: 391.5 kB / 0.596 GB, free: 7.121 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.5767, allocations: 127.6 kB / 0.5961 GB, free: 6.996 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.5769, allocations: 121.5 kB / 0.5962 GB, free: 6.871 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008274/0.5777, allocations: 0.6389 MB / 0.5969 GB, free: 6.238 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.5777, allocations: 0 / 0.5969 GB, free: 6.238 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5777, allocations: 0 / 0.5969 GB, free: 6.238 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.5777, allocations: 0 / 0.5969 GB, free: 6.238 MB / 430.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.001682/0.5794, allocations: 0.8134 MB / 0.5977 GB, free: 5.371 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.5795, allocations: 8.562 kB / 0.5977 GB, free: 5.363 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001113/0.5796, allocations: 74.53 kB / 0.5977 GB, free: 5.281 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000385/0.58, allocations: 79.33 kB / 0.5978 GB, free: 5.203 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006275/0.5806, allocations: 374.6 kB / 0.5982 GB, free: 4.793 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.001e-05/0.5807, allocations: 62.64 kB / 0.5982 GB, free: 4.727 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.884e-05/0.5808, allocations: 39.95 kB / 0.5983 GB, free: 4.688 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009777/0.5818, allocations: 0.5283 MB / 0.5988 GB, free: 4.117 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.5818, allocations: 7.938 kB / 0.5988 GB, free: 4.109 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.921e-05/0.5819, allocations: 16 kB / 0.5988 GB, free: 4.094 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-05/0.5819, allocations: 20.66 kB / 0.5988 GB, free: 4.074 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008959/0.5828, allocations: 426.1 kB / 0.5992 GB, free: 3.656 MB / 430.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.003184/0.586, allocations: 2.507 MB / 0.6017 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007935/0.5868, allocations: 359.4 kB / 0.602 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.5868, allocations: 4.281 kB / 0.602 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005351/0.5874, allocations: 281.3 kB / 0.6023 GB, free: 312 kB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 1.774e-06/0.5874, allocations: 0 / 0.6023 GB, free: 312 kB / 430.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.01215/0.5996, allocations: 3.587 MB / 0.6058 GB, free: 12.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.5997, allocations: 166.2 kB / 0.606 GB, free: 12.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000517/0.6002, allocations: 381.5 kB / 0.6063 GB, free: 12.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.229e-05/0.6003, allocations: 37.7 kB / 0.6064 GB, free: 11.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.6006, allocations: 256 kB / 0.6066 GB, free: 11.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.6008, allocations: 165.7 kB / 0.6068 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.6008, allocations: 12 kB / 0.6068 GB, free: 11.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.601, allocations: 358.8 kB / 0.6071 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006633/0.6017, allocations: 241.1 kB / 0.6073 GB, free: 10.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007779/0.6025, allocations: 433 kB / 0.6078 GB, free: 10.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006933/0.6032, allocations: 318.3 kB / 0.6081 GB, free: 10.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6032, allocations: 0 / 0.6081 GB, free: 10.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001881/0.6051, allocations: 0.8182 MB / 0.6089 GB, free: 9.289 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.472e-05/0.6051, allocations: 37.83 kB / 0.6089 GB, free: 9.246 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.6052, allocations: 8 kB / 0.6089 GB, free: 9.238 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004849/0.6057, allocations: 116.8 kB / 0.609 GB, free: 9.121 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005531/0.6062, allocations: 147.8 kB / 0.6092 GB, free: 8.977 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006224/0.6069, allocations: 0.6811 MB / 0.6098 GB, free: 8.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005441/0.6074, allocations: 64.02 kB / 0.6099 GB, free: 8.207 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.047e-05/0.6075, allocations: 48.55 kB / 0.6099 GB, free: 8.16 MB / 446.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.0003114/0.6078, allocations: 193.6 kB / 0.6101 GB, free: 7.961 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.891e-05/0.6079, allocations: 51.42 kB / 0.6102 GB, free: 7.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.61, allocations: 0.7807 MB / 0.6109 GB, free: 7.117 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.61, allocations: 8 kB / 0.6109 GB, free: 7.109 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.61, allocations: 3.984 kB / 0.6109 GB, free: 7.105 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.61, allocations: 7.969 kB / 0.6109 GB, free: 7.098 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002567/0.6126, allocations: 1.316 MB / 0.6122 GB, free: 5.707 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.6126, allocations: 4 kB / 0.6122 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004783/0.6131, allocations: 124 kB / 0.6124 GB, free: 5.582 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005677/0.6137, allocations: 96.77 kB / 0.6124 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.212e-05/0.6137, allocations: 19.98 kB / 0.6125 GB, free: 5.465 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/0.6155, allocations: 1.722 MB / 0.6141 GB, free: 3.605 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.6156, allocations: 64 / 0.6141 GB, free: 3.605 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/0.6179, allocations: 1.118 MB / 0.6152 GB, free: 2.418 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/0.6182, allocations: 156.5 kB / 0.6154 GB, free: 2.246 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.854e-05/0.6182, allocations: 12 kB / 0.6154 GB, free: 2.234 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004781/0.6187, allocations: 63.88 kB / 0.6155 GB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.6189, allocations: 67.84 kB / 0.6155 GB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-05/0.619, allocations: 43.98 kB / 0.6156 GB, free: 2.062 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002997/0.6193, allocations: 263.2 kB / 0.6158 GB, free: 1.809 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.493e-06/0.6193, allocations: 0 / 0.6158 GB, free: 1.809 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007984/0.6201, allocations: 231.9 kB / 0.616 GB, free: 1.582 MB / 446.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.003436/0.6235, allocations: 2.185 MB / 0.6182 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001529/0.6251, allocations: 0.6537 MB / 0.6188 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.6251, allocations: 0 / 0.6188 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000871/0.626, allocations: 430.7 kB / 0.6192 GB, free: 14.24 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009487/0.6269, allocations: 189.3 kB / 0.6194 GB, free: 14.05 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007139/0.6341, allocations: 6.605 MB / 0.6259 GB, free: 7.293 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/0.6346, allocations: 0.867 MB / 0.6267 GB, free: 6.398 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007238/0.6353, allocations: 152.5 kB / 0.6268 GB, free: 6.246 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003481/0.6357, allocations: 187.4 kB / 0.627 GB, free: 6.062 MB / 462.1 MB Notification: Performance of SimCode: time 7.91e-07/0.6357, allocations: 0 / 0.627 GB, free: 6.062 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03263/0.6683, allocations: 16.99 MB / 0.6436 GB, free: 5.355 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/0.6686, allocations: 274.2 kB / 0.6439 GB, free: 4.992 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.219/2.888, allocations: 0 / 0.6439 GB, free: 4.992 MB / 478.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