Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001539/0.001539, 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.001861/0.001861, allocations: 162.8 kB / 25.61 MB, free: 8.906 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.015/1.015, allocations: 177.1 MB / 206.1 MB, free: 4.102 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.1613/0.1613, allocations: 34.26 MB / 296.9 MB, free: 13.86 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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/3.019e-05, allocations: 6.25 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002853/0.002884, allocations: 1.687 MB / 381 MB, free: 21.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003647/0.003248, allocations: 107.5 kB / 381.1 MB, free: 21.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.098e-05/0.003329, allocations: 8 kB / 381.1 MB, free: 21.58 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 5.226e-05/0.003382, allocations: 11.86 kB / 381.1 MB, free: 21.57 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.003507, allocations: 39.64 kB / 381.1 MB, free: 21.53 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000119/0.003626, allocations: 31.89 kB / 381.2 MB, free: 21.5 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.003755, allocations: 131.3 kB / 381.3 MB, free: 21.37 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.003881, allocations: 21.3 kB / 381.3 MB, free: 21.35 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.004013, allocations: 75.86 kB / 381.4 MB, free: 21.28 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.895e-05/0.004092, allocations: 35.89 kB / 381.4 MB, free: 21.24 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.004115, allocations: 8 kB / 381.4 MB, free: 21.23 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.765e-05/0.004132, allocations: 12 kB / 381.4 MB, free: 21.22 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.383e-05/0.004156, allocations: 23.92 kB / 381.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.32e-05/0.004199, allocations: 43.91 kB / 381.5 MB, free: 21.16 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.004348, allocations: 75.73 kB / 381.6 MB, free: 21.08 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.00435, allocations: 0 / 381.6 MB, free: 21.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004351, allocations: 0 / 381.6 MB, free: 21.08 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.004356, allocations: 0 / 381.6 MB, free: 21.08 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0003607/0.004717, allocations: 436.4 kB / 382 MB, free: 20.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.004753, allocations: 12.02 kB / 382 MB, free: 20.6 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.004797, allocations: 24.84 kB / 382 MB, free: 20.58 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.004928, allocations: 144.4 kB / 382.2 MB, free: 20.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.004942, allocations: 20.55 kB / 382.2 MB, free: 20.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.004971, allocations: 12.38 kB / 382.2 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.005099, allocations: 103.2 kB / 382.3 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.005113, allocations: 4.188 kB / 382.3 MB, free: 20.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.005124, allocations: 384 / 382.3 MB, free: 20.26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.005132, allocations: 4.375 kB / 382.3 MB, free: 20.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.292e-05/0.005185, allocations: 47.83 kB / 382.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/0.00564, allocations: 0.5066 MB / 382.9 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.517e-05/0.005736, allocations: 90.03 kB / 383 MB, free: 19.56 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.58e-05/0.005761, allocations: 23.55 kB / 383 MB, free: 19.53 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.00577, allocations: 4 kB / 383 MB, free: 19.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.00579, allocations: 37.39 kB / 383 MB, free: 19.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.005791, allocations: 0 / 383 MB, free: 19.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.00039/0.006181, allocations: 144.8 kB / 383.2 MB, free: 19.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.006207, allocations: 77.11 kB / 383.2 MB, free: 19.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.092e-05/0.006278, allocations: 177.9 kB / 383.4 MB, free: 19.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.883e-06/0.006285, allocations: 29.7 kB / 383.4 MB, free: 19 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.027e-05/0.006335, allocations: 166.5 kB / 383.6 MB, free: 18.83 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.006365, allocations: 39.67 kB / 383.6 MB, free: 18.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-05/0.006426, allocations: 35.38 kB / 383.7 MB, free: 18.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.376e-05/0.00649, allocations: 0.4884 MB / 384.2 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.164e-05/0.006511, allocations: 11.98 kB / 384.2 MB, free: 18.24 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.633e-05/0.006578, allocations: 106.9 kB / 384.3 MB, free: 18.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.006679, allocations: 132.7 kB / 384.4 MB, free: 17.92 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.006683, allocations: 4 kB / 384.4 MB, free: 17.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001902/0.006873, allocations: 148.7 kB / 384.6 MB, free: 17.76 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.006891, allocations: 8 kB / 384.6 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.006897, allocations: 4.25 kB / 384.6 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001369/0.007034, allocations: 35.36 kB / 384.6 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.651e-05/0.007091, allocations: 27.92 kB / 384.6 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.008111, allocations: 3.418 MB / 388.1 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.832e-05/0.008149, allocations: 15.88 kB / 388.1 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-06/0.008155, allocations: 4 kB / 388.1 MB, free: 14.01 MB / 314.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 6.673e-05/0.008221, allocations: 164.5 kB / 388.2 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.008253, allocations: 12.02 kB / 388.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.52e-05/0.008278, allocations: 23.98 kB / 388.3 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.008279, allocations: 0 / 388.3 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.008284, allocations: 4 kB / 388.3 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.008288, allocations: 0 / 388.3 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.008412, allocations: 125.1 kB / 388.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.008415, allocations: 0 / 388.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.894e-05/0.008474, allocations: 15.98 kB / 388.4 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.937e-05/0.008553, allocations: 39.34 kB / 388.5 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.00856, allocations: 7.938 kB / 388.5 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008007/0.009361, allocations: 3.403 MB / 391.9 MB, free: 9.941 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.009362, allocations: 4.25 kB / 391.9 MB, free: 9.938 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.009538, allocations: 382.3 kB / 392.2 MB, free: 9.535 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.365e-06/0.009546, allocations: 7.953 kB / 392.2 MB, free: 9.527 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.868e-06/0.009556, allocations: 3.938 kB / 392.3 MB, free: 9.523 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.284e-05/0.009609, allocations: 8 kB / 392.3 MB, free: 9.516 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/0.009635, allocations: 3.984 kB / 392.3 MB, free: 9.512 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.00964, allocations: 4 kB / 392.3 MB, free: 9.508 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.145e-05/0.009672, allocations: 131.2 kB / 392.4 MB, free: 9.379 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009672, allocations: 0 / 392.4 MB, free: 9.379 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002539/0.009925, allocations: 39.89 kB / 392.4 MB, free: 9.34 MB / 314.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 0.0001151/0.01004, allocations: 99.25 kB / 392.5 MB, free: 9.234 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002847/0.01033, allocations: 406.9 kB / 392.9 MB, free: 8.801 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01033, allocations: 0 / 392.9 MB, free: 8.801 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.01044, allocations: 375.8 kB / 393.3 MB, free: 8.395 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.01074, allocations: 32.41 kB / 393.3 MB, free: 8.363 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005784/0.01132, allocations: 400 kB / 393.7 MB, free: 7.941 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.741e-05/0.01136, allocations: 67.84 kB / 393.8 MB, free: 7.855 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.3e-05/0.01139, allocations: 8.969 kB / 393.8 MB, free: 7.844 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.139e-05/0.01144, allocations: 86.19 kB / 393.9 MB, free: 7.758 MB / 314.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01144, allocations: 4 kB / 393.9 MB, free: 7.754 MB / 314.7 MB Notification: Performance of Templates: time 0.003622/0.01507, allocations: 1.845 MB / 395.7 MB, free: 5.945 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 3.435399525798857]