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.001183/0.001187, allocations: 106.5 kB / 17.03 MB, free: 5.664 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.001184/0.001184, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.821/1.821, allocations: 205.1 MB / 223.8 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.2607/0.2607, allocations: 43.52 MB / 314.7 MB, free: 472 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.00176/0.00176, allocations: 66.78 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1523, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.6235/0.7759, allocations: 163.3 MB / 0.5911 GB, free: 11.81 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007144/0.7831, allocations: 4.102 MB / 0.5951 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006877/0.7838, allocations: 10.62 kB / 0.5951 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008456/0.7847, allocations: 213.2 kB / 0.5953 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002744/0.7875, allocations: 0.8361 MB / 0.5962 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002194/0.7897, allocations: 0.6733 MB / 0.5968 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001794/0.7915, allocations: 1.152 MB / 0.5979 GB, free: 9.824 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005268/0.792, allocations: 330.4 kB / 0.5983 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009224/0.793, allocations: 463.5 kB / 0.5987 GB, free: 9.551 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000539/0.7935, allocations: 375.7 kB / 0.5991 GB, free: 9.414 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.373e-05/0.7936, allocations: 44.94 kB / 0.5991 GB, free: 9.414 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.7952, allocations: 0.5954 MB / 0.5997 GB, free: 9.277 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.7954, allocations: 160.8 kB / 0.5998 GB, free: 9.215 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000374/0.7958, allocations: 268.9 kB / 0.6001 GB, free: 9.121 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001817/0.7976, allocations: 0.9757 MB / 0.601 GB, free: 8.711 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.1e-05/0.7976, allocations: 3.438 kB / 0.601 GB, free: 8.711 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.7976, allocations: 0 / 0.601 GB, free: 8.711 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.7977, allocations: 2.094 kB / 0.601 GB, free: 8.711 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.002301/0.8, allocations: 0.8952 MB / 0.6019 GB, free: 8.043 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.332e-05/0.8001, allocations: 14.05 kB / 0.6019 GB, free: 8.039 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000522/0.8006, allocations: 71.86 kB / 0.602 GB, free: 8.008 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007858/0.8014, allocations: 415.7 kB / 0.6024 GB, free: 7.699 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.8015, allocations: 55.02 kB / 0.6025 GB, free: 7.668 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.54e-05/0.8016, allocations: 38.69 kB / 0.6025 GB, free: 7.668 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.8026, allocations: 0.5294 MB / 0.603 GB, free: 7.316 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.8027, allocations: 10.09 kB / 0.603 GB, free: 7.309 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.197e-05/0.8027, allocations: 13.75 kB / 0.603 GB, free: 7.301 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.424e-05/0.8028, allocations: 20.94 kB / 0.603 GB, free: 7.289 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008897/0.8037, allocations: 401.4 kB / 0.6034 GB, free: 7.105 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.003517/0.8072, allocations: 2.484 MB / 0.6059 GB, free: 4.875 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008549/0.8081, allocations: 338.5 kB / 0.6062 GB, free: 4.703 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003489/0.8084, allocations: 161.9 kB / 0.6063 GB, free: 4.621 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.42e-05/0.8085, allocations: 8.297 kB / 0.6063 GB, free: 4.621 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005784/0.8091, allocations: 268.5 kB / 0.6066 GB, free: 4.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 2.795e-06/0.8091, allocations: 4 kB / 0.6066 GB, free: 4.426 MB / 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.01159/0.8207, allocations: 3.239 MB / 0.6098 GB, free: 2.512 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.8208, allocations: 159.5 kB / 0.6099 GB, free: 2.324 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000497/0.8213, allocations: 394.4 kB / 0.6103 GB, free: 2.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.343e-05/0.8214, allocations: 40.92 kB / 0.6103 GB, free: 2.027 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/0.8217, allocations: 254.1 kB / 0.6106 GB, free: 1.805 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.8218, allocations: 160.7 kB / 0.6107 GB, free: 1.668 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.822, allocations: 124.2 kB / 0.6108 GB, free: 1.598 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.8222, allocations: 356.5 kB / 0.6112 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005653/0.8228, allocations: 221.1 kB / 0.6114 GB, free: 1.148 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007128/0.8235, allocations: 412.8 kB / 0.6118 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.8247, allocations: 0.6293 MB / 0.6124 GB, free: 356 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.8247, allocations: 2.656 kB / 0.6124 GB, free: 356 kB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001817/0.8266, allocations: 0.7995 MB / 0.6132 GB, free: 15.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.841e-05/0.8266, allocations: 32.55 kB / 0.6132 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.8266, allocations: 9.797 kB / 0.6132 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004613/0.8271, allocations: 109.5 kB / 0.6133 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005392/0.8277, allocations: 134.6 kB / 0.6135 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006444/0.8283, allocations: 0.6841 MB / 0.6141 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005721/0.8289, allocations: 44.39 kB / 0.6142 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.97e-05/0.829, allocations: 46.38 kB / 0.6142 GB, free: 15.17 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 (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.0004221/0.8294, allocations: 200.2 kB / 0.6144 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.8296, allocations: 49.97 kB / 0.6145 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001891/0.8315, allocations: 0.7418 MB / 0.6152 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/0.8315, allocations: 4.812 kB / 0.6152 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.8315, allocations: 3.938 kB / 0.6152 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.8315, allocations: 0 / 0.6152 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002639/0.8342, allocations: 1.284 MB / 0.6164 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.8342, allocations: 0 / 0.6164 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004668/0.8346, allocations: 103.9 kB / 0.6165 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000558/0.8352, allocations: 104.9 kB / 0.6166 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.663e-05/0.8353, allocations: 20 kB / 0.6167 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/0.8372, allocations: 1.816 MB / 0.6184 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.8372, allocations: 3.984 kB / 0.6184 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/0.8394, allocations: 0.9762 MB / 0.6194 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003521/0.8398, allocations: 168.5 kB / 0.6196 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.8399, allocations: 16 kB / 0.6196 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006314/0.8406, allocations: 39.95 kB / 0.6196 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002142/0.8408, allocations: 55.92 kB / 0.6197 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.469e-05/0.8409, allocations: 35.98 kB / 0.6197 GB, free: 10.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004333/0.8413, allocations: 279.1 kB / 0.62 GB, free: 9.738 MB / 446.1 MB Notification: Performance of sort global known variables: time 3e-07/0.8414, allocations: 0 / 0.62 GB, free: 9.738 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001287/0.8427, allocations: 235.9 kB / 0.6202 GB, free: 9.508 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 (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.001038/0.8437, allocations: 330.6 kB / 0.6205 GB, free: 9.203 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002068/0.8458, allocations: 0.6025 MB / 0.6211 GB, free: 8.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.8458, allocations: 7.938 kB / 0.6211 GB, free: 8.582 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.8469, allocations: 423.8 kB / 0.6215 GB, free: 8.156 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/0.8484, allocations: 204.8 kB / 0.6217 GB, free: 7.961 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.8512, allocations: 1.158 MB / 0.6228 GB, free: 6.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005447/0.8517, allocations: 0.8513 MB / 0.6237 GB, free: 5.887 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007477/0.8525, allocations: 152.6 kB / 0.6238 GB, free: 5.734 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/0.8528, allocations: 75.42 kB / 0.6239 GB, free: 5.66 MB / 446.1 MB Notification: Performance of SimCode: time 1.162e-06/0.8528, allocations: 0 / 0.6239 GB, free: 5.66 MB / 446.1 MB Notification: Performance of Templates: time 0.03136/0.8842, allocations: 13.54 MB / 0.6371 GB, free: 8.188 MB / 462.1 MB 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins1/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