Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009921/0.0009922, allocations: 101.3 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 193.9 kB / 17.9 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.3 MB / 246 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2479/0.2479, allocations: 45.91 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003055/0.0003058, allocations: 11.98 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.137, allocations: 63.46 MB / 481.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4236/0.5607, allocations: 146 MB / 0.6129 GB, free: 4.328 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0032/0.564, allocations: 1.645 MB / 0.6145 GB, free: 2.688 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004166/0.5644, allocations: 19.81 kB / 0.6146 GB, free: 2.668 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005624/0.565, allocations: 166.9 kB / 0.6147 GB, free: 2.504 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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.001873/0.5669, allocations: 0.672 MB / 0.6154 GB, free: 1.832 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.5683, allocations: 0.5309 MB / 0.6159 GB, free: 1.309 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001601/0.5699, allocations: 1.341 MB / 0.6172 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004076/0.5703, allocations: 266.3 kB / 0.6175 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006624/0.571, allocations: 406.5 kB / 0.6179 GB, free: 15.3 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004545/0.5714, allocations: 370.5 kB / 0.6182 GB, free: 14.93 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.767e-05/0.5715, allocations: 24 kB / 0.6182 GB, free: 14.91 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009257/0.5724, allocations: 403.4 kB / 0.6186 GB, free: 14.52 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.5726, allocations: 135.6 kB / 0.6187 GB, free: 14.38 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.5728, allocations: 117.5 kB / 0.6189 GB, free: 14.26 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000987/0.5738, allocations: 0.6648 MB / 0.6195 GB, free: 13.6 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.5738, allocations: 0 / 0.6195 GB, free: 13.6 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5738, allocations: 0 / 0.6195 GB, free: 13.6 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.5738, allocations: 0 / 0.6195 GB, free: 13.6 MB / 462.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.001657/0.5755, allocations: 0.8173 MB / 0.6203 GB, free: 12.73 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.5755, allocations: 12.03 kB / 0.6203 GB, free: 12.72 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001096/0.5756, allocations: 74.53 kB / 0.6204 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003753/0.576, allocations: 79.25 kB / 0.6205 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005505/0.5766, allocations: 378.7 kB / 0.6208 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.138e-05/0.5767, allocations: 62.69 kB / 0.6209 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.816e-05/0.5768, allocations: 39.94 kB / 0.6209 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009316/0.5777, allocations: 0.5283 MB / 0.6214 GB, free: 11.47 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.5777, allocations: 4 kB / 0.6214 GB, free: 11.46 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.752e-05/0.5778, allocations: 19.98 kB / 0.6215 GB, free: 11.45 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.842e-05/0.5778, allocations: 12.66 kB / 0.6215 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008555/0.5787, allocations: 430.1 kB / 0.6219 GB, free: 11.01 MB / 462.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.002999/0.5817, allocations: 2.489 MB / 0.6243 GB, free: 8.352 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007535/0.5824, allocations: 377.5 kB / 0.6247 GB, free: 7.977 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003424/0.5828, allocations: 169.3 kB / 0.6248 GB, free: 7.809 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.173e-05/0.5828, allocations: 4.281 kB / 0.6248 GB, free: 7.805 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005403/0.5834, allocations: 284.7 kB / 0.6251 GB, free: 7.504 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 1.753e-06/0.5834, allocations: 4 kB / 0.6251 GB, free: 7.5 MB / 462.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.01098/0.5944, allocations: 3.596 MB / 0.6286 GB, free: 3.766 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.5945, allocations: 166.2 kB / 0.6288 GB, free: 3.566 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004334/0.595, allocations: 389.5 kB / 0.6292 GB, free: 3.176 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.53e-05/0.595, allocations: 33.7 kB / 0.6292 GB, free: 3.137 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.5952, allocations: 260 kB / 0.6294 GB, free: 2.875 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.5953, allocations: 153.8 kB / 0.6296 GB, free: 2.723 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.5954, allocations: 12 kB / 0.6296 GB, free: 2.711 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.5956, allocations: 358.8 kB / 0.6299 GB, free: 2.352 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000573/0.5961, allocations: 241.1 kB / 0.6302 GB, free: 2.117 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007012/0.5968, allocations: 437 kB / 0.6306 GB, free: 1.613 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006524/0.5975, allocations: 314.3 kB / 0.6309 GB, free: 1.305 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5975, allocations: 0 / 0.6309 GB, free: 1.305 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001708/0.5992, allocations: 0.8183 MB / 0.6317 GB, free: 480 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.266e-05/0.5993, allocations: 37.7 kB / 0.6317 GB, free: 436 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/0.5993, allocations: 8 kB / 0.6317 GB, free: 428 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004247/0.5997, allocations: 120.7 kB / 0.6318 GB, free: 304 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005357/0.6003, allocations: 152.5 kB / 0.632 GB, free: 152 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006262/0.6009, allocations: 0.6733 MB / 0.6326 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005078/0.6015, allocations: 68 kB / 0.6327 GB, free: 15.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.866e-05/0.6015, allocations: 47.98 kB / 0.6328 GB, free: 15.34 MB / 478.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.0003024/0.6018, allocations: 196.9 kB / 0.6329 GB, free: 15.14 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.458e-05/0.6019, allocations: 55.39 kB / 0.633 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/0.6041, allocations: 0.7857 MB / 0.6338 GB, free: 14.28 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.6041, allocations: 7.938 kB / 0.6338 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.6041, allocations: 3.953 kB / 0.6338 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.6041, allocations: 3.984 kB / 0.6338 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00258/0.6067, allocations: 1.324 MB / 0.6351 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.748e-06/0.6067, allocations: 0 / 0.6351 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004561/0.6072, allocations: 120 kB / 0.6352 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005804/0.6078, allocations: 108.7 kB / 0.6353 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.181e-05/0.6078, allocations: 16 kB / 0.6353 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/0.6099, allocations: 1.695 MB / 0.637 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.6099, allocations: 4.031 kB / 0.637 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/0.6122, allocations: 1.044 MB / 0.638 GB, free: 9.715 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002501/0.6124, allocations: 164.6 kB / 0.6381 GB, free: 9.535 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.7e-05/0.6125, allocations: 16 kB / 0.6382 GB, free: 9.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004572/0.613, allocations: 63.94 kB / 0.6382 GB, free: 9.457 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.6132, allocations: 67.8 kB / 0.6383 GB, free: 9.391 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.958e-05/0.6132, allocations: 35.98 kB / 0.6383 GB, free: 9.355 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003037/0.6135, allocations: 267.1 kB / 0.6386 GB, free: 9.102 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6135, allocations: 3.938 kB / 0.6386 GB, free: 9.098 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007955/0.6143, allocations: 239.9 kB / 0.6388 GB, free: 8.863 MB / 478.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.003397/0.6177, allocations: 1.771 MB / 0.6405 GB, free: 7.047 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001665/0.6194, allocations: 0.6576 MB / 0.6412 GB, free: 6.375 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.6194, allocations: 0 / 0.6412 GB, free: 6.375 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008745/0.6203, allocations: 435.1 kB / 0.6416 GB, free: 5.938 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.6214, allocations: 196.9 kB / 0.6418 GB, free: 5.742 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006732/0.6281, allocations: 3.451 MB / 0.6451 GB, free: 2.164 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005405/0.6287, allocations: 0.8553 MB / 0.646 GB, free: 1.277 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007796/0.6295, allocations: 156.5 kB / 0.6461 GB, free: 1.125 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003939/0.6299, allocations: 191.4 kB / 0.6463 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of SimCode: time 1.042e-06/0.6299, allocations: 0 / 0.6463 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03693/0.6669, allocations: 17 MB / 0.6629 GB, free: 204 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003419/0.6672, allocations: 267.5 kB / 0.6632 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.273/2.94, allocations: 0 / 0.6632 GB, free: 15.84 MB / 0.4981 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat does not exist to compare? outputFormat=mat