Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.00147/0.00147, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001728/0.001728, allocations: 161.7 kB / 24.26 MB, free: 172 kB / 18.57 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.553/1.553, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3679/0.3679, allocations: 32.8 MB / 293.9 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 375.2 MB, free: 5.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.614e-05/3.84e-05, allocations: 6.25 kB / 375.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003164/0.003202, allocations: 1.621 MB / 376.8 MB, free: 3.379 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000333/0.003535, allocations: 107.5 kB / 377 MB, free: 3.273 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.314e-05/0.003608, allocations: 0 / 377 MB, free: 3.273 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.742e-05/0.003676, allocations: 23.8 kB / 377 MB, free: 3.25 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.003805, allocations: 39.69 kB / 377 MB, free: 3.211 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.003946, allocations: 23.97 kB / 377 MB, free: 3.188 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.004133, allocations: 127.3 kB / 377.2 MB, free: 3.062 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.004274, allocations: 33.14 kB / 377.2 MB, free: 3.031 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.004421, allocations: 75.8 kB / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.085e-05/0.004512, allocations: 35.89 kB / 377.3 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/0.004545, allocations: 12 kB / 377.3 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.192e-05/0.004567, allocations: 11.94 kB / 377.3 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.93e-05/0.004596, allocations: 15.94 kB / 377.3 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.932e-05/0.004665, allocations: 47.91 kB / 377.4 MB, free: 2.836 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.004883, allocations: 123.6 kB / 377.5 MB, free: 2.715 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.00489, allocations: 3.984 kB / 377.5 MB, free: 2.711 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.004891, allocations: 0 / 377.5 MB, free: 2.711 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.004896, allocations: 4 kB / 377.5 MB, free: 2.707 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006297/0.005526, allocations: 326.1 kB / 377.8 MB, free: 2.352 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.00557, allocations: 8.031 kB / 377.8 MB, free: 2.344 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.296e-05/0.005643, allocations: 24.84 kB / 377.9 MB, free: 2.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.005866, allocations: 133.6 kB / 378 MB, free: 2.164 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.005888, allocations: 12.61 kB / 378 MB, free: 2.152 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.483e-05/0.005933, allocations: 16.38 kB / 378 MB, free: 2.137 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.006212, allocations: 133.5 kB / 378.2 MB, free: 1.996 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.006228, allocations: 192 / 378.2 MB, free: 1.996 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.006249, allocations: 8.375 kB / 378.2 MB, free: 1.988 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.006255, allocations: 384 / 378.2 MB, free: 1.988 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.006377, allocations: 59.91 kB / 378.2 MB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008011/0.007178, allocations: 452.3 kB / 378.7 MB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.007335, allocations: 81.14 kB / 378.7 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.318e-05/0.007409, allocations: 45.77 kB / 378.8 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.007421, allocations: 0 / 378.8 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.007455, allocations: 34.56 kB / 378.8 MB, free: 1.262 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 8.52e-07/0.007456, allocations: 0 / 378.8 MB, free: 1.262 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005802/0.008036, allocations: 151.5 kB / 379 MB, free: 1.102 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/0.008104, allocations: 77.11 kB / 379 MB, free: 1.008 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.008229, allocations: 121.8 kB / 379.2 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.008251, allocations: 29.64 kB / 379.2 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.008362, allocations: 127.8 kB / 379.3 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.0084, allocations: 39.69 kB / 379.4 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.008449, allocations: 25.72 kB / 379.4 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.008627, allocations: 322.8 kB / 379.7 MB, free: 328 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.739e-05/0.008675, allocations: 23.98 kB / 379.7 MB, free: 304 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.008785, allocations: 87.81 kB / 379.8 MB, free: 188 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.008956, allocations: 128.4 kB / 379.9 MB, free: 28 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.008958, allocations: 0 / 379.9 MB, free: 28 kB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003374/0.009296, allocations: 171 kB / 380.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.009313, allocations: 8 kB / 380.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.009319, allocations: 0 / 380.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002518/0.009571, allocations: 45.89 kB / 380.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.408e-05/0.009665, allocations: 19.98 kB / 380.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.01209, allocations: 2.485 MB / 382.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.752e-05/0.01215, allocations: 15.92 kB / 382.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.01217, allocations: 8 kB / 382.7 MB, free: 13.05 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001425/0.01231, allocations: 133.7 kB / 382.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.01236, allocations: 7.953 kB / 382.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.01239, allocations: 12 kB / 382.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.01239, allocations: 4 kB / 382.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.01239, allocations: 4.094 kB / 382.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.0124, allocations: 4 kB / 382.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.01263, allocations: 141.2 kB / 383 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.01263, allocations: 0 / 383 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.625e-05/0.01272, allocations: 15.98 kB / 383 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001132/0.01283, allocations: 37.64 kB / 383 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.01285, allocations: 4 kB / 383 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002162/0.01501, allocations: 2.474 MB / 385.5 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.289e-06/0.01501, allocations: 4.031 kB / 385.5 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.0154, allocations: 304.3 kB / 385.8 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.167e-05/0.01542, allocations: 15.98 kB / 385.8 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.01543, allocations: 320 / 385.8 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.387e-05/0.01552, allocations: 4 kB / 385.8 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.01556, allocations: 15.92 kB / 385.8 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.01556, allocations: 7.938 kB / 385.9 MB, free: 9.605 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.585e-05/0.01564, allocations: 91.27 kB / 385.9 MB, free: 9.516 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01564, allocations: 0 / 385.9 MB, free: 9.516 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003715/0.01601, allocations: 39.89 kB / 386 MB, free: 9.477 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001506/0.01616, allocations: 91.25 kB / 386.1 MB, free: 9.375 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005082/0.01667, allocations: 305.1 kB / 386.4 MB, free: 9.051 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01667, allocations: 0 / 386.4 MB, free: 9.051 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002972/0.01697, allocations: 253.2 kB / 386.6 MB, free: 8.777 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004642/0.01743, allocations: 35.92 kB / 386.7 MB, free: 8.746 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007555/0.01819, allocations: 382.2 kB / 387 MB, free: 8.344 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.01831, allocations: 97.8 kB / 387.1 MB, free: 8.227 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.84e-05/0.01835, allocations: 8.969 kB / 387.1 MB, free: 8.215 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.01838, allocations: 12.5 kB / 387.1 MB, free: 8.203 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01838, allocations: 0 / 387.1 MB, free: 8.203 MB / 362.7 MB Notification: Performance of Templates: time 0.005156/0.02354, allocations: 1.669 MB / 388.8 MB, free: 6.566 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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: 4.884427592973225]