Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.002453/0.002453, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002896/0.002896, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 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.62/1.62, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.4539/0.4539, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] 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.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.1.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.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.256e-05/3.448e-05, allocations: 2.312 kB / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.005222/0.005256, allocations: 2.844 MB / 380.1 MB, free: 124 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.007184, allocations: 0.775 MB / 380.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003618/0.007546, allocations: 11.94 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003019/0.007848, allocations: 63.31 kB / 381 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004638/0.008311, allocations: 134.8 kB / 381.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004754/0.008787, allocations: 123.7 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007375/0.009524, allocations: 466.1 kB / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003156/0.00984, allocations: 130.7 kB / 381.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004844/0.01032, allocations: 263.4 kB / 382.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.01059, allocations: 147.6 kB / 382.2 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.811e-05/0.01065, allocations: 36 kB / 382.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.01077, allocations: 40 kB / 382.3 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.01088, allocations: 87.61 kB / 382.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.01106, allocations: 139.7 kB / 382.5 MB, free: 13.72 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006315/0.01169, allocations: 462.4 kB / 383 MB, free: 13.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.01169, allocations: 0 / 383 MB, free: 13.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01169, allocations: 0 / 383 MB, free: 13.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.0117, allocations: 4 kB / 383 MB, free: 13.27 MB / 362.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.001486/0.01319, allocations: 0.7218 MB / 383.7 MB, free: 12.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.01323, allocations: 12.03 kB / 383.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003907/0.01362, allocations: 100.6 kB / 383.8 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004374/0.01406, allocations: 239.9 kB / 384 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.705e-05/0.0141, allocations: 29.38 kB / 384.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.803e-05/0.01418, allocations: 48.31 kB / 384.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007541/0.01493, allocations: 398 kB / 384.5 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/0.01496, allocations: 12.14 kB / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.774e-05/0.015, allocations: 16.38 kB / 384.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.01501, allocations: 11.94 kB / 384.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005122/0.01553, allocations: 223.8 kB / 384.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/0.01745, allocations: 1.127 MB / 385.9 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006535/0.0181, allocations: 365.3 kB / 386.2 MB, free: 9.828 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/0.01842, allocations: 170.9 kB / 386.4 MB, free: 9.648 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-05/0.01846, allocations: 8 kB / 386.4 MB, free: 9.641 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.0185, allocations: 41.39 kB / 386.4 MB, free: 9.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 1.964e-06/0.0185, allocations: 0 / 386.4 MB, free: 9.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.004233/0.02273, allocations: 2.074 MB / 388.5 MB, free: 7.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.569e-05/0.02282, allocations: 106.8 kB / 388.6 MB, free: 7.211 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.02312, allocations: 282.7 kB / 388.9 MB, free: 6.914 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.02315, allocations: 33.7 kB / 388.9 MB, free: 6.875 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.02334, allocations: 248.1 kB / 389.2 MB, free: 6.629 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/0.02355, allocations: 222.2 kB / 389.4 MB, free: 6.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.02372, allocations: 104 kB / 389.5 MB, free: 6.301 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000303/0.02402, allocations: 0.5274 MB / 390 MB, free: 5.762 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/0.02429, allocations: 121.2 kB / 390.1 MB, free: 5.641 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004602/0.02475, allocations: 278.7 kB / 390.4 MB, free: 5.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007182/0.02547, allocations: 439.9 kB / 390.8 MB, free: 4.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.02548, allocations: 3.938 kB / 390.8 MB, free: 4.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00117/0.02665, allocations: 0.5779 MB / 391.4 MB, free: 4.238 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.02667, allocations: 11.94 kB / 391.4 MB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.02668, allocations: 4 kB / 391.4 MB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004612/0.02714, allocations: 135 kB / 391.6 MB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/0.02753, allocations: 99.92 kB / 391.7 MB, free: 3.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006376/0.03391, allocations: 6.683 MB / 398.3 MB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.03413, allocations: 12 kB / 398.4 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.03416, allocations: 20 kB / 398.4 MB, free: 12.91 MB / 378.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.0002612/0.03442, allocations: 216.4 kB / 398.6 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.03456, allocations: 63.73 kB / 398.7 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.03467, allocations: 41.81 kB / 398.7 MB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.03468, allocations: 8 kB / 398.7 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/0.0347, allocations: 4 kB / 398.7 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.0347, allocations: 3.984 kB / 398.7 MB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.03703, allocations: 1.399 MB / 400.1 MB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.03704, allocations: 4 kB / 400.1 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004189/0.03746, allocations: 91.89 kB / 400.2 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003468/0.03781, allocations: 107 kB / 400.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.03784, allocations: 16.09 kB / 400.3 MB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005274/0.04312, allocations: 5.632 MB / 406 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/0.04312, allocations: 7.938 kB / 406 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.04478, allocations: 1.079 MB / 407 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.04485, allocations: 31.75 kB / 407.1 MB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.357e-05/0.04489, allocations: 15.98 kB / 407.1 MB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.04513, allocations: 12.06 kB / 407.1 MB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.04525, allocations: 55.89 kB / 407.2 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.04529, allocations: 19.98 kB / 407.2 MB, free: 3.602 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001926/0.04548, allocations: 189.8 kB / 407.4 MB, free: 3.418 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04548, allocations: 0 / 407.4 MB, free: 3.418 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007122/0.04619, allocations: 120 kB / 407.5 MB, free: 3.301 MB / 378.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.0001576/0.04635, allocations: 107.2 kB / 407.6 MB, free: 3.188 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001536/0.04788, allocations: 0.9704 MB / 408.6 MB, free: 2.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.04789, allocations: 0 / 408.6 MB, free: 2.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009841/0.04887, allocations: 0.7585 MB / 409.3 MB, free: 1.344 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006257/0.0495, allocations: 55.88 kB / 409.4 MB, free: 1.289 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.05131, allocations: 1.009 MB / 410.4 MB, free: 232 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.05159, allocations: 216.9 kB / 410.6 MB, free: 15.99 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001242/0.05171, allocations: 35.27 kB / 410.6 MB, free: 15.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.05179, allocations: 32.44 kB / 410.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of SimCode: time 6.62e-07/0.05179, allocations: 0 / 410.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of Templates: time 0.01095/0.06274, allocations: 4.449 MB / 415.1 MB, free: 11.52 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.348631753004156]