Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00143/0.00143, 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.001696/0.001696, allocations: 171.8 kB / 24.91 MB, free: 9.148 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.9985/0.9985, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.251/0.251, allocations: 32.81 MB / 294.6 MB, free: 1.262 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.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.0.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.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 323.3 MB, free: 9.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.337e-05, allocations: 3.406 kB / 323.3 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.003076/0.003099, allocations: 2.867 MB / 326.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.004447, allocations: 0.7786 MB / 326.9 MB, free: 6.027 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.004601, allocations: 15.94 kB / 326.9 MB, free: 6.012 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.004752, allocations: 55.38 kB / 327 MB, free: 5.957 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.004939, allocations: 134.8 kB / 327.1 MB, free: 5.824 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.005239, allocations: 107.8 kB / 327.2 MB, free: 5.719 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003488/0.008727, allocations: 455.6 kB / 327.7 MB, free: 5.273 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001926/0.008919, allocations: 118.7 kB / 327.8 MB, free: 5.152 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003419/0.009261, allocations: 259.4 kB / 328 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.009444, allocations: 131.6 kB / 328.2 MB, free: 4.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.731e-05/0.009491, allocations: 32 kB / 328.2 MB, free: 4.738 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.937e-05/0.009581, allocations: 36 kB / 328.2 MB, free: 4.703 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.009752, allocations: 87.59 kB / 328.3 MB, free: 4.617 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.00986, allocations: 135.7 kB / 328.4 MB, free: 4.484 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003173/0.01018, allocations: 282.9 kB / 328.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.01018, allocations: 0 / 328.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01018, allocations: 0 / 328.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.01019, allocations: 4 kB / 328.7 MB, free: 4.203 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0006118/0.0108, allocations: 0.5674 MB / 329.3 MB, free: 3.613 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.01083, allocations: 8.031 kB / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.01103, allocations: 80.88 kB / 329.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.01126, allocations: 189.8 kB / 329.6 MB, free: 3.316 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.01129, allocations: 33.38 kB / 329.6 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.109e-05/0.01134, allocations: 52.3 kB / 329.6 MB, free: 3.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003271/0.01166, allocations: 319.3 kB / 330 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.01169, allocations: 12.12 kB / 330 MB, free: 2.871 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.01171, allocations: 16.38 kB / 330 MB, free: 2.855 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.01172, allocations: 15.94 kB / 330 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.01187, allocations: 107.8 kB / 330.1 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.01317, allocations: 1.438 MB / 331.5 MB, free: 1.223 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004878/0.01365, allocations: 214 kB / 331.7 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.569e-05/0.01372, allocations: 70.34 kB / 331.8 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.01374, allocations: 7.938 kB / 331.8 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.01376, allocations: 46.5 kB / 331.9 MB, free: 0.793 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 3.767e-06/0.01377, allocations: 4 kB / 331.9 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.000328/0.0141, allocations: 157.4 kB / 332 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.01417, allocations: 213.6 kB / 332.2 MB, free: 380 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003182/0.01735, allocations: 266.7 kB / 332.5 MB, free: 100 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.01737, allocations: 33.69 kB / 332.5 MB, free: 60 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.01749, allocations: 239.8 kB / 332.8 MB, free: 15.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.96e-05/0.01756, allocations: 119 kB / 332.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-05/0.01766, allocations: 106.2 kB / 333 MB, free: 15.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.649e-05/0.01776, allocations: 342.8 kB / 333.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.985e-05/0.01782, allocations: 41.66 kB / 333.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.01805, allocations: 381.1 kB / 333.7 MB, free: 14.67 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003885/0.01844, allocations: 0.4884 MB / 334.2 MB, free: 14.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/0.01844, allocations: 8 kB / 334.2 MB, free: 14.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000428/0.01887, allocations: 381.7 kB / 334.6 MB, free: 13.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.01889, allocations: 12.06 kB / 334.6 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.0189, allocations: 12 kB / 334.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.01893, allocations: 19.94 kB / 334.6 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.01932, allocations: 163.7 kB / 334.8 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.01933, allocations: 19.94 kB / 334.8 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.01955, allocations: 67.55 kB / 334.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.01958, allocations: 28 kB / 334.9 MB, free: 13.32 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 0.0001095/0.01969, allocations: 161.5 kB / 335.1 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.01981, allocations: 31.91 kB / 335.1 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.01986, allocations: 33.8 kB / 335.1 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.01986, allocations: 4 kB / 335.1 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.01987, allocations: 4 kB / 335.1 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01987, allocations: 0 / 335.1 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003866/0.02374, allocations: 456 kB / 335.6 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.02374, allocations: 8 kB / 335.6 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/0.02409, allocations: 107 kB / 335.7 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.02409, allocations: 8.047 kB / 335.7 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.02412, allocations: 12 kB / 335.7 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.02412, allocations: 3.938 kB / 335.7 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.02413, allocations: 7.938 kB / 335.7 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004144/0.02454, allocations: 0.7379 MB / 336.5 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.588e-05/0.02458, allocations: 39.72 kB / 336.5 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.02461, allocations: 8 kB / 336.5 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/0.02489, allocations: 8 kB / 336.5 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.02495, allocations: 27.89 kB / 336.6 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.02496, allocations: 12 kB / 336.6 MB, free: 11.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.191e-05/0.02503, allocations: 80.64 kB / 336.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02503, allocations: 0 / 336.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006692/0.0257, allocations: 99.89 kB / 336.7 MB, free: 11.43 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 0.0001035/0.02581, allocations: 86.8 kB / 336.8 MB, free: 11.33 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002776/0.02608, allocations: 224.7 kB / 337 MB, free: 11.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/0.02609, allocations: 8 kB / 337.1 MB, free: 11.1 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003093/0.02918, allocations: 70.23 kB / 337.1 MB, free: 11.03 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008122/0.03, allocations: 77.11 kB / 337.2 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.03122, allocations: 0.8326 MB / 338 MB, free: 10.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.03132, allocations: 104.5 kB / 338.1 MB, free: 9.945 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.03145, allocations: 47.25 kB / 338.2 MB, free: 9.902 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.03159, allocations: 111.3 kB / 338.3 MB, free: 9.793 MB / 314.7 MB Notification: Performance of SimCode: time 1.001e-06/0.0316, allocations: 0 / 338.3 MB, free: 9.793 MB / 314.7 MB Notification: Performance of Templates: time 0.01562/0.04722, allocations: 3.379 MB / 341.7 MB, free: 6.504 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0023222197778523]