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: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 106 kB / 16.41 MB, free: 6.516 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.001116/0.001116, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.518/1.518, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.231/0.231, allocations: 43.52 MB / 314.1 MB, free: 448 kB / 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.001389/0.001389, allocations: 70.03 kB / 441.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.131, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.5595/0.6905, allocations: 163.4 MB / 0.6474 GB, free: 7.137 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009979/0.7006, allocations: 4.102 MB / 0.6514 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009308/0.7015, allocations: 19.88 kB / 0.6514 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.7027, allocations: 210.6 kB / 0.6516 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004348/0.7072, allocations: 0.8274 MB / 0.6524 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003055/0.7102, allocations: 0.6747 MB / 0.6531 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002419/0.7127, allocations: 1.146 MB / 0.6542 GB, free: 140 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007775/0.7135, allocations: 329.7 kB / 0.6545 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.7147, allocations: 466.2 kB / 0.655 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008753/0.7156, allocations: 378.5 kB / 0.6553 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002226/0.7158, allocations: 44 kB / 0.6554 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/0.7176, allocations: 0.6006 MB / 0.656 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003053/0.7179, allocations: 151.5 kB / 0.6561 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005175/0.7184, allocations: 270.8 kB / 0.6564 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002144/0.7206, allocations: 0.9859 MB / 0.6573 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.7206, allocations: 0 / 0.6573 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7206, allocations: 0 / 0.6573 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.158e-05/0.7207, allocations: 0 / 0.6573 GB, free: 12.93 MB / 0.4981 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.002553/0.7232, allocations: 0.917 MB / 0.6582 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.7233, allocations: 15.89 kB / 0.6582 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005631/0.7239, allocations: 75.64 kB / 0.6583 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008118/0.7247, allocations: 410.6 kB / 0.6587 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.67e-05/0.7248, allocations: 70.67 kB / 0.6588 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-05/0.7249, allocations: 36 kB / 0.6588 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.726, allocations: 0.5204 MB / 0.6593 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.7261, allocations: 4 kB / 0.6593 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.848e-05/0.7261, allocations: 16 kB / 0.6593 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.792e-05/0.7262, allocations: 16.64 kB / 0.6594 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009519/0.7271, allocations: 410.1 kB / 0.6597 GB, free: 10.33 MB / 0.4981 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.003569/0.7307, allocations: 2.484 MB / 0.6622 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008283/0.7315, allocations: 343.3 kB / 0.6625 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003829/0.7319, allocations: 168.2 kB / 0.6627 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-05/0.732, allocations: 8.266 kB / 0.6627 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000596/0.7326, allocations: 272.1 kB / 0.6629 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.234e-06/0.7326, allocations: 4 kB / 0.6629 GB, free: 6.855 MB / 0.4981 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.01203/0.7447, allocations: 3.238 MB / 0.6661 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.7448, allocations: 162.2 kB / 0.6662 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005291/0.7453, allocations: 389.5 kB / 0.6666 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.116e-05/0.7454, allocations: 33.7 kB / 0.6667 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.7456, allocations: 264.5 kB / 0.6669 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.7458, allocations: 166.6 kB / 0.6671 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.746, allocations: 126.3 kB / 0.6672 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.7462, allocations: 358.8 kB / 0.6675 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005982/0.7468, allocations: 217.1 kB / 0.6677 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007677/0.7476, allocations: 410.6 kB / 0.6681 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.749, allocations: 0.6355 MB / 0.6687 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.749, allocations: 4 kB / 0.6687 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001961/0.7509, allocations: 0.7827 MB / 0.6695 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.977e-05/0.751, allocations: 40.34 kB / 0.6696 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.751, allocations: 9.562 kB / 0.6696 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005123/0.7515, allocations: 121.5 kB / 0.6697 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005541/0.7521, allocations: 139.8 kB / 0.6698 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006391/0.7528, allocations: 0.6733 MB / 0.6705 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005751/0.7534, allocations: 52.02 kB / 0.6705 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.945e-05/0.7535, allocations: 47.98 kB / 0.6706 GB, free: 14.64 MB / 0.5137 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.0003203/0.7538, allocations: 193.6 kB / 0.6707 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.7539, allocations: 47.72 kB / 0.6708 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.7559, allocations: 0.7445 MB / 0.6715 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.7559, allocations: 4 kB / 0.6715 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.7559, allocations: 0 / 0.6715 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.756, allocations: 3.984 kB / 0.6715 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002822/0.7588, allocations: 1.282 MB / 0.6728 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.7588, allocations: 0 / 0.6728 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004763/0.7593, allocations: 103.9 kB / 0.6729 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005809/0.7599, allocations: 108.9 kB / 0.673 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.442e-05/0.7599, allocations: 15.94 kB / 0.673 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002279/0.7622, allocations: 1.829 MB / 0.6748 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.7622, allocations: 3.938 kB / 0.6748 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002429/0.7647, allocations: 0.9803 MB / 0.6757 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003437/0.765, allocations: 172.7 kB / 0.6759 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.7652, allocations: 8 kB / 0.6759 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004828/0.7657, allocations: 51.94 kB / 0.676 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/0.7658, allocations: 63.86 kB / 0.676 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.705e-05/0.7659, allocations: 32 kB / 0.6761 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003889/0.7663, allocations: 271.1 kB / 0.6763 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7663, allocations: 0 / 0.6763 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009896/0.7673, allocations: 239.7 kB / 0.6765 GB, free: 8.227 MB / 0.5137 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.001056/0.7684, allocations: 324.9 kB / 0.6769 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001726/0.7701, allocations: 0.6071 MB / 0.6774 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.7701, allocations: 0 / 0.6774 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000942/0.7711, allocations: 414.2 kB / 0.6778 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.7722, allocations: 229 kB / 0.6781 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.7751, allocations: 1.158 MB / 0.6792 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008345/0.7759, allocations: 0.863 MB / 0.68 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006852/0.7766, allocations: 148.6 kB / 0.6802 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000271/0.7769, allocations: 79.41 kB / 0.6803 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of SimCode: time 1.693e-06/0.7769, allocations: 0 / 0.6803 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of Templates: time 0.02562/0.8025, allocations: 13.66 MB / 0.6936 GB, free: 6.699 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches