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.001532/0.001532, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001566/0.001567, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2406/0.2406, allocations: 46.11 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 75.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3541, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.2101/0.5643, allocations: 163.4 MB / 0.6902 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003537/0.5679, allocations: 1.677 MB / 0.6918 GB, free: 12 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004911/0.5684, allocations: 11.94 kB / 0.6918 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006962/0.5692, allocations: 210.5 kB / 0.692 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002309/0.5715, allocations: 0.788 MB / 0.6928 GB, free: 11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001995/0.5735, allocations: 0.6724 MB / 0.6935 GB, free: 10.33 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001739/0.5752, allocations: 1.15 MB / 0.6946 GB, free: 9.18 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005583/0.5758, allocations: 334.9 kB / 0.6949 GB, free: 8.848 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009606/0.5768, allocations: 469.1 kB / 0.6954 GB, free: 8.391 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005427/0.5773, allocations: 374.5 kB / 0.6957 GB, free: 8.023 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.452e-05/0.5775, allocations: 48 kB / 0.6958 GB, free: 7.977 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.5788, allocations: 0.5734 MB / 0.6963 GB, free: 7.402 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002101/0.579, allocations: 163.5 kB / 0.6965 GB, free: 7.242 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003242/0.5793, allocations: 266.8 kB / 0.6967 GB, free: 6.98 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.581, allocations: 0.9733 MB / 0.6977 GB, free: 6.004 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.5811, allocations: 0 / 0.6977 GB, free: 6.004 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5811, allocations: 0 / 0.6977 GB, free: 6.004 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.5811, allocations: 0 / 0.6977 GB, free: 6.004 MB / 0.545 GB 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.001887/0.583, allocations: 0.9131 MB / 0.6986 GB, free: 5.035 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.583, allocations: 12.03 kB / 0.6986 GB, free: 5.023 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001033/0.5831, allocations: 78.53 kB / 0.6987 GB, free: 4.938 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003925/0.5835, allocations: 79.61 kB / 0.6987 GB, free: 4.859 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000689/0.5842, allocations: 422.5 kB / 0.6991 GB, free: 4.406 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.569e-05/0.5843, allocations: 58.64 kB / 0.6992 GB, free: 4.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.389e-05/0.5844, allocations: 39.95 kB / 0.6992 GB, free: 4.301 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009952/0.5854, allocations: 0.5205 MB / 0.6997 GB, free: 3.746 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.5855, allocations: 4 kB / 0.6997 GB, free: 3.742 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.616e-05/0.5855, allocations: 23.98 kB / 0.6998 GB, free: 3.719 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.023e-05/0.5856, allocations: 16.64 kB / 0.6998 GB, free: 3.699 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009255/0.5865, allocations: 406.1 kB / 0.7002 GB, free: 3.305 MB / 0.545 GB 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.003401/0.5899, allocations: 2.454 MB / 0.7026 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008585/0.5908, allocations: 346.4 kB / 0.7029 GB, free: 340 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004029/0.5912, allocations: 161.3 kB / 0.7031 GB, free: 176 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.02e-05/0.5913, allocations: 8.266 kB / 0.7031 GB, free: 168 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006091/0.5919, allocations: 272.7 kB / 0.7033 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.174e-06/0.5919, allocations: 0 / 0.7033 GB, free: 15.88 MB / 0.5606 GB 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.01248/0.6044, allocations: 3.258 MB / 0.7065 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.6045, allocations: 162.2 kB / 0.7067 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004719/0.605, allocations: 385.6 kB / 0.707 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.958e-05/0.6051, allocations: 37.7 kB / 0.7071 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.6053, allocations: 260.5 kB / 0.7073 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.6054, allocations: 174.5 kB / 0.7075 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.6056, allocations: 122.3 kB / 0.7076 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.6058, allocations: 358.8 kB / 0.7079 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006387/0.6065, allocations: 221.1 kB / 0.7081 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008186/0.6073, allocations: 405.1 kB / 0.7085 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.6088, allocations: 0.6355 MB / 0.7092 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.6088, allocations: 4 kB / 0.7092 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002061/0.6109, allocations: 0.7907 MB / 0.7099 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.302e-05/0.6109, allocations: 37.7 kB / 0.71 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.611, allocations: 8 kB / 0.71 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004655/0.6114, allocations: 112.8 kB / 0.7101 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005615/0.612, allocations: 144.1 kB / 0.7102 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000699/0.6127, allocations: 0.6772 MB / 0.7109 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005553/0.6133, allocations: 43.95 kB / 0.7109 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.679e-05/0.6134, allocations: 44 kB / 0.711 GB, free: 7.637 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0003434/0.6137, allocations: 205.6 kB / 0.7112 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.6138, allocations: 51.67 kB / 0.7112 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/0.6159, allocations: 0.7368 MB / 0.7119 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.6159, allocations: 8 kB / 0.7119 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.616, allocations: 7.938 kB / 0.7119 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.616, allocations: 7.984 kB / 0.712 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002657/0.6186, allocations: 1.265 MB / 0.7132 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.6187, allocations: 0 / 0.7132 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004916/0.6191, allocations: 112 kB / 0.7133 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005652/0.6197, allocations: 104.7 kB / 0.7134 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.941e-05/0.6198, allocations: 19.98 kB / 0.7134 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/0.6219, allocations: 1.822 MB / 0.7152 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6219, allocations: 0 / 0.7152 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/0.6243, allocations: 0.9751 MB / 0.7161 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002815/0.6246, allocations: 164.8 kB / 0.7163 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.514e-05/0.6247, allocations: 15.98 kB / 0.7163 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004483/0.6252, allocations: 39.95 kB / 0.7164 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.6253, allocations: 63.92 kB / 0.7164 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.746e-05/0.6254, allocations: 39.92 kB / 0.7165 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003272/0.6257, allocations: 267.2 kB / 0.7167 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6257, allocations: 0 / 0.7167 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008061/0.6266, allocations: 239.7 kB / 0.7169 GB, free: 1.223 MB / 0.5606 GB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2474/0.874, allocations: 1.713 MB / 0.7186 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00191/0.8759, allocations: 0.6068 MB / 0.7192 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/0.876, allocations: 1.094 kB / 0.7192 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009907/0.877, allocations: 410 kB / 0.7196 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.8782, allocations: 220.4 kB / 0.7198 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008523/0.8867, allocations: 5.072 MB / 0.7248 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.8871, allocations: 0.8612 MB / 0.7256 GB, free: 179.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006437/0.8878, allocations: 156.4 kB / 0.7257 GB, free: 179.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003302/0.8881, allocations: 193.1 kB / 0.7259 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of SimCode: time 5.2e-07/0.8881, allocations: 1.031 kB / 0.7259 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04597/0.9341, allocations: 18.4 MB / 0.7439 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.54, allocations: 7.484 kB / 0.7439 GB, free: 165.2 MB / 0.5606 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/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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches