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.001018/0.001018, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.00115/0.00115, allocations: 168.4 kB / 25.61 MB, free: 8.902 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 1.041/1.041, allocations: 177.1 MB / 206 MB, free: 4.484 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.1525/0.1525, allocations: 34.26 MB / 296.8 MB, free: 13.93 MB / 282.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.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.022e-06/1.022e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.416e-05, allocations: 6.797 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.002242/0.002256, allocations: 2.829 MB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.003263, allocations: 0.7827 MB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.003399, allocations: 15.88 kB / 382.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.003536, allocations: 59.33 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.00369, allocations: 138.8 kB / 383.1 MB, free: 19.58 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.003933, allocations: 115.8 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.004184, allocations: 470.1 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.00435, allocations: 130.8 kB / 383.8 MB, free: 18.87 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.004567, allocations: 271.3 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.004712, allocations: 139.6 kB / 384.2 MB, free: 18.47 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/0.004744, allocations: 36 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.853e-05/0.004802, allocations: 43.98 kB / 384.3 MB, free: 18.39 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.424e-05/0.004837, allocations: 83.67 kB / 384.4 MB, free: 18.31 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.502e-05/0.004912, allocations: 147.6 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.005133, allocations: 298.8 kB / 384.8 MB, free: 17.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.005135, allocations: 0 / 384.8 MB, free: 17.87 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.005135, allocations: 0 / 384.8 MB, free: 17.87 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.00514, allocations: 0 / 384.8 MB, free: 17.87 MB / 314.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.0005982/0.005738, allocations: 0.7065 MB / 385.5 MB, free: 17.13 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.005781, allocations: 8.031 kB / 385.5 MB, free: 17.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000322/0.006103, allocations: 100.6 kB / 385.6 MB, free: 17.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.006366, allocations: 251.8 kB / 385.8 MB, free: 16.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.006388, allocations: 29.38 kB / 385.9 MB, free: 16.72 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.244e-05/0.00643, allocations: 44.33 kB / 385.9 MB, free: 16.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.006732, allocations: 302.7 kB / 386.2 MB, free: 16.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.006752, allocations: 4.188 kB / 386.2 MB, free: 16.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.006774, allocations: 24.31 kB / 386.2 MB, free: 16.33 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.006783, allocations: 11.94 kB / 386.3 MB, free: 16.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.006918, allocations: 108.4 kB / 386.4 MB, free: 16.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009014/0.00782, allocations: 0.9906 MB / 387.4 MB, free: 15.19 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.008096, allocations: 264.8 kB / 387.6 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.676e-05/0.008183, allocations: 103 kB / 387.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.008211, allocations: 15.94 kB / 387.7 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.008241, allocations: 49.31 kB / 387.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=39): time 2.004e-06/0.008243, allocations: 0 / 387.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.00164/0.009883, allocations: 1.54 MB / 389.3 MB, free: 12.99 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.009919, allocations: 114.8 kB / 389.4 MB, free: 12.85 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.01002, allocations: 250.6 kB / 389.7 MB, free: 12.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.01004, allocations: 29.7 kB / 389.7 MB, free: 12.55 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.305e-05/0.01012, allocations: 248.1 kB / 389.9 MB, free: 12.3 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.01022, allocations: 210.1 kB / 390.1 MB, free: 12.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.262e-05/0.01032, allocations: 91.97 kB / 390.2 MB, free: 12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.944e-05/0.01041, allocations: 0.5117 MB / 390.7 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.136e-05/0.01047, allocations: 57.25 kB / 390.8 MB, free: 11.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.01057, allocations: 186.6 kB / 391 MB, free: 11.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.01079, allocations: 275.9 kB / 391.3 MB, free: 10.86 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.01079, allocations: 4 kB / 391.3 MB, free: 10.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004398/0.01123, allocations: 415.8 kB / 391.7 MB, free: 10.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.01125, allocations: 8.031 kB / 391.7 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.01126, allocations: 4 kB / 391.7 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000248/0.01151, allocations: 118.9 kB / 391.8 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.01172, allocations: 91.88 kB / 391.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/0.01403, allocations: 6.271 MB / 398.2 MB, free: 3.594 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.985e-05/0.01413, allocations: 15.94 kB / 398.2 MB, free: 3.578 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.01415, allocations: 19.98 kB / 398.2 MB, free: 3.559 MB / 314.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.0001042/0.01425, allocations: 184.5 kB / 398.4 MB, free: 3.367 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.52e-05/0.01433, allocations: 51.81 kB / 398.4 MB, free: 3.316 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.295e-05/0.01437, allocations: 45.83 kB / 398.5 MB, free: 3.277 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.01438, allocations: 11.94 kB / 398.5 MB, free: 3.266 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.598e-05/0.01439, allocations: 7.938 kB / 398.5 MB, free: 3.258 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.0144, allocations: 0 / 398.5 MB, free: 3.258 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.0154, allocations: 1.109 MB / 399.6 MB, free: 2.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.01541, allocations: 4.094 kB / 399.6 MB, free: 2.086 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.01563, allocations: 99.81 kB / 399.7 MB, free: 1.988 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001873/0.01582, allocations: 90.97 kB / 399.8 MB, free: 1.887 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.01584, allocations: 12 kB / 399.8 MB, free: 1.875 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002496/0.01833, allocations: 5.337 MB / 405.1 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.01834, allocations: 8.031 kB / 405.1 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007715/0.01911, allocations: 0.8351 MB / 406 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.189e-05/0.01914, allocations: 27.77 kB / 406 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.01917, allocations: 16 kB / 406 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.0193, allocations: 23.98 kB / 406 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.0194, allocations: 47.86 kB / 406.1 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.01942, allocations: 12 kB / 406.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.01952, allocations: 165.7 kB / 406.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01952, allocations: 4 kB / 406.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004932/0.02002, allocations: 124 kB / 406.4 MB, free: 10.89 MB / 330.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.0001389/0.02016, allocations: 107.1 kB / 406.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007962/0.02095, allocations: 0.818 MB / 407.3 MB, free: 9.906 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.02096, allocations: 0 / 407.3 MB, free: 9.906 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004779/0.02143, allocations: 0.6833 MB / 408 MB, free: 9.168 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.02189, allocations: 64.08 kB / 408.1 MB, free: 9.105 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.0235, allocations: 0.9333 MB / 409 MB, free: 8.117 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/0.02365, allocations: 126.3 kB / 409.1 MB, free: 7.969 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.967e-05/0.02375, allocations: 31.27 kB / 409.1 MB, free: 7.938 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.0239, allocations: 126.2 kB / 409.3 MB, free: 7.812 MB / 330.7 MB Notification: Performance of SimCode: time 1.413e-06/0.0239, allocations: 0 / 409.3 MB, free: 7.812 MB / 330.7 MB Notification: Performance of Templates: time 0.009212/0.03311, allocations: 4.92 MB / 414.2 MB, free: 2.949 MB / 330.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","",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.4706183481030166]