Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001093/0.001093, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001696/0.002789, 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.001073/0.001073, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00109/0.002164, 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.9488/0.9488, allocations: 158.6 MB / 171 MB, free: 2.18 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1975/1.146, allocations: 49.5 MB / 220.5 MB, free: 5.277 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.158/0.158, allocations: 32.34 MB / 253.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02248/0.1805, allocations: 12.3 MB / 265.9 MB, free: 7.832 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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 267.2 MB, free: 6.562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.379e-05, allocations: 2.312 kB / 267.2 MB, free: 6.559 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.00213/0.002154, allocations: 1.725 MB / 268.9 MB, free: 4.812 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001653/0.002319, allocations: 111.6 kB / 269 MB, free: 4.703 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.623e-05/0.002365, allocations: 0 / 269 MB, free: 4.703 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.092e-05/0.002406, allocations: 19.8 kB / 269 MB, free: 4.684 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.739e-05/0.002474, allocations: 43.62 kB / 269.1 MB, free: 4.641 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.363e-05/0.002537, allocations: 23.97 kB / 269.1 MB, free: 4.617 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.002652, allocations: 131.3 kB / 269.2 MB, free: 4.488 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.002758, allocations: 25.95 kB / 269.3 MB, free: 4.465 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.002858, allocations: 83.84 kB / 269.3 MB, free: 4.383 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.825e-05/0.002926, allocations: 27.92 kB / 269.4 MB, free: 4.355 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.00295, allocations: 8 kB / 269.4 MB, free: 4.348 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.485e-05/0.002964, allocations: 12 kB / 269.4 MB, free: 4.336 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.002985, allocations: 19.88 kB / 269.4 MB, free: 4.316 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.219e-05/0.003027, allocations: 39.88 kB / 269.5 MB, free: 4.277 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.00316, allocations: 75.69 kB / 269.5 MB, free: 4.203 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.24e-05/0.003173, allocations: 0 / 269.5 MB, free: 4.203 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003173, allocations: 0 / 269.5 MB, free: 4.203 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.003186, allocations: 0 / 269.5 MB, free: 4.203 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004269/0.003613, allocations: 344.4 kB / 269.9 MB, free: 3.836 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.003649, allocations: 8.031 kB / 269.9 MB, free: 3.828 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.003692, allocations: 20.92 kB / 269.9 MB, free: 3.809 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.003831, allocations: 121.7 kB / 270 MB, free: 3.664 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.003842, allocations: 4.609 kB / 270 MB, free: 3.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.003878, allocations: 24.31 kB / 270 MB, free: 3.637 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.00401, allocations: 105.5 kB / 270.1 MB, free: 3.523 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.004023, allocations: 4.188 kB / 270.1 MB, free: 3.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.004032, allocations: 4.375 kB / 270.1 MB, free: 3.516 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.004041, allocations: 8.359 kB / 270.2 MB, free: 3.508 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.242e-05/0.004093, allocations: 35.92 kB / 270.2 MB, free: 3.473 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.004514, allocations: 371.8 kB / 270.6 MB, free: 3.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.713e-05/0.004592, allocations: 61.2 kB / 270.6 MB, free: 3.012 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.291e-05/0.004614, allocations: 25.72 kB / 270.6 MB, free: 2.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.692e-06/0.004621, allocations: 0 / 270.6 MB, free: 2.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.004644, allocations: 38.5 kB / 270.7 MB, free: 2.934 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 2.425e-06/0.004646, allocations: 3.984 kB / 270.7 MB, free: 2.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.000284/0.00493, allocations: 127.3 kB / 270.8 MB, free: 2.793 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.004966, allocations: 85.05 kB / 270.9 MB, free: 2.691 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.747e-05/0.005033, allocations: 122.7 kB / 271 MB, free: 2.559 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.005043, allocations: 25.7 kB / 271 MB, free: 2.527 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.955e-05/0.005093, allocations: 119.8 kB / 271.2 MB, free: 2.406 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.005118, allocations: 39.67 kB / 271.2 MB, free: 2.367 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.005149, allocations: 29.69 kB / 271.2 MB, free: 2.332 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.279e-05/0.005232, allocations: 318.8 kB / 271.5 MB, free: 2.012 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.544e-05/0.005248, allocations: 11.98 kB / 271.5 MB, free: 2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.797e-05/0.005296, allocations: 84.5 kB / 271.6 MB, free: 1.887 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.233e-05/0.005368, allocations: 92.44 kB / 271.7 MB, free: 1.766 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.00537, allocations: 0 / 271.7 MB, free: 1.766 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001433/0.005514, allocations: 135 kB / 271.8 MB, free: 1.621 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.005528, allocations: 8 kB / 271.9 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.005534, allocations: 7.984 kB / 271.9 MB, free: 1.605 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001268/0.005661, allocations: 29.7 kB / 271.9 MB, free: 1.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.645e-05/0.005727, allocations: 27.92 kB / 271.9 MB, free: 1.543 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/0.006901, allocations: 2.317 MB / 274.2 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.152e-05/0.006943, allocations: 19.88 kB / 274.3 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.006948, allocations: 8.25 kB / 274.3 MB, free: 15.02 MB / 282.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 7.037e-05/0.007018, allocations: 117.8 kB / 274.4 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.007043, allocations: 11.94 kB / 274.4 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.209e-05/0.007065, allocations: 15.98 kB / 274.4 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.007067, allocations: 4 kB / 274.4 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.007072, allocations: 0 / 274.4 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.007076, allocations: 0 / 274.4 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.007206, allocations: 89.8 kB / 274.5 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.007209, allocations: 0 / 274.5 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.83e-05/0.007267, allocations: 19.98 kB / 274.5 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-06/0.007274, allocations: 7.953 kB / 274.5 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.492e-05/0.007359, allocations: 37.64 kB / 274.6 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.007365, allocations: 0 / 274.6 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008953/0.00826, allocations: 2.317 MB / 276.9 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.008262, allocations: 7.875 kB / 276.9 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.008413, allocations: 268.4 kB / 277.1 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/0.008422, allocations: 7.938 kB / 277.2 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.897e-05/0.008471, allocations: 0 / 277.2 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.718e-05/0.008488, allocations: 12.17 kB / 277.2 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.008494, allocations: 8 kB / 277.2 MB, free: 11.88 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.534e-05/0.008509, allocations: 21.22 kB / 277.2 MB, free: 11.86 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008509, allocations: 0 / 277.2 MB, free: 11.86 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001989/0.008708, allocations: 35.95 kB / 277.2 MB, free: 11.82 MB / 282.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 7.549e-05/0.008784, allocations: 76.36 kB / 277.3 MB, free: 11.74 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.009018, allocations: 298.2 kB / 277.6 MB, free: 11.42 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.009023, allocations: 3.938 kB / 277.6 MB, free: 11.42 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.009137, allocations: 258.1 kB / 277.9 MB, free: 11.14 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.009356, allocations: 27.94 kB / 277.9 MB, free: 11.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.01112, allocations: 317.3 kB / 278.2 MB, free: 10.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.816e-05/0.01116, allocations: 75.69 kB / 278.3 MB, free: 10.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.435e-05/0.0112, allocations: 13.38 kB / 278.3 MB, free: 10.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.263e-05/0.01126, allocations: 67.36 kB / 278.3 MB, free: 10.59 MB / 282.7 MB Notification: Performance of SimCode: time 9.91e-07/0.01126, allocations: 4 kB / 278.3 MB, free: 10.59 MB / 282.7 MB Notification: Performance of Templates: time 0.003449/0.01471, allocations: 1.839 MB / 280.2 MB, free: 8.746 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.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.770279197022319]