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.0009433/0.0009433, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001223/0.002167, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.00073/0.00073, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001011/0.001741, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9903/0.9903, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1953/1.186, allocations: 49.51 MB / 220.7 MB, free: 1.355 MB / 218.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.1517/0.1517, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02761/0.1793, allocations: 12.31 MB / 266.1 MB, free: 3.875 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 1.452e-06/1.452e-06, allocations: 0 / 267.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.789e-05/1.935e-05, allocations: 10.19 kB / 267.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004293/0.004312, allocations: 2.868 MB / 270.3 MB, free: 15.67 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.005728, allocations: 0.7833 MB / 271 MB, free: 14.88 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.005916, allocations: 11.94 kB / 271 MB, free: 14.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.00607, allocations: 67.25 kB / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004884/0.006558, allocations: 130.8 kB / 271.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.00673, allocations: 95.86 kB / 271.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003676/0.007097, allocations: 470.1 kB / 271.8 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/0.007299, allocations: 131.4 kB / 271.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003353/0.007635, allocations: 284.3 kB / 272.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.007817, allocations: 143.5 kB / 272.3 MB, free: 13.56 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.568e-05/0.007863, allocations: 36 kB / 272.4 MB, free: 13.53 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.137e-05/0.007904, allocations: 36 kB / 272.4 MB, free: 13.49 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.715e-05/0.007951, allocations: 59.75 kB / 272.5 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.655e-05/0.008048, allocations: 115.8 kB / 272.6 MB, free: 13.32 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.008313, allocations: 278.8 kB / 272.9 MB, free: 13.05 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.17e-05/0.008325, allocations: 4 kB / 272.9 MB, free: 13.04 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.008326, allocations: 0 / 272.9 MB, free: 13.04 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.008336, allocations: 0 / 272.9 MB, free: 13.04 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.0006886/0.009025, allocations: 0.648 MB / 273.5 MB, free: 12.37 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.00906, allocations: 8.031 kB / 273.5 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.744e-05/0.009137, allocations: 64.83 kB / 273.6 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.009381, allocations: 206.1 kB / 273.8 MB, free: 12.07 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.009402, allocations: 29.38 kB / 273.8 MB, free: 12.04 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-05/0.009453, allocations: 44.36 kB / 273.8 MB, free: 12 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003032/0.009756, allocations: 298.2 kB / 274.1 MB, free: 11.69 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.009775, allocations: 12.08 kB / 274.2 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.009796, allocations: 12.38 kB / 274.2 MB, free: 11.67 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.009807, allocations: 15.94 kB / 274.2 MB, free: 11.65 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.00994, allocations: 99.89 kB / 274.3 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008794/0.01082, allocations: 0.7512 MB / 275 MB, free: 10.78 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.01106, allocations: 231.4 kB / 275.3 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.4e-05/0.01115, allocations: 90.52 kB / 275.3 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.01117, allocations: 7.984 kB / 275.4 MB, free: 10.42 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.0112, allocations: 38.56 kB / 275.4 MB, free: 10.37 MB / 282.7 MB Notification: Performance of pre-optimization done (n=39): time 1.453e-06/0.0112, allocations: 0 / 275.4 MB, free: 10.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=57): time 0.001789/0.01299, allocations: 1.6 MB / 277 MB, free: 8.609 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.01303, allocations: 110.8 kB / 277.1 MB, free: 8.477 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.01314, allocations: 186.2 kB / 277.3 MB, free: 8.281 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.01316, allocations: 37.7 kB / 277.3 MB, free: 8.238 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.027e-05/0.01323, allocations: 177.4 kB / 277.5 MB, free: 8.062 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.01333, allocations: 210.1 kB / 277.7 MB, free: 7.855 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-05/0.01341, allocations: 90.25 kB / 277.8 MB, free: 7.762 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004171/0.01383, allocations: 346.8 kB / 278.1 MB, free: 7.414 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.623e-05/0.0139, allocations: 45.28 kB / 278.2 MB, free: 7.371 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.01401, allocations: 152.7 kB / 278.3 MB, free: 7.184 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.01422, allocations: 249.9 kB / 278.6 MB, free: 6.902 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01422, allocations: 0 / 278.6 MB, free: 6.902 MB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003572/0.01458, allocations: 339.5 kB / 278.9 MB, free: 6.555 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.0146, allocations: 8 kB / 278.9 MB, free: 6.547 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.0146, allocations: 7.922 kB / 278.9 MB, free: 6.539 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002165/0.01482, allocations: 106.7 kB / 279 MB, free: 6.426 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.01508, allocations: 115.9 kB / 279.1 MB, free: 6.312 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/0.01746, allocations: 4.323 MB / 283.4 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.01756, allocations: 16 kB / 283.5 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.01758, allocations: 19.98 kB / 283.5 MB, free: 1.699 MB / 282.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.0001064/0.01768, allocations: 145.7 kB / 283.6 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.892e-05/0.01774, allocations: 43.91 kB / 283.7 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.415e-05/0.01779, allocations: 41.8 kB / 283.7 MB, free: 1.461 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.01779, allocations: 8 kB / 283.7 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.071e-05/0.01781, allocations: 0 / 283.7 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.01782, allocations: 4 kB / 283.7 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007857/0.0186, allocations: 0.8335 MB / 284.6 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.01861, allocations: 0 / 284.6 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/0.01885, allocations: 119.8 kB / 284.7 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/0.01887, allocations: 27.77 kB / 284.7 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000147/0.01902, allocations: 82.61 kB / 284.8 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.01903, allocations: 12 kB / 284.8 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1822/0.2012, allocations: 3.67 MB / 288.5 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.2012, allocations: 5.719 kB / 288.5 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005985/0.2018, allocations: 0.6203 MB / 289.1 MB, free: 9.711 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.2018, allocations: 12.48 kB / 289.1 MB, free: 9.711 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.202, allocations: 13.92 kB / 289.1 MB, free: 9.711 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.41e-05/0.2021, allocations: 51.98 kB / 289.2 MB, free: 9.707 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.2021, allocations: 12.44 kB / 289.2 MB, free: 9.707 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.848e-05/0.2022, allocations: 59.98 kB / 289.2 MB, free: 9.699 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2022, allocations: 1.438 kB / 289.2 MB, free: 9.699 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006243/0.2028, allocations: 117.2 kB / 289.3 MB, free: 9.699 MB / 282.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.0001111/0.2029, allocations: 94.94 kB / 289.4 MB, free: 9.633 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006835/0.2036, allocations: 0.6401 MB / 290.1 MB, free: 9.285 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.657e-05/0.2037, allocations: 7.234 kB / 290.1 MB, free: 9.285 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004059/0.2041, allocations: 0.5309 MB / 290.6 MB, free: 8.941 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.2046, allocations: 444 kB / 291.1 MB, free: 8.535 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006943/0.2116, allocations: 0.8327 MB / 291.9 MB, free: 8.125 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.2117, allocations: 120.8 kB / 292 MB, free: 8.051 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001439/0.2118, allocations: 36.5 kB / 292 MB, free: 8.047 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.212, allocations: 117.4 kB / 292.2 MB, free: 8 MB / 282.7 MB Notification: Performance of SimCode: time 1.262e-06/0.212, allocations: 0 / 292.2 MB, free: 8 MB / 282.7 MB Notification: Performance of Templates: time 0.009358/0.2214, allocations: 5.121 MB / 297.3 MB, free: 7.555 MB / 282.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2045375276356936]