Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001886/0.003037, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004826/0.005835, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8732/0.8732, allocations: 173.4 MB / 186 MB, free: 7.523 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1626/1.036, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.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.1382/0.1382, allocations: 32.79 MB / 272 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02408/0.1623, allocations: 12.54 MB / 284.5 MB, free: 9.719 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 285.8 MB, free: 8.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.488e-05, allocations: 2.312 kB / 285.8 MB, free: 8.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003854/0.003869, allocations: 2.889 MB / 288.7 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.005223, allocations: 0.7359 MB / 289.5 MB, free: 4.785 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.0054, allocations: 11.94 kB / 289.5 MB, free: 4.773 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.005577, allocations: 67.31 kB / 289.5 MB, free: 4.707 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.005839, allocations: 134.8 kB / 289.7 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.006061, allocations: 87.86 kB / 289.8 MB, free: 4.488 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004705/0.006532, allocations: 466.2 kB / 290.2 MB, free: 4.031 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.006769, allocations: 131.4 kB / 290.3 MB, free: 3.902 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003934/0.007163, allocations: 284.3 kB / 290.6 MB, free: 3.621 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.007394, allocations: 139.6 kB / 290.8 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.78e-05/0.007471, allocations: 43.88 kB / 290.8 MB, free: 3.441 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.868e-05/0.00752, allocations: 36 kB / 290.8 MB, free: 3.406 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.086e-05/0.007571, allocations: 63.81 kB / 290.9 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.982e-05/0.007671, allocations: 115.8 kB / 291 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.007964, allocations: 267 kB / 291.3 MB, free: 2.969 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.341e-05/0.007977, allocations: 0 / 291.3 MB, free: 2.969 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.007978, allocations: 4 kB / 291.3 MB, free: 2.965 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.00799, allocations: 0 / 291.3 MB, free: 2.965 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.000641/0.008631, allocations: 0.6557 MB / 291.9 MB, free: 2.281 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.008663, allocations: 12.03 kB / 291.9 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.889e-05/0.008722, allocations: 60.89 kB / 292 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.008929, allocations: 198.2 kB / 292.2 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.008947, allocations: 29.38 kB / 292.2 MB, free: 1.961 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.391e-05/0.008991, allocations: 48.25 kB / 292.3 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.009258, allocations: 298.2 kB / 292.6 MB, free: 1.602 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.009273, allocations: 8.172 kB / 292.6 MB, free: 1.594 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.009292, allocations: 16.38 kB / 292.6 MB, free: 1.578 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.0093, allocations: 11.94 kB / 292.6 MB, free: 1.566 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.009418, allocations: 104.4 kB / 292.7 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007265/0.01014, allocations: 0.7512 MB / 293.4 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.01035, allocations: 219.5 kB / 293.7 MB, free: 456 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.551e-05/0.01042, allocations: 90.16 kB / 293.7 MB, free: 360 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.01044, allocations: 12 kB / 293.8 MB, free: 348 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.01046, allocations: 42.5 kB / 293.8 MB, free: 296 kB / 282.7 MB Notification: Performance of pre-optimization done (n=39): time 1.372e-06/0.01046, allocations: 0 / 293.8 MB, free: 296 kB / 282.7 MB Notification: Performance of matching and sorting (n=57): time 0.001663/0.01213, allocations: 1.593 MB / 295.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.01218, allocations: 122.7 kB / 295.5 MB, free: 14.4 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.996e-05/0.01228, allocations: 182.3 kB / 295.7 MB, free: 14.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.0123, allocations: 37.7 kB / 295.7 MB, free: 14.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.01238, allocations: 185.4 kB / 295.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.01248, allocations: 210.2 kB / 296.1 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-05/0.01256, allocations: 86.3 kB / 296.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.01265, allocations: 342.8 kB / 296.5 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.282e-05/0.0127, allocations: 45.28 kB / 296.6 MB, free: 13.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.01281, allocations: 152.7 kB / 296.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.01303, allocations: 249.9 kB / 297 MB, free: 12.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01303, allocations: 0 / 297 MB, free: 12.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004137/0.01344, allocations: 335.5 kB / 297.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.01346, allocations: 8 kB / 297.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.01346, allocations: 7.938 kB / 297.3 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002059/0.01367, allocations: 114.7 kB / 297.4 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.01391, allocations: 111.8 kB / 297.5 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/0.01578, allocations: 4.317 MB / 301.9 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.833e-05/0.01587, allocations: 20.09 kB / 301.9 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.01588, allocations: 16 kB / 301.9 MB, free: 7.637 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.784e-05/0.01597, allocations: 141.7 kB / 302 MB, free: 7.488 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.457e-05/0.01602, allocations: 39.91 kB / 302.1 MB, free: 7.449 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.978e-05/0.01606, allocations: 41.81 kB / 302.1 MB, free: 7.402 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.01607, allocations: 8 kB / 302.1 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.01608, allocations: 4 kB / 302.1 MB, free: 7.391 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.01608, allocations: 3.984 kB / 302.1 MB, free: 7.387 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008463/0.01693, allocations: 0.8399 MB / 303 MB, free: 6.504 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.01693, allocations: 0 / 303 MB, free: 6.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.01716, allocations: 119.8 kB / 303.1 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.998e-05/0.01718, allocations: 31.89 kB / 303.1 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001396/0.01732, allocations: 82.45 kB / 303.2 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.01733, allocations: 15.98 kB / 303.2 MB, free: 6.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001361/0.01869, allocations: 3.675 MB / 306.9 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.0187, allocations: 8.094 kB / 306.9 MB, free: 2.305 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004006/0.0191, allocations: 0.6224 MB / 307.5 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.01912, allocations: 12 kB / 307.5 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.01925, allocations: 12 kB / 307.5 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/0.01931, allocations: 47.84 kB / 307.6 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.01932, allocations: 12 kB / 307.6 MB, free: 1.562 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.881e-05/0.01936, allocations: 61.94 kB / 307.7 MB, free: 1.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01936, allocations: 0 / 307.7 MB, free: 1.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003599/0.01972, allocations: 124 kB / 307.8 MB, free: 1.379 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.383e-05/0.0198, allocations: 92.3 kB / 307.9 MB, free: 1.281 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004949/0.0203, allocations: 0.6421 MB / 308.5 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/0.02031, allocations: 4 kB / 308.5 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003009/0.02061, allocations: 0.5354 MB / 309 MB, free: 20 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.02104, allocations: 451 kB / 309.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005455/0.02649, allocations: 0.8238 MB / 310.3 MB, free: 14.63 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.572e-05/0.02658, allocations: 118.4 kB / 310.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.161e-05/0.02667, allocations: 31.69 kB / 310.5 MB, free: 14.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.0268, allocations: 115.3 kB / 310.6 MB, free: 14.35 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.0268, allocations: 0 / 310.6 MB, free: 14.35 MB / 314.7 MB Notification: Performance of Templates: time 0.0071/0.0339, allocations: 5.134 MB / 315.7 MB, free: 9.289 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8734749387949705]