Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.001059/0.001059, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.00187/0.00187, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 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.018/1.018, allocations: 177.1 MB / 206.1 MB, free: 4.48 MB / 186.7 MB " [Timeout remaining time 179] 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.1448/0.1448, allocations: 34.26 MB / 296.9 MB, free: 13.91 MB / 282.7 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.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.107e-05, allocations: 2.312 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.003367/0.003388, allocations: 2.809 MB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.004617, allocations: 0.7633 MB / 382.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/0.004816, allocations: 7.938 kB / 382.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001806/0.004997, allocations: 63.33 kB / 382.9 MB, free: 19.73 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.005224, allocations: 134.8 kB / 383.1 MB, free: 19.6 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.005508, allocations: 107.8 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003706/0.005879, allocations: 461.6 kB / 383.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.006067, allocations: 98.16 kB / 383.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003272/0.006395, allocations: 267.4 kB / 384 MB, free: 18.68 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.006565, allocations: 127.7 kB / 384.1 MB, free: 18.56 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.275e-05/0.006608, allocations: 32 kB / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.135e-05/0.006689, allocations: 43.92 kB / 384.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.86e-05/0.006738, allocations: 83.67 kB / 384.3 MB, free: 18.4 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.006844, allocations: 135.7 kB / 384.4 MB, free: 18.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002983/0.007143, allocations: 291 kB / 384.7 MB, free: 17.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.007145, allocations: 0 / 384.7 MB, free: 17.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.007145, allocations: 0 / 384.7 MB, free: 17.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.007151, allocations: 0 / 384.7 MB, free: 17.98 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0006483/0.007799, allocations: 0.6793 MB / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.007831, allocations: 8.031 kB / 385.4 MB, free: 17.26 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002127/0.008044, allocations: 92.64 kB / 385.4 MB, free: 17.17 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.008277, allocations: 230.3 kB / 385.7 MB, free: 16.92 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.008301, allocations: 33.38 kB / 385.7 MB, free: 16.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.142e-05/0.008352, allocations: 44.31 kB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.008694, allocations: 340.8 kB / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.008717, allocations: 8.141 kB / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.008743, allocations: 16.38 kB / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.008753, allocations: 15.94 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.008925, allocations: 118.5 kB / 386.2 MB, free: 16.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.01021, allocations: 1.971 MB / 388.2 MB, free: 14.24 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.01045, allocations: 281.6 kB / 388.5 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.58e-05/0.01052, allocations: 89.83 kB / 388.6 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.01053, allocations: 11.94 kB / 388.6 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.01056, allocations: 45.38 kB / 388.6 MB, free: 13.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 1.663e-06/0.01056, allocations: 0 / 388.6 MB, free: 13.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.0003912/0.01095, allocations: 201.2 kB / 388.8 MB, free: 13.49 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.011, allocations: 213.6 kB / 389 MB, free: 13.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.01114, allocations: 314 kB / 389.3 MB, free: 12.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.01116, allocations: 29.7 kB / 389.4 MB, free: 12.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.54e-05/0.01125, allocations: 290.6 kB / 389.6 MB, free: 12.58 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.712e-05/0.01132, allocations: 135.3 kB / 389.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.479e-05/0.01141, allocations: 103.9 kB / 389.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.346e-05/0.01148, allocations: 0.5195 MB / 390.4 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.934e-05/0.01154, allocations: 41.27 kB / 390.4 MB, free: 11.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.01175, allocations: 0.5118 MB / 391 MB, free: 11.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003894/0.01214, allocations: 0.6245 MB / 391.6 MB, free: 10.19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.01214, allocations: 4 kB / 391.6 MB, free: 10.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0005234/0.01267, allocations: 453.3 kB / 392 MB, free: 9.738 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.01268, allocations: 12 kB / 392 MB, free: 9.727 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.01269, allocations: 15.94 kB / 392.1 MB, free: 9.711 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.01271, allocations: 12 kB / 392.1 MB, free: 9.699 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.01302, allocations: 139.8 kB / 392.2 MB, free: 9.562 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.01303, allocations: 27.86 kB / 392.2 MB, free: 9.535 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.01326, allocations: 59.62 kB / 392.3 MB, free: 9.477 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.01328, allocations: 28.28 kB / 392.3 MB, free: 9.449 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.321e-05/0.01338, allocations: 212.2 kB / 392.5 MB, free: 9.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.01351, allocations: 43.75 kB / 392.6 MB, free: 9.188 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.573e-05/0.01356, allocations: 34.3 kB / 392.6 MB, free: 9.152 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.01356, allocations: 4 kB / 392.6 MB, free: 9.148 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.01357, allocations: 4 kB / 392.6 MB, free: 9.145 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01357, allocations: 0 / 392.6 MB, free: 9.145 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007894/0.01436, allocations: 0.6056 MB / 393.2 MB, free: 8.496 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.01436, allocations: 0 / 393.2 MB, free: 8.496 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003117/0.01468, allocations: 91.95 kB / 393.3 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.01468, allocations: 4 kB / 393.3 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.0147, allocations: 8 kB / 393.3 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.01471, allocations: 11.92 kB / 393.3 MB, free: 8.383 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.01471, allocations: 4 kB / 393.3 MB, free: 8.379 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/0.01508, allocations: 1.077 MB / 394.4 MB, free: 7.266 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/0.01511, allocations: 31.94 kB / 394.4 MB, free: 7.234 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.01514, allocations: 11.98 kB / 394.4 MB, free: 7.223 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002944/0.01543, allocations: 15.98 kB / 394.5 MB, free: 7.207 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.01548, allocations: 31.84 kB / 394.5 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.01549, allocations: 7.984 kB / 394.5 MB, free: 7.168 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.253e-05/0.01557, allocations: 199 kB / 394.7 MB, free: 6.977 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01557, allocations: 0 / 394.7 MB, free: 6.977 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006483/0.01621, allocations: 103.8 kB / 394.8 MB, free: 6.875 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.439e-05/0.0163, allocations: 103.2 kB / 394.9 MB, free: 6.766 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002705/0.01657, allocations: 227.2 kB / 395.1 MB, free: 6.539 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.01657, allocations: 0.9375 kB / 395.1 MB, free: 6.539 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.239e-05/0.01665, allocations: 84.28 kB / 395.2 MB, free: 6.453 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008307/0.01748, allocations: 67.94 kB / 395.3 MB, free: 6.387 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.01886, allocations: 1.203 MB / 396.5 MB, free: 5.113 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.991e-05/0.01895, allocations: 108.6 kB / 396.6 MB, free: 4.988 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.01909, allocations: 43.25 kB / 396.6 MB, free: 4.949 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.01924, allocations: 130.2 kB / 396.7 MB, free: 4.82 MB / 314.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01924, allocations: 0 / 396.7 MB, free: 4.82 MB / 314.7 MB Notification: Performance of Templates: time 0.006238/0.02548, allocations: 3.215 MB / 400 MB, free: 1.68 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4203423550352454]