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.0009308/0.0009308, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009928/0.0009928, allocations: 162.5 kB / 24.99 MB, free: 8.793 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.9763/0.9763, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.2817/0.2817, allocations: 34.26 MB / 296 MB, free: 0.6875 MB / 266.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.693e-06/1.693e-06, allocations: 0 / 378 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.815e-05, allocations: 2.312 kB / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.005651/0.005679, allocations: 1.705 MB / 379.7 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000297/0.005976, allocations: 107.6 kB / 379.8 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.389e-05/0.00604, allocations: 4 kB / 379.8 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.846e-05/0.006088, allocations: 15.8 kB / 379.8 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.006197, allocations: 39.64 kB / 379.9 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001146/0.006311, allocations: 27.95 kB / 379.9 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.006451, allocations: 131.3 kB / 380 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002478/0.006698, allocations: 25.16 kB / 380.1 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.00682, allocations: 75.86 kB / 380.1 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.156e-05/0.006891, allocations: 31.91 kB / 380.2 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.006917, allocations: 16 kB / 380.2 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.74e-05/0.006935, allocations: 8 kB / 380.2 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.484e-05/0.006959, allocations: 23.91 kB / 380.2 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.766e-05/0.007007, allocations: 43.91 kB / 380.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.007154, allocations: 83.61 kB / 380.3 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.007157, allocations: 0 / 380.3 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.007158, allocations: 3.938 kB / 380.3 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.007163, allocations: 4 kB / 380.3 MB, free: 0.6133 MB / 346.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.0004074/0.00757, allocations: 436.4 kB / 380.8 MB, free: 148 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.007607, allocations: 8.031 kB / 380.8 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.439e-05/0.007662, allocations: 24.89 kB / 380.8 MB, free: 116 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.007867, allocations: 136.4 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.007884, allocations: 8.609 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.007919, allocations: 12.38 kB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.008101, allocations: 123.1 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.008117, allocations: 12.12 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.00813, allocations: 4.375 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.008143, allocations: 4.375 kB / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.48e-05/0.008217, allocations: 39.91 kB / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000605/0.008822, allocations: 0.5255 MB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.008937, allocations: 86.2 kB / 381.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.53e-05/0.008973, allocations: 27.45 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.008983, allocations: 7.938 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.009007, allocations: 33.39 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.863e-06/0.009009, allocations: 0 / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004185/0.009427, allocations: 141.2 kB / 381.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.009468, allocations: 89.11 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.009579, allocations: 181.8 kB / 382.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.009593, allocations: 29.7 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.012e-05/0.009663, allocations: 162.6 kB / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.00969, allocations: 35.72 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.009738, allocations: 35.38 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.009863, allocations: 0.4884 MB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.221e-05/0.009895, allocations: 19.92 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.461e-05/0.00997, allocations: 104.8 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.01009, allocations: 144.8 kB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.0101, allocations: 0 / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001785/0.01028, allocations: 164.8 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.01029, allocations: 4 kB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.0103, allocations: 4 kB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001584/0.01046, allocations: 39.36 kB / 383.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.982e-05/0.01053, allocations: 23.92 kB / 383.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/0.01215, allocations: 3.464 MB / 386.9 MB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.01219, allocations: 15.89 kB / 386.9 MB, free: 9.422 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.0122, allocations: 4 kB / 386.9 MB, free: 9.418 MB / 362.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 9.534e-05/0.0123, allocations: 172.6 kB / 387.1 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.01233, allocations: 8 kB / 387.1 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.084e-05/0.01235, allocations: 12 kB / 387.1 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01235, allocations: 4 kB / 387.1 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.01236, allocations: 0 / 387.1 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.01236, allocations: 3.984 kB / 387.1 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.01251, allocations: 144.5 kB / 387.3 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01251, allocations: 0 / 387.3 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.959e-05/0.01257, allocations: 16 kB / 387.3 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.846e-05/0.01265, allocations: 39.36 kB / 387.3 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.01266, allocations: 4 kB / 387.3 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.01395, allocations: 3.46 MB / 390.8 MB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01395, allocations: 0 / 390.8 MB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.01418, allocations: 394.3 kB / 391.2 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-06/0.01419, allocations: 7.891 kB / 391.2 MB, free: 4.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.0142, allocations: 4 kB / 391.2 MB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.866e-05/0.01425, allocations: 0 / 391.2 MB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/0.01427, allocations: 11.98 kB / 391.2 MB, free: 4.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.01428, allocations: 3.938 kB / 391.2 MB, free: 4.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.892e-05/0.01433, allocations: 143.5 kB / 391.3 MB, free: 4.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01433, allocations: 0 / 391.3 MB, free: 4.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002647/0.01459, allocations: 40.02 kB / 391.4 MB, free: 4.641 MB / 362.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.0001144/0.01471, allocations: 91.25 kB / 391.5 MB, free: 4.539 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003743/0.01508, allocations: 411.2 kB / 391.9 MB, free: 4.098 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01508, allocations: 0.5 kB / 391.9 MB, free: 4.098 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003722/0.01545, allocations: 379.3 kB / 392.2 MB, free: 3.688 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.01578, allocations: 20.31 kB / 392.3 MB, free: 3.668 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008021/0.01659, allocations: 393.8 kB / 392.6 MB, free: 3.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.829e-05/0.01663, allocations: 71.83 kB / 392.7 MB, free: 3.156 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.323e-05/0.01667, allocations: 16.95 kB / 392.7 MB, free: 3.137 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.241e-05/0.01669, allocations: 12.5 kB / 392.7 MB, free: 3.125 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01669, allocations: 0 / 392.7 MB, free: 3.125 MB / 362.7 MB Notification: Performance of Templates: time 0.003725/0.02042, allocations: 1.69 MB / 394.4 MB, free: 1.465 MB / 362.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.1283501340076327]