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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00134/0.00134, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001553/0.001553, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 230.3 MB / 258 MB, free: 8.234 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2301/0.2301, allocations: 46.89 MB / 361.3 MB, free: 4.453 MB / 286.1 MB " [Timeout remaining time 180] 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: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 79.86 kB / 0.4971 GB, free: 7.609 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.312, allocations: 66.03 MB / 0.5615 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.2003/0.5123, allocations: 164 MB / 0.7217 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003761/0.5161, allocations: 1.669 MB / 0.7234 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005754/0.5166, allocations: 19.88 kB / 0.7234 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008139/0.5175, allocations: 214.5 kB / 0.7236 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002429/0.5199, allocations: 0.7994 MB / 0.7244 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.5218, allocations: 0.6805 MB / 0.725 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002277/0.5241, allocations: 1.166 MB / 0.7262 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007486/0.5248, allocations: 286.2 kB / 0.7264 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001347/0.5262, allocations: 490.3 kB / 0.7269 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009191/0.5271, allocations: 406.3 kB / 0.7273 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.5273, allocations: 44 kB / 0.7273 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/0.5289, allocations: 0.5965 MB / 0.7279 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002628/0.5291, allocations: 151.5 kB / 0.7281 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004429/0.5296, allocations: 274.7 kB / 0.7283 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001835/0.5314, allocations: 0.9653 MB / 0.7293 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5314, allocations: 0 / 0.7293 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.684e-06/0.5314, allocations: 0 / 0.7293 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.569e-05/0.5314, allocations: 4 kB / 0.7293 GB, free: 8.234 MB / 0.5606 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.002134/0.5336, allocations: 0.8493 MB / 0.7301 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.5336, allocations: 8.031 kB / 0.7301 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004324/0.534, allocations: 79.61 kB / 0.7302 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007677/0.5348, allocations: 340.9 kB / 0.7305 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.578e-05/0.5349, allocations: 62.64 kB / 0.7306 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.008e-05/0.535, allocations: 47.94 kB / 0.7306 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.5361, allocations: 0.5243 MB / 0.7311 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.5361, allocations: 0 / 0.7311 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.614e-05/0.5362, allocations: 16 kB / 0.7311 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/0.5362, allocations: 16.66 kB / 0.7311 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.5372, allocations: 402.2 kB / 0.7315 GB, free: 5.789 MB / 0.5606 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.003545/0.5407, allocations: 2.427 MB / 0.7339 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008949/0.5416, allocations: 333.7 kB / 0.7342 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004086/0.542, allocations: 153.3 kB / 0.7344 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.94e-05/0.5421, allocations: 8.266 kB / 0.7344 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006132/0.5427, allocations: 260 kB / 0.7346 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.974e-06/0.5427, allocations: 0 / 0.7346 GB, free: 2.43 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.2932/0.8359, allocations: 3.015 MB / 0.7376 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.8359, allocations: 134.6 kB / 0.7377 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005669/0.8365, allocations: 385.2 kB / 0.7381 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.941e-05/0.8365, allocations: 36.95 kB / 0.7381 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.8367, allocations: 261.8 kB / 0.7383 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.8368, allocations: 170.5 kB / 0.7385 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/0.837, allocations: 123.7 kB / 0.7386 GB, free: 176 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.75e-05/0.8371, allocations: 356.6 kB / 0.739 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006807/0.8378, allocations: 220 kB / 0.7392 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008722/0.8387, allocations: 403.6 kB / 0.7396 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.84, allocations: 0.641 MB / 0.7402 GB, free: 175 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.84, allocations: 1.781 kB / 0.7402 GB, free: 175 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002003/0.842, allocations: 0.7893 MB / 0.741 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.8421, allocations: 34.69 kB / 0.741 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.8421, allocations: 7.875 kB / 0.741 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004172/0.8425, allocations: 117.2 kB / 0.7411 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005187/0.843, allocations: 138.2 kB / 0.7412 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004596/0.8435, allocations: 0.6703 MB / 0.7419 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004873/0.844, allocations: 48.61 kB / 0.7419 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/0.844, allocations: 49.36 kB / 0.742 GB, free: 174 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.0002497/0.8443, allocations: 198.6 kB / 0.7422 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.822e-05/0.8444, allocations: 54.02 kB / 0.7422 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001783/0.8462, allocations: 0.736 MB / 0.743 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.8462, allocations: 7.844 kB / 0.743 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.8462, allocations: 0 / 0.743 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.8462, allocations: 4.828 kB / 0.743 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/0.8484, allocations: 1.245 MB / 0.7442 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.8484, allocations: 0 / 0.7442 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/0.8488, allocations: 109.8 kB / 0.7443 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000503/0.8493, allocations: 99.17 kB / 0.7444 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.8493, allocations: 23.67 kB / 0.7444 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/0.8506, allocations: 1.712 MB / 0.7461 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.8506, allocations: 8.875 kB / 0.7461 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.8526, allocations: 0.9751 MB / 0.747 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/0.8528, allocations: 87 kB / 0.7471 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.954e-05/0.8529, allocations: 15.98 kB / 0.7471 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004251/0.8533, allocations: 39.95 kB / 0.7472 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.8534, allocations: 63.78 kB / 0.7472 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.903e-05/0.8535, allocations: 39.98 kB / 0.7473 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002347/0.8537, allocations: 275.1 kB / 0.7475 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.8537, allocations: 0 / 0.7475 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00078/0.8545, allocations: 234.4 kB / 0.7478 GB, free: 169.4 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.0006085/0.8551, allocations: 290.2 kB / 0.748 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001353/0.8564, allocations: 0.5901 MB / 0.7486 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.8565, allocations: 0 / 0.7486 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007125/0.8572, allocations: 401.5 kB / 0.749 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009618/0.8581, allocations: 206.6 kB / 0.7492 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.8599, allocations: 1.165 MB / 0.7503 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.8602, allocations: 0.8593 MB / 0.7512 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004278/0.8606, allocations: 148.6 kB / 0.7513 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.8608, allocations: 71.41 kB / 0.7514 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of SimCode: time 3.51e-07/0.8608, allocations: 0 / 0.7514 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.0169/0.8777, allocations: 13.7 MB / 0.7648 GB, free: 152 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.949027167633176]