Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.0008772/0.0008772, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001091/0.001091, allocations: 169.9 kB / 24.91 MB, free: 8.723 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 0.9659/0.9659, allocations: 177.1 MB / 205.3 MB, free: 5.102 MB / 186.7 MB " [Timeout remaining time 179] 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.2478/0.2478, allocations: 32.8 MB / 294.6 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] 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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 3.938 kB / 323.2 MB, free: 9.746 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.719e-05, allocations: 3.672 kB / 323.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003123/0.00315, allocations: 2.834 MB / 326 MB, free: 6.891 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.004489, allocations: 0.8059 MB / 326.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.004646, allocations: 15.88 kB / 326.9 MB, free: 6.062 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.004778, allocations: 63.31 kB / 326.9 MB, free: 6 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.00497, allocations: 134.8 kB / 327.1 MB, free: 5.867 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.005261, allocations: 115.8 kB / 327.2 MB, free: 5.754 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000376/0.005637, allocations: 479.3 kB / 327.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.005808, allocations: 140.1 kB / 327.8 MB, free: 5.145 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002842/0.006093, allocations: 263.5 kB / 328 MB, free: 4.887 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.006239, allocations: 139.6 kB / 328.2 MB, free: 4.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.432e-05/0.006274, allocations: 36 kB / 328.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.583e-05/0.006329, allocations: 36 kB / 328.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.212e-05/0.006382, allocations: 87.66 kB / 328.3 MB, free: 4.594 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.607e-05/0.006478, allocations: 147.6 kB / 328.5 MB, free: 4.449 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.006755, allocations: 298.8 kB / 328.8 MB, free: 4.156 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.006758, allocations: 0 / 328.8 MB, free: 4.156 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.006759, allocations: 0 / 328.8 MB, free: 4.156 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.006763, allocations: 0 / 328.8 MB, free: 4.156 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0005855/0.007349, allocations: 0.5868 MB / 329.3 MB, free: 3.547 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.007377, allocations: 12.03 kB / 329.4 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.007566, allocations: 80.88 kB / 329.4 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.007786, allocations: 210.2 kB / 329.6 MB, free: 3.227 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.007805, allocations: 33.38 kB / 329.7 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/0.007847, allocations: 44.33 kB / 329.7 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.008108, allocations: 302.1 kB / 330 MB, free: 2.836 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.008121, allocations: 4.141 kB / 330 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.00814, allocations: 16.38 kB / 330 MB, free: 2.816 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.008149, allocations: 15.94 kB / 330.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.008318, allocations: 95.84 kB / 330.1 MB, free: 2.707 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007344/0.009053, allocations: 0.7513 MB / 330.9 MB, free: 1.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.009246, allocations: 219.5 kB / 331.1 MB, free: 1.688 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.732e-05/0.009324, allocations: 94.45 kB / 331.2 MB, free: 1.582 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.009343, allocations: 11.98 kB / 331.2 MB, free: 1.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.009365, allocations: 42.5 kB / 331.3 MB, free: 1.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.342e-06/0.009366, allocations: 3.938 kB / 331.3 MB, free: 1.516 MB / 298.7 MB Notification: Performance of matching and sorting (n=57): time 0.001721/0.01109, allocations: 1.577 MB / 332.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.01112, allocations: 110.8 kB / 332.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.435e-05/0.01122, allocations: 191.4 kB / 333.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.01124, allocations: 33.7 kB / 333.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.183e-05/0.0113, allocations: 185.4 kB / 333.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.948e-05/0.01139, allocations: 202.2 kB / 333.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/0.01146, allocations: 90.25 kB / 333.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.754e-05/0.01154, allocations: 350.7 kB / 334 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.972e-05/0.01159, allocations: 49.28 kB / 334 MB, free: 14.53 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.254e-05/0.01168, allocations: 149.5 kB / 334.2 MB, free: 14.35 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.01186, allocations: 249 kB / 334.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01186, allocations: 0 / 334.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003233/0.01218, allocations: 338.9 kB / 334.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.0122, allocations: 8 kB / 334.8 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.0122, allocations: 7.984 kB / 334.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001988/0.0124, allocations: 106.6 kB / 334.9 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.01258, allocations: 99.86 kB / 335 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/0.0148, allocations: 4.284 MB / 339.2 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.834e-05/0.01489, allocations: 16 kB / 339.3 MB, free: 8.941 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.01491, allocations: 15.94 kB / 339.3 MB, free: 8.926 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.848e-05/0.01501, allocations: 145.6 kB / 339.4 MB, free: 8.773 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.525e-05/0.01506, allocations: 39.97 kB / 339.5 MB, free: 8.734 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.539e-05/0.0151, allocations: 53.83 kB / 339.5 MB, free: 8.688 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.0151, allocations: 4 kB / 339.5 MB, free: 8.684 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.01511, allocations: 4 kB / 339.5 MB, free: 8.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01512, allocations: 0 / 339.5 MB, free: 8.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000778/0.01589, allocations: 0.8424 MB / 340.4 MB, free: 7.797 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.0159, allocations: 4.031 kB / 340.4 MB, free: 7.793 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.01609, allocations: 91.89 kB / 340.5 MB, free: 7.703 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001346/0.01622, allocations: 86.48 kB / 340.5 MB, free: 7.609 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.01624, allocations: 12 kB / 340.5 MB, free: 7.598 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/0.01774, allocations: 3.646 MB / 344.2 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.01774, allocations: 12.08 kB / 344.2 MB, free: 3.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.01817, allocations: 0.6224 MB / 344.8 MB, free: 3.023 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.944e-05/0.01819, allocations: 23.81 kB / 344.9 MB, free: 3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.01821, allocations: 19.94 kB / 344.9 MB, free: 2.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.01832, allocations: 19.92 kB / 344.9 MB, free: 2.961 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/0.01839, allocations: 47.86 kB / 344.9 MB, free: 2.914 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.0184, allocations: 12 kB / 344.9 MB, free: 2.902 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.938e-05/0.01844, allocations: 55.41 kB / 345 MB, free: 2.848 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01844, allocations: 4 kB / 345 MB, free: 2.844 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003796/0.01882, allocations: 124 kB / 345.1 MB, free: 2.723 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.81e-05/0.01891, allocations: 84.36 kB / 345.2 MB, free: 2.629 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006352/0.01954, allocations: 0.6377 MB / 345.8 MB, free: 1.949 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.01955, allocations: 0 / 345.8 MB, free: 1.949 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002835/0.01983, allocations: 0.5072 MB / 346.4 MB, free: 1.402 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.02015, allocations: 68.17 kB / 346.4 MB, free: 1.336 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009271/0.02108, allocations: 0.832 MB / 347.3 MB, free: 472 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.339e-05/0.02116, allocations: 122.4 kB / 347.4 MB, free: 328 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.907e-05/0.02124, allocations: 31.28 kB / 347.4 MB, free: 300 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.02134, allocations: 103.3 kB / 347.5 MB, free: 196 kB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02134, allocations: 0 / 347.5 MB, free: 196 kB / 314.7 MB Notification: Performance of Templates: time 0.006691/0.02803, allocations: 4.706 MB / 352.2 MB, free: 11.55 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.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.0990094263106585]