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.002166/0.002166, allocations: 74.97 kB / 19.93 MB, free: 1.77 MB / 14.72 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.002567/0.002567, allocations: 172.9 kB / 23.22 MB, free: 4.887 MB / 14.72 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 1.606/1.606, allocations: 158.6 MB / 185 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] 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.2803/0.2803, allocations: 32.38 MB / 269.6 MB, free: 4.656 MB / 254.1 MB " [Timeout remaining time 179] 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 2.394e-06/2.394e-06, allocations: 0 / 407.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.214e-05/3.454e-05, allocations: 2.281 kB / 407.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002986/0.00302, allocations: 1.608 MB / 408.9 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003048/0.003325, allocations: 107.6 kB / 409.1 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.524e-05/0.00339, allocations: 0 / 409.1 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.879e-05/0.003449, allocations: 15.86 kB / 409.1 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.003579, allocations: 43.58 kB / 409.1 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001305/0.003709, allocations: 31.89 kB / 409.1 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.003884, allocations: 123.3 kB / 409.3 MB, free: 1.098 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.004039, allocations: 29.28 kB / 409.3 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.004171, allocations: 75.86 kB / 409.4 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.857e-05/0.00426, allocations: 35.89 kB / 409.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.004286, allocations: 8 kB / 409.4 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.512e-05/0.004312, allocations: 12 kB / 409.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.14e-05/0.004343, allocations: 19.92 kB / 409.4 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.923e-05/0.004412, allocations: 51.84 kB / 409.5 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.004618, allocations: 119.6 kB / 409.6 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.004622, allocations: 4 kB / 409.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.004624, allocations: 0 / 409.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.00463, allocations: 0 / 409.6 MB, free: 0.75 MB / 334.1 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.0005448/0.005174, allocations: 334.1 kB / 409.9 MB, free: 396 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.005211, allocations: 8.031 kB / 409.9 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.005258, allocations: 12.89 kB / 410 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.005455, allocations: 145.5 kB / 410.1 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.005469, allocations: 4.609 kB / 410.1 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.005505, allocations: 16.38 kB / 410.1 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.005756, allocations: 126.5 kB / 410.2 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.005774, allocations: 4.141 kB / 410.2 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.005792, allocations: 4.375 kB / 410.3 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.005799, allocations: 4.375 kB / 410.3 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.005962, allocations: 67.91 kB / 410.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007434/0.006706, allocations: 440.2 kB / 410.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.006863, allocations: 85.16 kB / 410.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.475e-05/0.006908, allocations: 25.72 kB / 410.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.006924, allocations: 0 / 410.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.006956, allocations: 34.56 kB / 410.9 MB, free: 15.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.163e-06/0.006957, allocations: 0 / 410.9 MB, free: 15.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005665/0.007524, allocations: 159.4 kB / 411.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.007583, allocations: 77.11 kB / 411.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.00771, allocations: 129.7 kB / 411.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.00773, allocations: 29.7 kB / 411.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.431e-05/0.007815, allocations: 119.8 kB / 411.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.007857, allocations: 31.73 kB / 411.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/0.007913, allocations: 33.7 kB / 411.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.008098, allocations: 318.8 kB / 411.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.487e-05/0.008143, allocations: 19.98 kB / 411.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.008256, allocations: 86.41 kB / 411.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.008423, allocations: 132.8 kB / 412 MB, free: 14.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.008426, allocations: 3.938 kB / 412 MB, free: 14.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002989/0.008725, allocations: 167.3 kB / 412.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.008744, allocations: 12.03 kB / 412.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.008752, allocations: 4 kB / 412.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002202/0.008972, allocations: 37.64 kB / 412.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.358e-05/0.009066, allocations: 16 kB / 412.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002434/0.0115, allocations: 2.489 MB / 414.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.219e-05/0.01157, allocations: 15.89 kB / 414.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.01158, allocations: 7.938 kB / 414.8 MB, free: 11.12 MB / 350.1 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 0.0001338/0.01172, allocations: 129.7 kB / 414.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.516e-05/0.01177, allocations: 12.03 kB / 414.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/0.0118, allocations: 8.156 kB / 414.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.01181, allocations: 8 kB / 414.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.01181, allocations: 3.984 kB / 414.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01182, allocations: 0 / 414.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.01205, allocations: 141.2 kB / 415.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01205, allocations: 0 / 415.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.102e-05/0.01214, allocations: 12 kB / 415.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001166/0.01226, allocations: 33.7 kB / 415.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.01227, allocations: 4 kB / 415.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002063/0.01433, allocations: 2.477 MB / 417.6 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.01434, allocations: 4.031 kB / 417.6 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003746/0.01471, allocations: 304.4 kB / 417.9 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.305e-05/0.01473, allocations: 7.953 kB / 417.9 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.01474, allocations: 8.312 kB / 417.9 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.201e-05/0.01484, allocations: 4 kB / 417.9 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.01487, allocations: 7.984 kB / 417.9 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.01488, allocations: 7.938 kB / 417.9 MB, free: 7.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.994e-05/0.01496, allocations: 95.27 kB / 418 MB, free: 7.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01496, allocations: 0 / 418 MB, free: 7.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003853/0.01534, allocations: 43.83 kB / 418 MB, free: 7.543 MB / 350.1 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 0.0001509/0.01549, allocations: 95.19 kB / 418.1 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005822/0.01607, allocations: 293.3 kB / 418.4 MB, free: 7.125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.01608, allocations: 0 / 418.4 MB, free: 7.125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003311/0.01641, allocations: 261.2 kB / 418.7 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005709/0.01698, allocations: 31.92 kB / 418.7 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007877/0.01777, allocations: 370.2 kB / 419.1 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.01789, allocations: 101.8 kB / 419.2 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.492e-05/0.01793, allocations: 8.922 kB / 419.2 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.419e-05/0.01799, allocations: 16.48 kB / 419.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01799, allocations: 0 / 419.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of Templates: time 0.005816/0.02381, allocations: 1.643 MB / 420.8 MB, free: 4.668 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.524634562432766]