Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009261/0.0009261, allocations: 80.8 kB / 21.5 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.0009843/0.0009843, allocations: 173.3 kB / 24.91 MB, free: 9.211 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.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2887/0.2887, allocations: 32.8 MB / 294.6 MB, free: 1.246 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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 323.2 MB, free: 9.746 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.457e-05/1.583e-05, allocations: 3.016 kB / 323.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.001707/0.001723, allocations: 1.694 MB / 324.9 MB, free: 8.035 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002263/0.001949, allocations: 111.5 kB / 325 MB, free: 7.926 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.824e-05/0.001997, allocations: 4 kB / 325 MB, free: 7.922 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.022e-05/0.002038, allocations: 11.86 kB / 325 MB, free: 7.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.912e-05/0.002137, allocations: 35.64 kB / 325 MB, free: 7.875 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001042/0.002241, allocations: 27.95 kB / 325.1 MB, free: 7.848 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.002356, allocations: 139.3 kB / 325.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.86e-05/0.002455, allocations: 22.56 kB / 325.2 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.935e-05/0.002544, allocations: 79.8 kB / 325.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.207e-05/0.002606, allocations: 35.89 kB / 325.3 MB, free: 7.578 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.002624, allocations: 8 kB / 325.4 MB, free: 7.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.303e-05/0.002637, allocations: 12 kB / 325.4 MB, free: 7.559 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.002657, allocations: 19.94 kB / 325.4 MB, free: 7.539 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.00269, allocations: 39.91 kB / 325.4 MB, free: 7.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.002793, allocations: 91.59 kB / 325.5 MB, free: 7.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.002795, allocations: 0 / 325.5 MB, free: 7.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.002795, allocations: 0 / 325.5 MB, free: 7.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.835e-06/0.002798, allocations: 4 kB / 325.5 MB, free: 7.406 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0002772/0.003075, allocations: 306 kB / 325.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.498e-05/0.0031, allocations: 8.031 kB / 325.8 MB, free: 7.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.003129, allocations: 20.92 kB / 325.8 MB, free: 7.051 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.00323, allocations: 125.6 kB / 326 MB, free: 6.902 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.003241, allocations: 12.61 kB / 326 MB, free: 6.891 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.003264, allocations: 16.33 kB / 326 MB, free: 6.875 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.003365, allocations: 99.33 kB / 326.1 MB, free: 6.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.003375, allocations: 4.188 kB / 326.1 MB, free: 6.766 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.003383, allocations: 4.375 kB / 326.1 MB, free: 6.762 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.003389, allocations: 8.375 kB / 326.1 MB, free: 6.754 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.934e-05/0.003428, allocations: 41.86 kB / 326.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003307/0.003759, allocations: 367.9 kB / 326.5 MB, free: 6.336 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.911e-05/0.003828, allocations: 69.16 kB / 326.6 MB, free: 6.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.75e-05/0.003845, allocations: 21.66 kB / 326.6 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-06/0.003852, allocations: 4 kB / 326.6 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.00387, allocations: 34.56 kB / 326.6 MB, free: 6.176 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 7.32e-07/0.00387, allocations: 0 / 326.6 MB, free: 6.176 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002391/0.004109, allocations: 131.2 kB / 326.8 MB, free: 6.035 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.004137, allocations: 81.11 kB / 326.8 MB, free: 5.938 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.657e-05/0.004194, allocations: 119.2 kB / 327 MB, free: 5.809 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.675e-06/0.004201, allocations: 25.7 kB / 327 MB, free: 5.777 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.41e-05/0.004245, allocations: 123.8 kB / 327.1 MB, free: 5.652 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.004263, allocations: 35.69 kB / 327.1 MB, free: 5.617 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.00429, allocations: 29.7 kB / 327.2 MB, free: 5.582 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.09e-05/0.004351, allocations: 322.8 kB / 327.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.14e-05/0.004362, allocations: 16 kB / 327.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.911e-05/0.004401, allocations: 80.44 kB / 327.6 MB, free: 5.133 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.492e-05/0.004466, allocations: 100.4 kB / 327.7 MB, free: 5.004 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.004468, allocations: 0 / 327.7 MB, free: 5.004 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001121/0.00458, allocations: 127 kB / 327.8 MB, free: 4.867 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.00459, allocations: 8 kB / 327.8 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.004595, allocations: 4 kB / 327.8 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000104/0.004699, allocations: 29.7 kB / 327.8 MB, free: 4.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.889e-05/0.004748, allocations: 28.17 kB / 327.9 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000872/0.00562, allocations: 2.317 MB / 330.2 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.132e-05/0.005651, allocations: 12.14 kB / 330.2 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.005656, allocations: 8 kB / 330.2 MB, free: 2.281 MB / 298.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 5.385e-05/0.00571, allocations: 121.8 kB / 330.3 MB, free: 2.152 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.005733, allocations: 15.92 kB / 330.3 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.564e-05/0.005748, allocations: 12 kB / 330.4 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.42e-07/0.005749, allocations: 0 / 330.4 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.005752, allocations: 4 kB / 330.4 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.005754, allocations: 0 / 330.4 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.005861, allocations: 85.86 kB / 330.4 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.005863, allocations: 8 kB / 330.4 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.005908, allocations: 19.88 kB / 330.5 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.538e-05/0.005964, allocations: 29.7 kB / 330.5 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.678e-06/0.005968, allocations: 0 / 330.5 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00077/0.006738, allocations: 2.309 MB / 332.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.00674, allocations: 3.984 kB / 332.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.006877, allocations: 273 kB / 333.1 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.022e-05/0.006887, allocations: 11.88 kB / 333.1 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.124e-06/0.006894, allocations: 4 kB / 333.1 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.609e-05/0.00694, allocations: 4.172 kB / 333.1 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.502e-05/0.006955, allocations: 19.92 kB / 333.1 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.006958, allocations: 0 / 333.1 MB, free: 15.13 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.358e-05/0.006972, allocations: 14.28 kB / 333.1 MB, free: 15.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.006972, allocations: 0 / 333.1 MB, free: 15.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001814/0.007153, allocations: 35.95 kB / 333.2 MB, free: 15.08 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 6.108e-05/0.007214, allocations: 80.41 kB / 333.2 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.007423, allocations: 286.2 kB / 333.5 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.007426, allocations: 4 kB / 333.5 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.007528, allocations: 262.2 kB / 333.8 MB, free: 14.4 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.007726, allocations: 23.98 kB / 333.8 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/0.008172, allocations: 332.4 kB / 334.1 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.599e-05/0.008208, allocations: 71.83 kB / 334.2 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.16e-05/0.00823, allocations: 4.984 kB / 334.2 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.961e-05/0.00828, allocations: 71.36 kB / 334.3 MB, free: 13.86 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.00828, allocations: 0 / 334.3 MB, free: 13.86 MB / 314.7 MB Notification: Performance of Templates: time 0.002916/0.0112, allocations: 1.825 MB / 336.1 MB, free: 12.07 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 2.954050456173718]