Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 205.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2343/0.2343, allocations: 46.96 MB / 361.6 MB, free: 4.059 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5046,variableFilter="time|accelerate.phi|accelerate.w|clutch.phi_rel|clutch.w_rel|damper.phi_rel|damper.w_rel|elastoBacklash.phi_rel|elastoBacklash.w_rel|gear2_1.phi_rel|gear2_1.w_rel|inertia13.phi|inertia13.w|inertia14.phi|inertia14.w|inertia15.phi|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia8.phi|inertia8.w|position.phi|position.w|speed.phi|speed.w|springDamper.phi_rel|springDamper.w_rel|bearingFriction.mode|brake.mode|clutch.mode|gear2_1.lossyGear.mode|lossyGear.mode",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.AllComponents") translateModel(ModelicaTest.Rotational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5046,variableFilter="time|accelerate.phi|accelerate.w|clutch.phi_rel|clutch.w_rel|damper.phi_rel|damper.w_rel|elastoBacklash.phi_rel|elastoBacklash.w_rel|gear2_1.phi_rel|gear2_1.w_rel|inertia13.phi|inertia13.w|inertia14.phi|inertia14.w|inertia15.phi|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia8.phi|inertia8.w|position.phi|position.w|speed.phi|speed.w|springDamper.phi_rel|springDamper.w_rel|bearingFriction.mode|brake.mode|clutch.mode|gear2_1.lossyGear.mode|lossyGear.mode",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.AllComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 63.91 kB / 0.4974 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3454, allocations: 66.04 MB / 0.5619 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.AllComponents): time 0.01234/0.3578, allocations: 8.574 MB / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008746/0.3665, allocations: 3.308 MB / 0.5735 GB, free: 8.258 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001836/0.3684, allocations: 55.62 kB / 0.5735 GB, free: 8.203 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.3695, allocations: 376.2 kB / 0.5739 GB, free: 7.832 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0034/0.3729, allocations: 0.8937 MB / 0.5747 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002777/0.3757, allocations: 1.029 MB / 0.5757 GB, free: 5.906 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005012/0.3807, allocations: 3.532 MB / 0.5792 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.3818, allocations: 0.6049 MB / 0.5798 GB, free: 1.711 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00259/0.3844, allocations: 1.484 MB / 0.5812 GB, free: 228 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002478/0.3869, allocations: 1.651 MB / 0.5828 GB, free: 14.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006949/0.3876, allocations: 296 kB / 0.5831 GB, free: 14.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.3886, allocations: 423.8 kB / 0.5835 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007947/0.3894, allocations: 0.7361 MB / 0.5843 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001572/0.391, allocations: 1.183 MB / 0.5854 GB, free: 11.94 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004702/0.3957, allocations: 3.494 MB / 0.5888 GB, free: 8.434 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/0.3957, allocations: 4 kB / 0.5888 GB, free: 8.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3957, allocations: 0 / 0.5888 GB, free: 8.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.701e-05/0.3958, allocations: 0 / 0.5888 GB, free: 8.43 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.008077/0.4039, allocations: 3.037 MB / 0.5918 GB, free: 5.344 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.4039, allocations: 8.031 kB / 0.5918 GB, free: 5.336 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001979/0.4059, allocations: 423 kB / 0.5922 GB, free: 4.922 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002559/0.4085, allocations: 1.119 MB / 0.5933 GB, free: 3.758 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006271/0.4091, allocations: 0.5743 MB / 0.5939 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005079/0.4096, allocations: 243.8 kB / 0.5941 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006007/0.4156, allocations: 2.655 MB / 0.5967 GB, free: 100 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001028/0.4157, allocations: 39.73 kB / 0.5967 GB, free: 60 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002623/0.416, allocations: 88.08 kB / 0.5968 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.596e-05/0.416, allocations: 52 kB / 0.5968 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006461/0.4225, allocations: 2.578 MB / 0.5994 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01387/0.4363, allocations: 5.974 MB / 0.6052 GB, free: 7.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005168/0.4415, allocations: 2.149 MB / 0.6073 GB, free: 5.039 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003184/0.4447, allocations: 1.283 MB / 0.6086 GB, free: 3.738 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000219/0.4449, allocations: 45.84 kB / 0.6086 GB, free: 3.691 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.84e-05/0.445, allocations: 68.53 kB / 0.6087 GB, free: 3.617 MB / 446.1 MB Notification: Performance of pre-optimization done (n=281): time 6.112e-06/0.445, allocations: 0 / 0.6087 GB, free: 3.617 MB / 446.1 MB Notification: Performance of matching and sorting (n=339): time 0.03286/0.4778, allocations: 13.07 MB / 0.6214 GB, free: 6.312 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001989/0.478, allocations: 321.4 kB / 0.6217 GB, free: 5.93 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/0.4799, allocations: 1.103 MB / 0.6228 GB, free: 4.812 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005533/0.4804, allocations: 101.7 kB / 0.6229 GB, free: 4.707 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006957/0.4811, allocations: 0.7424 MB / 0.6236 GB, free: 3.957 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001273/0.4824, allocations: 1.193 MB / 0.6248 GB, free: 2.754 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/0.4834, allocations: 0.5346 MB / 0.6253 GB, free: 2.211 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.4836, allocations: 305.1 kB / 0.6256 GB, free: 1.91 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002626/0.4862, allocations: 1.088 MB / 0.6267 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003153/0.4893, allocations: 1.587 MB / 0.6282 GB, free: 15.09 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005082/0.4944, allocations: 2.451 MB / 0.6306 GB, free: 12.52 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/0.4944, allocations: 4 kB / 0.6306 GB, free: 12.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=411) (initialization): time 0.007985/0.5024, allocations: 3.463 MB / 0.634 GB, free: 9.031 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/0.5024, allocations: 8.344 kB / 0.634 GB, free: 9.023 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.382e-05/0.5025, allocations: 12 kB / 0.634 GB, free: 9.012 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002934/0.5054, allocations: 1.139 MB / 0.6351 GB, free: 7.863 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003059/0.5085, allocations: 0.7099 MB / 0.6358 GB, free: 7.152 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/0.5196, allocations: 7.643 MB / 0.6433 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002602/0.5222, allocations: 235.7 kB / 0.6435 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002629/0.5225, allocations: 124 kB / 0.6436 GB, free: 14.88 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 38 (gear2_1.lossyGear.ideal,gear2_1.lossyGear.mode,$PRE.gear2_1.lossyGear.mode,gear2_1.lossyGear.locked,gear2_1.lossyGear.startBackward,gear2_1.lossyGear.startForward,gear2_1.lossyGear.tau_aPos,bearingFriction.free,lossyGear.ideal,lossyGear.mode,$PRE.lossyGear.mode,lossyGear.locked,lossyGear.startBackward,lossyGear.startForward,lossyGear.tau_aPos,brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,clutch.mode,$PRE.clutch.mode,clutch.locked,clutch.startBackward,$PRE.clutch.startBackward,clutch.startForward,$PRE.clutch.startForward,clutch.free,bearingFriction.mode,$PRE.bearingFriction.mode,bearingFriction.locked,bearingFriction.startBackward,$PRE.bearingFriction.startBackward,bearingFriction.startForward,$PRE.bearingFriction.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 331 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 5 systems {(2,22), (2,25), (1,7), (1,9), (1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.001195/0.5237, allocations: 493.1 kB / 0.6441 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005934/0.5243, allocations: 222.6 kB / 0.6443 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.5255, allocations: 0.599 MB / 0.6449 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.918e-05/0.5256, allocations: 15.94 kB / 0.6449 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.5256, allocations: 8 kB / 0.6449 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/0.5268, allocations: 480.2 kB / 0.6454 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003743/0.5272, allocations: 83.92 kB / 0.6455 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002498/0.5297, allocations: 311.6 kB / 0.6458 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007964/0.5305, allocations: 374.1 kB / 0.6461 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01259/0.543, allocations: 4.528 MB / 0.6505 GB, free: 7.754 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01098/0.554, allocations: 5.22 MB / 0.6556 GB, free: 2.48 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003557/0.5576, allocations: 1.383 MB / 0.657 GB, free: 1.094 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001239/0.5588, allocations: 0.7283 MB / 0.6577 GB, free: 368 kB / 494.1 MB Notification: Performance of Backend: time 3.7e-07/0.5588, allocations: 0 / 0.6577 GB, free: 368 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00869/0.5675, allocations: 2.775 MB / 0.6604 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of SimCode: time 0.009936/0.5774, allocations: 6.271 MB / 0.6665 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of Templates: time 0.077/0.6544, allocations: 47.05 MB / 0.7125 GB, free: 8.742 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.AllComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.AllComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.AllComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.AllComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.AllComponents.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: 6.992677883004944]