Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0007481/0.0007481, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001062/0.00181, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0006798/0.0006798, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008635/0.001543, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9728/0.9728, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.186/1.159, allocations: 49.49 MB / 220.5 MB, free: 5.281 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1413/0.1413, allocations: 32.35 MB / 253.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02438/0.1656, allocations: 12.29 MB / 265.9 MB, free: 7.84 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 267.2 MB, free: 6.555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.099e-05, allocations: 6.25 kB / 267.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.00282/0.002841, allocations: 2.86 MB / 270.1 MB, free: 3.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008157/0.003657, allocations: 0.7639 MB / 270.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.844e-05/0.003756, allocations: 11.94 kB / 270.8 MB, free: 2.875 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.86e-05/0.003834, allocations: 51.45 kB / 270.9 MB, free: 2.824 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.003978, allocations: 134.8 kB / 271 MB, free: 2.691 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000135/0.004113, allocations: 91.8 kB / 271.1 MB, free: 2.602 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000266/0.004379, allocations: 457.7 kB / 271.6 MB, free: 2.152 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.004493, allocations: 96.77 kB / 271.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001981/0.004691, allocations: 279.3 kB / 271.9 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.004802, allocations: 127.7 kB / 272.1 MB, free: 1.664 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.004834, allocations: 32 kB / 272.1 MB, free: 1.633 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.262e-05/0.004866, allocations: 35.94 kB / 272.1 MB, free: 1.598 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.787e-05/0.004904, allocations: 55.81 kB / 272.2 MB, free: 1.543 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.042e-05/0.004995, allocations: 119.8 kB / 272.3 MB, free: 1.426 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.005203, allocations: 259 kB / 272.5 MB, free: 1.172 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.005214, allocations: 0 / 272.5 MB, free: 1.172 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.005215, allocations: 4 kB / 272.5 MB, free: 1.168 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.005223, allocations: 0 / 272.5 MB, free: 1.168 MB / 266.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.0004838/0.005706, allocations: 0.6363 MB / 273.2 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.03e-05/0.005727, allocations: 12.03 kB / 273.2 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.005775, allocations: 56.89 kB / 273.3 MB, free: 452 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.005968, allocations: 190 kB / 273.4 MB, free: 236 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.005985, allocations: 33.38 kB / 273.5 MB, free: 200 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/0.006019, allocations: 44.31 kB / 273.5 MB, free: 156 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.006267, allocations: 323.3 kB / 273.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.006282, allocations: 12.12 kB / 273.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.006297, allocations: 16.38 kB / 273.9 MB, free: 15.78 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.006305, allocations: 11.94 kB / 273.9 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.006419, allocations: 123.7 kB / 274 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009611/0.00738, allocations: 1.438 MB / 275.4 MB, free: 14.13 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.007552, allocations: 210.3 kB / 275.6 MB, free: 13.86 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.633e-05/0.007598, allocations: 66.12 kB / 275.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.007612, allocations: 7.938 kB / 275.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.007631, allocations: 42.56 kB / 275.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.082e-06/0.007632, allocations: 3.938 kB / 275.8 MB, free: 13.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.0002149/0.007847, allocations: 165.3 kB / 275.9 MB, free: 13.54 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.95e-05/0.007917, allocations: 217.6 kB / 276.1 MB, free: 13.28 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.008033, allocations: 256.8 kB / 276.4 MB, free: 13.02 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.008045, allocations: 29.7 kB / 276.4 MB, free: 12.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.785e-05/0.008133, allocations: 239.8 kB / 276.6 MB, free: 12.74 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.361e-05/0.008186, allocations: 115 kB / 276.8 MB, free: 12.62 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.889e-05/0.008255, allocations: 106.2 kB / 276.9 MB, free: 12.51 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.751e-05/0.008333, allocations: 350.7 kB / 277.2 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.734e-05/0.00837, allocations: 41.23 kB / 277.2 MB, free: 12.12 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.008539, allocations: 369.5 kB / 277.6 MB, free: 11.6 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.008828, allocations: 0.4969 MB / 278.1 MB, free: 10.95 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.008831, allocations: 0 / 278.1 MB, free: 10.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0003077/0.009139, allocations: 385.5 kB / 278.5 MB, free: 10.56 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.009152, allocations: 8.219 kB / 278.5 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.009161, allocations: 16 kB / 278.5 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.009176, allocations: 20 kB / 278.5 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.009467, allocations: 183.7 kB / 278.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.009478, allocations: 19.92 kB / 278.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.009611, allocations: 67.52 kB / 278.8 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.009629, allocations: 28 kB / 278.8 MB, free: 10.23 MB / 282.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 7.845e-05/0.009707, allocations: 157.5 kB / 279 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.216e-05/0.009799, allocations: 35.97 kB / 279 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.595e-05/0.009845, allocations: 33.77 kB / 279 MB, free: 9.992 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.009849, allocations: 4 kB / 279 MB, free: 9.988 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.009851, allocations: 0 / 279 MB, free: 9.988 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.009856, allocations: 4 kB / 279 MB, free: 9.984 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005552/0.01041, allocations: 459.3 kB / 279.5 MB, free: 9.504 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01041, allocations: 0 / 279.5 MB, free: 9.504 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.01066, allocations: 108 kB / 279.6 MB, free: 9.398 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.296e-05/0.01068, allocations: 31.73 kB / 279.6 MB, free: 9.367 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.01069, allocations: 8.062 kB / 279.6 MB, free: 9.359 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.0107, allocations: 11.98 kB / 279.6 MB, free: 9.348 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.01071, allocations: 7.938 kB / 279.6 MB, free: 9.34 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.01071, allocations: 4 kB / 279.7 MB, free: 9.336 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.01105, allocations: 0.7286 MB / 280.4 MB, free: 8.582 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.01107, allocations: 8 kB / 280.4 MB, free: 8.574 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.01124, allocations: 11.94 kB / 280.4 MB, free: 8.562 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.01129, allocations: 35.83 kB / 280.4 MB, free: 8.527 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.0113, allocations: 12.12 kB / 280.4 MB, free: 8.516 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.672e-05/0.01135, allocations: 82.75 kB / 280.5 MB, free: 8.438 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01135, allocations: 0 / 280.5 MB, free: 8.438 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003888/0.01174, allocations: 103.8 kB / 280.6 MB, free: 8.336 MB / 282.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.0001016/0.01184, allocations: 84.36 kB / 280.7 MB, free: 8.246 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.01204, allocations: 220.8 kB / 280.9 MB, free: 8.031 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/0.01205, allocations: 8 kB / 280.9 MB, free: 8.023 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.404e-05/0.0121, allocations: 68.69 kB / 281 MB, free: 7.953 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005171/0.01262, allocations: 100.9 kB / 281.1 MB, free: 7.855 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004709/0.01733, allocations: 0.7882 MB / 281.9 MB, free: 7.008 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.959e-05/0.01743, allocations: 108.6 kB / 282 MB, free: 6.883 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001112/0.01754, allocations: 47.81 kB / 282 MB, free: 6.836 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.01766, allocations: 119.3 kB / 282.2 MB, free: 6.719 MB / 282.7 MB Notification: Performance of SimCode: time 2.6e-07/0.01766, allocations: 0 / 282.2 MB, free: 6.719 MB / 282.7 MB Notification: Performance of Templates: time 0.005718/0.02337, allocations: 3.5 MB / 285.7 MB, free: 3.215 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 2.8724678633734584]