Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.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.001145/0.001145, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.001524/0.001524, allocations: 177.4 kB / 24.06 MB, free: 452 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.9348/0.9348, allocations: 158.6 MB / 185.9 MB, free: 2.801 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.1345/0.1345, allocations: 32.38 MB / 270.7 MB, free: 14.53 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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 348.1 MB, free: 9.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.881e-05, allocations: 2.312 kB / 348.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.00281/0.002838, allocations: 2.827 MB / 350.9 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009774/0.003816, allocations: 0.737 MB / 351.7 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.003941, allocations: 15.88 kB / 351.7 MB, free: 5.582 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.004084, allocations: 59.33 kB / 351.8 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.004234, allocations: 134.8 kB / 351.9 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.004445, allocations: 99.73 kB / 352 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.004687, allocations: 466.1 kB / 352.4 MB, free: 4.836 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.004858, allocations: 126.8 kB / 352.6 MB, free: 4.711 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.005059, allocations: 251.5 kB / 352.8 MB, free: 4.465 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.005206, allocations: 143.6 kB / 352.9 MB, free: 4.324 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.79e-05/0.005244, allocations: 39.94 kB / 353 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.346e-05/0.005277, allocations: 36 kB / 353 MB, free: 4.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.939e-05/0.005317, allocations: 87.66 kB / 353.1 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.534e-05/0.005392, allocations: 139.7 kB / 353.2 MB, free: 4.027 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.005598, allocations: 294.8 kB / 353.5 MB, free: 3.738 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.0056, allocations: 0 / 353.5 MB, free: 3.738 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.005601, allocations: 0 / 353.5 MB, free: 3.738 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.005606, allocations: 0 / 353.5 MB, free: 3.738 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.0005199/0.006125, allocations: 0.7026 MB / 354.2 MB, free: 2.996 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.006161, allocations: 8.031 kB / 354.2 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.152e-05/0.006222, allocations: 76.66 kB / 354.3 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.006402, allocations: 236.9 kB / 354.5 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.00642, allocations: 29.38 kB / 354.6 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.006457, allocations: 48.36 kB / 354.6 MB, free: 2.578 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.006706, allocations: 302.7 kB / 354.9 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.006721, allocations: 12.14 kB / 354.9 MB, free: 2.246 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.00674, allocations: 16.38 kB / 354.9 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.006749, allocations: 11.94 kB / 355 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.006854, allocations: 99.88 kB / 355.1 MB, free: 2.121 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007166/0.00757, allocations: 0.9945 MB / 356.1 MB, free: 1.09 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.00776, allocations: 257.4 kB / 356.3 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.51e-05/0.007835, allocations: 123 kB / 356.4 MB, free: 0.668 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.007854, allocations: 4 kB / 356.4 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.007872, allocations: 37.39 kB / 356.5 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of pre-optimization done (n=39): time 1.623e-06/0.007873, allocations: 0 / 356.5 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of matching and sorting (n=57): time 0.001503/0.009376, allocations: 1.569 MB / 358 MB, free: 14.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.009419, allocations: 110.8 kB / 358.1 MB, free: 14.74 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.009534, allocations: 234.8 kB / 358.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.009554, allocations: 33.7 kB / 358.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.973e-05/0.009654, allocations: 240.2 kB / 358.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.566e-05/0.009749, allocations: 210.2 kB / 358.8 MB, free: 14.01 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.141e-05/0.009831, allocations: 95.95 kB / 358.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.00996, allocations: 0.5157 MB / 359.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.748e-05/0.01003, allocations: 49.27 kB / 359.5 MB, free: 13.33 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.01015, allocations: 190.6 kB / 359.7 MB, free: 13.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.01039, allocations: 275.9 kB / 360 MB, free: 12.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.01039, allocations: 3.984 kB / 360 MB, free: 12.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004321/0.01083, allocations: 415.8 kB / 360.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.01084, allocations: 7.938 kB / 360.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.01085, allocations: 4 kB / 360.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002385/0.01109, allocations: 115.1 kB / 360.5 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.01129, allocations: 95.97 kB / 360.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002954/0.01425, allocations: 6.274 MB / 366.9 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.679e-05/0.01434, allocations: 16 kB / 366.9 MB, free: 5.488 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.01435, allocations: 15.98 kB / 366.9 MB, free: 5.473 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 0.0001147/0.01447, allocations: 192.4 kB / 367.1 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.424e-05/0.01453, allocations: 55.84 kB / 367.1 MB, free: 5.219 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.673e-05/0.01457, allocations: 41.8 kB / 367.2 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.01457, allocations: 8 kB / 367.2 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.01458, allocations: 7.938 kB / 367.2 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01459, allocations: 0 / 367.2 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009278/0.01552, allocations: 1.125 MB / 368.3 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.01552, allocations: 0 / 368.3 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.01571, allocations: 95.88 kB / 368.4 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001408/0.01585, allocations: 83 kB / 368.5 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.252e-05/0.0159, allocations: 16 kB / 368.5 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002354/0.01826, allocations: 5.336 MB / 373.8 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.01826, allocations: 7.969 kB / 373.8 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005257/0.01878, allocations: 0.8319 MB / 374.7 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/0.01881, allocations: 31.77 kB / 374.7 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.01883, allocations: 15.94 kB / 374.7 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.01894, allocations: 15.98 kB / 374.7 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003503/0.01929, allocations: 47.86 kB / 374.8 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.01931, allocations: 12 kB / 374.8 MB, free: 13.08 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.595e-05/0.01938, allocations: 180 kB / 375 MB, free: 12.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.01938, allocations: 0 / 375 MB, free: 12.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003979/0.01978, allocations: 120 kB / 375.1 MB, free: 12.79 MB / 314.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 0.0001149/0.0199, allocations: 107.2 kB / 375.2 MB, free: 12.67 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006398/0.02054, allocations: 0.8092 MB / 376 MB, free: 11.81 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.02054, allocations: 0 / 376 MB, free: 11.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003993/0.02094, allocations: 0.6814 MB / 376.7 MB, free: 11.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.02133, allocations: 61.94 kB / 376.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.02251, allocations: 0.9387 MB / 377.7 MB, free: 10.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.374e-05/0.02261, allocations: 118.4 kB / 377.8 MB, free: 9.891 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.1e-05/0.02268, allocations: 27.28 kB / 377.8 MB, free: 9.867 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.02281, allocations: 126.2 kB / 378 MB, free: 9.742 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02281, allocations: 4 kB / 378 MB, free: 9.738 MB / 314.7 MB Notification: Performance of Templates: time 0.006944/0.02976, allocations: 4.783 MB / 382.7 MB, free: 5.004 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.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.211446085013449]