Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001726/0.001726, 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.001868/0.001868, allocations: 161.7 kB / 24.27 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.501/1.501, allocations: 177.1 MB / 204.6 MB, free: 5.574 MB / 186.7 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.3822/0.3822, allocations: 34.26 MB / 295.3 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] 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.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.931e-05/4.138e-05, allocations: 2.312 kB / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003166/0.003208, allocations: 1.624 MB / 378.9 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003357/0.003543, allocations: 115.5 kB / 379 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.22e-05/0.003605, allocations: 0 / 379 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.028e-05/0.003666, allocations: 19.8 kB / 379 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.003788, allocations: 39.64 kB / 379.1 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001199/0.003908, allocations: 27.97 kB / 379.1 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.004084, allocations: 131.3 kB / 379.2 MB, free: 1 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.004206, allocations: 25.17 kB / 379.2 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.004349, allocations: 75.8 kB / 379.3 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.967e-05/0.004429, allocations: 35.89 kB / 379.4 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.004453, allocations: 12 kB / 379.4 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.23e-05/0.004475, allocations: 8 kB / 379.4 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.114e-05/0.004506, allocations: 23.91 kB / 379.4 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.195e-05/0.004568, allocations: 39.91 kB / 379.4 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.004756, allocations: 119.6 kB / 379.5 MB, free: 0.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.004759, allocations: 0 / 379.5 MB, free: 0.668 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.308e-06/0.004763, allocations: 8 kB / 379.6 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.004767, allocations: 0 / 379.6 MB, free: 0.6602 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.0005382/0.005305, allocations: 334.1 kB / 379.9 MB, free: 304 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.00534, allocations: 8.031 kB / 379.9 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.448e-05/0.005405, allocations: 24.84 kB / 379.9 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.005603, allocations: 137.6 kB / 380.1 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.005623, allocations: 12.61 kB / 380.1 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.00566, allocations: 12.38 kB / 380.1 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.005916, allocations: 129.5 kB / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.00593, allocations: 192 / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.005952, allocations: 16.36 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.00596, allocations: 4.375 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.00608, allocations: 63.83 kB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007611/0.006841, allocations: 444.4 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.006998, allocations: 89.16 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.86e-05/0.007046, allocations: 21.72 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.007059, allocations: 0 / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/0.007112, allocations: 42.64 kB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.007113, allocations: 4 kB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005805/0.007693, allocations: 151.1 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/0.007761, allocations: 77.11 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.007895, allocations: 121.8 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.007917, allocations: 29.7 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.175e-05/0.008009, allocations: 123.8 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.008044, allocations: 31.7 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.438e-05/0.008109, allocations: 33.7 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.008274, allocations: 322.8 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.626e-05/0.00832, allocations: 19.98 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.008423, allocations: 88.52 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.008594, allocations: 120.5 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.008596, allocations: 4 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000311/0.008907, allocations: 175.4 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.008924, allocations: 8 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.00893, allocations: 0 / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002203/0.00915, allocations: 41.95 kB / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.415e-05/0.009244, allocations: 27.92 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/0.01161, allocations: 2.477 MB / 384.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.622e-05/0.01168, allocations: 16.23 kB / 384.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.01169, allocations: 15.98 kB / 384.7 MB, free: 11 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.0001234/0.01182, allocations: 129.7 kB / 384.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.01186, allocations: 7.953 kB / 384.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/0.01189, allocations: 15.98 kB / 384.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.01189, allocations: 0 / 384.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.01189, allocations: 0 / 384.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.0119, allocations: 0 / 384.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.01215, allocations: 149.1 kB / 385 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01215, allocations: 4 kB / 385 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.031e-05/0.01224, allocations: 16 kB / 385 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001131/0.01235, allocations: 33.7 kB / 385.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.01236, allocations: 0 / 385.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/0.01453, allocations: 2.482 MB / 387.6 MB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.01454, allocations: 4.031 kB / 387.6 MB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.0149, allocations: 304.3 kB / 387.9 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.814e-05/0.01492, allocations: 11.89 kB / 387.9 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.01493, allocations: 0 / 387.9 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.794e-05/0.01503, allocations: 4 kB / 387.9 MB, free: 7.578 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/0.01506, allocations: 8.031 kB / 387.9 MB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.01507, allocations: 12.16 kB / 387.9 MB, free: 7.559 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.592e-05/0.01514, allocations: 99.64 kB / 388 MB, free: 7.461 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01514, allocations: 0 / 388 MB, free: 7.461 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003603/0.0155, allocations: 39.89 kB / 388 MB, free: 7.422 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.0001308/0.01563, allocations: 91.25 kB / 388.1 MB, free: 7.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005123/0.01615, allocations: 301.7 kB / 388.4 MB, free: 7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01615, allocations: 0 / 388.4 MB, free: 7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003052/0.01645, allocations: 265.2 kB / 388.7 MB, free: 6.715 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005139/0.01697, allocations: 26.02 kB / 388.7 MB, free: 6.691 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007563/0.01772, allocations: 389.3 kB / 389.1 MB, free: 6.281 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.01784, allocations: 89.81 kB / 389.2 MB, free: 6.168 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.613e-05/0.01788, allocations: 12.97 kB / 389.2 MB, free: 6.152 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.01791, allocations: 12.5 kB / 389.2 MB, free: 6.141 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01791, allocations: 0 / 389.2 MB, free: 6.141 MB / 362.7 MB Notification: Performance of Templates: time 0.005046/0.02296, allocations: 1.669 MB / 390.9 MB, free: 4.504 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.897778232931159]