Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001733/0.001733, allocations: 183.5 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.187/2.187, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001235/0.001235, allocations: 96.52 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5531/0.5531, allocations: 43.55 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006572/0.0006573, allocations: 16 kB / 431.5 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1483, allocations: 58.84 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.5428/0.6911, allocations: 133.1 MB / 0.6088 GB, free: 1.551 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.7027, allocations: 4.968 MB / 0.6137 GB, free: 12.79 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008596/0.7036, allocations: 11.88 kB / 0.6137 GB, free: 12.77 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.7048, allocations: 171.1 kB / 0.6138 GB, free: 12.61 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003413/0.7083, allocations: 0.6691 MB / 0.6145 GB, free: 11.94 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003013/0.7113, allocations: 0.5236 MB / 0.615 GB, free: 11.43 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001965/0.7133, allocations: 0.6606 MB / 0.6156 GB, free: 10.77 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007551/0.7141, allocations: 272.3 kB / 0.6159 GB, free: 10.5 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.7154, allocations: 374.8 kB / 0.6163 GB, free: 10.13 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006643/0.7161, allocations: 262.9 kB / 0.6165 GB, free: 9.875 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.7162, allocations: 24 kB / 0.6165 GB, free: 9.852 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.718, allocations: 423.5 kB / 0.6169 GB, free: 9.438 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003179/0.7184, allocations: 127.6 kB / 0.6171 GB, free: 9.312 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002693/0.7187, allocations: 117.5 kB / 0.6172 GB, free: 9.191 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.7203, allocations: 0.647 MB / 0.6178 GB, free: 8.551 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.7204, allocations: 0 / 0.6178 GB, free: 8.551 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.7204, allocations: 0 / 0.6178 GB, free: 8.551 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.7204, allocations: 0 / 0.6178 GB, free: 8.551 MB / 442.7 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.002505/0.7229, allocations: 0.8126 MB / 0.6186 GB, free: 7.684 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.534e-05/0.723, allocations: 12.02 kB / 0.6186 GB, free: 7.672 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001867/0.7232, allocations: 70.53 kB / 0.6187 GB, free: 7.594 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005955/0.7238, allocations: 75.41 kB / 0.6187 GB, free: 7.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009707/0.7248, allocations: 382.6 kB / 0.6191 GB, free: 7.105 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.725, allocations: 62.69 kB / 0.6192 GB, free: 7.039 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.7251, allocations: 36.94 kB / 0.6192 GB, free: 7.004 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/0.7268, allocations: 0.5244 MB / 0.6197 GB, free: 6.434 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.723e-05/0.7269, allocations: 11.92 kB / 0.6197 GB, free: 6.422 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.268e-05/0.727, allocations: 16.5 kB / 0.6197 GB, free: 6.406 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.569e-05/0.727, allocations: 24.55 kB / 0.6198 GB, free: 6.383 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.7287, allocations: 422.2 kB / 0.6202 GB, free: 5.973 MB / 442.7 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.005416/0.7341, allocations: 2.515 MB / 0.6226 GB, free: 3.277 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.7356, allocations: 359.5 kB / 0.623 GB, free: 2.918 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.475e-05/0.7357, allocations: 12.2 kB / 0.623 GB, free: 2.906 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009405/0.7366, allocations: 272.8 kB / 0.6232 GB, free: 2.617 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 3.096e-06/0.7367, allocations: 4 kB / 0.6232 GB, free: 2.613 MB / 442.7 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.02259/0.7593, allocations: 3.589 MB / 0.6267 GB, free: 14.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.7594, allocations: 166.2 kB / 0.6269 GB, free: 14.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000713/0.7601, allocations: 385.5 kB / 0.6273 GB, free: 14.31 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.7603, allocations: 29.7 kB / 0.6273 GB, free: 14.28 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002757/0.7606, allocations: 302.4 kB / 0.6276 GB, free: 13.98 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.7608, allocations: 165.6 kB / 0.6277 GB, free: 13.82 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.595e-05/0.7609, allocations: 12 kB / 0.6278 GB, free: 13.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.761, allocations: 338.8 kB / 0.6281 GB, free: 13.46 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.7622, allocations: 241.1 kB / 0.6283 GB, free: 13.23 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.7635, allocations: 429.1 kB / 0.6287 GB, free: 12.73 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/0.7648, allocations: 318.3 kB / 0.629 GB, free: 12.41 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.7649, allocations: 4 kB / 0.629 GB, free: 12.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003293/0.7682, allocations: 0.7871 MB / 0.6298 GB, free: 11.61 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.398e-05/0.7683, allocations: 37.66 kB / 0.6298 GB, free: 11.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.7683, allocations: 4 kB / 0.6298 GB, free: 11.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007564/0.7691, allocations: 120.7 kB / 0.63 GB, free: 11.44 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.7702, allocations: 152.2 kB / 0.6301 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009323/0.7711, allocations: 0.6761 MB / 0.6308 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.7722, allocations: 68 kB / 0.6308 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.7723, allocations: 40 kB / 0.6309 GB, free: 10.48 MB / 458.7 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.0004829/0.7728, allocations: 205.6 kB / 0.6311 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.773, allocations: 47.44 kB / 0.6311 GB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003699/0.7767, allocations: 0.7866 MB / 0.6319 GB, free: 9.43 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.7768, allocations: 4 kB / 0.6319 GB, free: 9.426 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.7768, allocations: 4 kB / 0.6319 GB, free: 9.422 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.7768, allocations: 0 / 0.6319 GB, free: 9.422 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004552/0.7814, allocations: 1.315 MB / 0.6332 GB, free: 8.031 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.7814, allocations: 4 kB / 0.6332 GB, free: 8.027 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009759/0.7824, allocations: 120 kB / 0.6333 GB, free: 7.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001112/0.7836, allocations: 112.7 kB / 0.6334 GB, free: 7.797 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/0.7837, allocations: 23.73 kB / 0.6334 GB, free: 7.777 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003169/0.7869, allocations: 1.712 MB / 0.6351 GB, free: 5.934 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.787, allocations: 0 / 0.6351 GB, free: 5.934 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004331/0.7913, allocations: 1.103 MB / 0.6362 GB, free: 4.766 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003919/0.7917, allocations: 160.5 kB / 0.6363 GB, free: 4.59 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.7919, allocations: 15.98 kB / 0.6363 GB, free: 4.574 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008689/0.7928, allocations: 55.95 kB / 0.6364 GB, free: 4.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002701/0.7931, allocations: 67.86 kB / 0.6364 GB, free: 4.453 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.7932, allocations: 35.98 kB / 0.6365 GB, free: 4.418 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004777/0.7937, allocations: 267.1 kB / 0.6367 GB, free: 4.16 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7937, allocations: 0 / 0.6367 GB, free: 4.16 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001226/0.7949, allocations: 239.9 kB / 0.637 GB, free: 3.926 MB / 458.7 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.006017/0.801, allocations: 2.214 MB / 0.6391 GB, free: 1.66 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002781/0.8038, allocations: 0.6453 MB / 0.6398 GB, free: 1.004 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/0.8039, allocations: 4 kB / 0.6398 GB, free: 1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001511/0.8054, allocations: 433.7 kB / 0.6402 GB, free: 0.5664 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.8071, allocations: 189.4 kB / 0.6404 GB, free: 396 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.8188, allocations: 6.626 MB / 0.6468 GB, free: 9.602 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006339/0.8195, allocations: 0.8708 MB / 0.6477 GB, free: 8.703 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000807/0.8204, allocations: 201.4 kB / 0.6479 GB, free: 8.508 MB / 474.7 MB Notification: Performance of SimCode: time 1.262e-06/0.8204, allocations: 4 kB / 0.6479 GB, free: 8.504 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.173/3.993, allocations: 13.83 MB / 0.6614 GB, free: 10.69 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat does not exist to compare? outputFormat=mat