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.001175/0.001175, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001008/0.001008, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 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.9111/0.9111, allocations: 158.6 MB / 186 MB, free: 2.91 MB / 170.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.1393/0.1393, allocations: 32.37 MB / 270.7 MB, free: 14.78 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.734e-06/1.734e-06, allocations: 0 / 347.6 MB, free: 9.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.789e-05/2.963e-05, allocations: 8.281 kB / 347.6 MB, free: 9.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.001807/0.001837, allocations: 1.697 MB / 349.3 MB, free: 8.098 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002401/0.002077, allocations: 111.6 kB / 349.4 MB, free: 7.988 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.72e-05/0.002134, allocations: 4 kB / 349.4 MB, free: 7.984 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.537e-05/0.002179, allocations: 15.8 kB / 349.5 MB, free: 7.969 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.221e-05/0.002272, allocations: 39.62 kB / 349.5 MB, free: 7.93 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001098/0.002381, allocations: 19.98 kB / 349.5 MB, free: 7.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.836e-05/0.00248, allocations: 139.3 kB / 349.7 MB, free: 7.773 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.002614, allocations: 25.28 kB / 349.7 MB, free: 7.75 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.588e-05/0.0027, allocations: 71.88 kB / 349.8 MB, free: 7.68 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.149e-05/0.002761, allocations: 35.89 kB / 349.8 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.002782, allocations: 8 kB / 349.8 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.315e-05/0.002795, allocations: 15.94 kB / 349.8 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.002816, allocations: 27.91 kB / 349.8 MB, free: 7.594 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.002849, allocations: 35.92 kB / 349.9 MB, free: 7.559 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.002967, allocations: 83.72 kB / 350 MB, free: 7.477 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.00297, allocations: 0 / 350 MB, free: 7.477 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.002971, allocations: 0 / 350 MB, free: 7.477 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.002976, allocations: 4 kB / 350 MB, free: 7.473 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0003117/0.003287, allocations: 436.4 kB / 350.4 MB, free: 7.004 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.003324, allocations: 11.97 kB / 350.4 MB, free: 6.992 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/0.003368, allocations: 20.89 kB / 350.4 MB, free: 6.973 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.003503, allocations: 140.4 kB / 350.6 MB, free: 6.809 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.003516, allocations: 12.61 kB / 350.6 MB, free: 6.797 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.003544, allocations: 12.38 kB / 350.6 MB, free: 6.785 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.003679, allocations: 113.3 kB / 350.7 MB, free: 6.664 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.00369, allocations: 8.141 kB / 350.7 MB, free: 6.656 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.003703, allocations: 4.375 kB / 350.7 MB, free: 6.652 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.003712, allocations: 8.375 kB / 350.7 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.775e-05/0.003769, allocations: 43.89 kB / 350.8 MB, free: 6.602 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.004201, allocations: 0.5256 MB / 351.3 MB, free: 6.035 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.246e-05/0.004283, allocations: 90.19 kB / 351.4 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.602e-05/0.004309, allocations: 27.31 kB / 351.4 MB, free: 5.887 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.004317, allocations: 4 kB / 351.4 MB, free: 5.883 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.004334, allocations: 37.38 kB / 351.4 MB, free: 5.836 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.004335, allocations: 0 / 351.4 MB, free: 5.836 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003454/0.004681, allocations: 148.9 kB / 351.6 MB, free: 5.676 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.957e-05/0.0047, allocations: 77.11 kB / 351.7 MB, free: 5.582 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.921e-05/0.004759, allocations: 185.8 kB / 351.8 MB, free: 5.383 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.799e-06/0.004764, allocations: 29.64 kB / 351.9 MB, free: 5.348 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.004803, allocations: 166.6 kB / 352 MB, free: 5.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.004818, allocations: 27.75 kB / 352.1 MB, free: 5.152 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.004846, allocations: 39.36 kB / 352.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.914e-05/0.004885, allocations: 0.4884 MB / 352.6 MB, free: 4.605 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.984e-05/0.004905, allocations: 12 kB / 352.6 MB, free: 4.594 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.107e-05/0.004946, allocations: 111.1 kB / 352.7 MB, free: 4.445 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.347e-05/0.005019, allocations: 128.7 kB / 352.8 MB, free: 4.277 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.005022, allocations: 0 / 352.8 MB, free: 4.277 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001457/0.005168, allocations: 168.7 kB / 353 MB, free: 4.098 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.005181, allocations: 4 kB / 353 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.005187, allocations: 4 kB / 353 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001521/0.005339, allocations: 43.23 kB / 353 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.627e-05/0.005405, allocations: 23.98 kB / 353.1 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008799/0.006285, allocations: 3.468 MB / 356.5 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.044e-05/0.006326, allocations: 7.953 kB / 356.5 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.006331, allocations: 12.25 kB / 356.6 MB, free: 288 kB / 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 5.985e-05/0.006391, allocations: 172.4 kB / 356.7 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.006417, allocations: 11.98 kB / 356.7 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.345e-05/0.00643, allocations: 8 kB / 356.7 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.006431, allocations: 4 kB / 356.7 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.006434, allocations: 0 / 356.7 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.006438, allocations: 0 / 356.7 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.006583, allocations: 152.5 kB / 356.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.006585, allocations: 0 / 356.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.536e-05/0.00664, allocations: 19.98 kB / 356.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-05/0.006718, allocations: 39.36 kB / 357 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.006726, allocations: 0 / 357 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.007992, allocations: 3.456 MB / 360.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.007994, allocations: 4 kB / 360.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.008216, allocations: 382.3 kB / 360.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.278e-06/0.008226, allocations: 11.89 kB / 360.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-06/0.008235, allocations: 4 kB / 360.8 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.94e-05/0.008284, allocations: 7.984 kB / 360.8 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.008315, allocations: 12.05 kB / 360.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.008319, allocations: 7.938 kB / 360.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.407e-05/0.008363, allocations: 135.2 kB / 361 MB, free: 11.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008363, allocations: 0 / 361 MB, free: 11.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002449/0.008608, allocations: 39.95 kB / 361 MB, free: 11.5 MB / 298.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 9.587e-05/0.008704, allocations: 91.25 kB / 361.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003265/0.00903, allocations: 415.5 kB / 361.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.009032, allocations: 0 / 361.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.009186, allocations: 367.3 kB / 361.9 MB, free: 10.56 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.009503, allocations: 31.98 kB / 361.9 MB, free: 10.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007265/0.01023, allocations: 390.7 kB / 362.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.245e-05/0.01028, allocations: 79.94 kB / 362.3 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.008e-05/0.01031, allocations: 4.984 kB / 362.3 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.01033, allocations: 16.44 kB / 362.4 MB, free: 9.996 MB / 298.7 MB Notification: Performance of SimCode: time 9.71e-07/0.01033, allocations: 0 / 362.4 MB, free: 9.996 MB / 298.7 MB Notification: Performance of Templates: time 0.003829/0.01416, allocations: 1.685 MB / 364.1 MB, free: 8.344 MB / 298.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 -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: 3.0609424191061407]