Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.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.001489/0.001489, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.001553/0.001553, allocations: 161.6 kB / 24.27 MB, free: 172 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.469/1.469, allocations: 177.2 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3502/0.3502, allocations: 32.8 MB / 293.9 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.271e-05/3.443e-05, allocations: 10.25 kB / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01943/0.01946, allocations: 13.03 MB / 388.3 MB, free: 7.887 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01186/0.03132, allocations: 4.224 MB / 392.5 MB, free: 3.648 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00316/0.03448, allocations: 95.62 kB / 392.6 MB, free: 3.555 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005766/0.04025, allocations: 2.32 MB / 394.9 MB, free: 1.227 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005906/0.04615, allocations: 2.12 MB / 397.1 MB, free: 15.1 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.04792, allocations: 0.6704 MB / 397.7 MB, free: 14.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006851/0.05477, allocations: 4.688 MB / 402.4 MB, free: 9.727 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004319/0.05908, allocations: 3.024 MB / 405.4 MB, free: 6.648 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004208/0.06329, allocations: 2.428 MB / 407.9 MB, free: 4.215 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004166/0.06746, allocations: 2.396 MB / 410.3 MB, free: 1.812 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007858/0.06824, allocations: 344 kB / 410.6 MB, free: 1.477 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002171/0.07042, allocations: 1.018 MB / 411.6 MB, free: 468 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002584/0.073, allocations: 2.092 MB / 413.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002156/0.07516, allocations: 1.308 MB / 415 MB, free: 13.05 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.08644, allocations: 7.748 MB / 422.8 MB, free: 5.273 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.896e-06/0.08644, allocations: 0 / 422.8 MB, free: 5.273 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.08645, allocations: 4 kB / 422.8 MB, free: 5.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.00025/0.0867, allocations: 0 / 422.8 MB, free: 5.27 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.01333/0.1, allocations: 5.117 MB / 427.9 MB, free: 92 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.1001, allocations: 12.03 kB / 427.9 MB, free: 80 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0133/0.1134, allocations: 3.937 MB / 431.8 MB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006525/0.1199, allocations: 2.345 MB / 434.2 MB, free: 9.754 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003278/0.1202, allocations: 254.6 kB / 434.4 MB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001714/0.1219, allocations: 324.1 kB / 434.8 MB, free: 9.188 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2397/0.3616, allocations: 12.24 MB / 447 MB, free: 96.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001135/0.3618, allocations: 37.31 kB / 447 MB, free: 96.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004243/0.3622, allocations: 158.8 kB / 447.2 MB, free: 96.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004044/0.3662, allocations: 2.846 MB / 450 MB, free: 95.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01905/0.3853, allocations: 11.11 MB / 461.1 MB, free: 92.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05453/0.4398, allocations: 37.48 MB / 498.6 MB, free: 69.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00839/0.4482, allocations: 3.727 MB / 0.4906 GB, free: 68.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002708/0.4509, allocations: 2.258 MB / 0.4928 GB, free: 66.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007261/0.4516, allocations: 454.9 kB / 0.4932 GB, free: 66.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.4517, allocations: 53.5 kB / 0.4933 GB, free: 66.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 5.42e-06/0.4517, allocations: 0 / 0.4933 GB, free: 66.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=267): time 0.03797/0.4896, allocations: 19.15 MB / 0.512 GB, free: 49.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.4897, allocations: 77.41 kB / 0.512 GB, free: 49.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003083/0.4927, allocations: 3.135 MB / 0.5151 GB, free: 46.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000209/0.493, allocations: 57.7 kB / 0.5151 GB, free: 46.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.494, allocations: 3.251 MB / 0.5183 GB, free: 42.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006843/0.4947, allocations: 0.9978 MB / 0.5193 GB, free: 41.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001252/0.4959, allocations: 1.174 MB / 0.5204 GB, free: 40.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.748e-05/0.496, allocations: 301.1 kB / 0.5207 GB, free: 40.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002614/0.4986, allocations: 2.475 MB / 0.5231 GB, free: 37.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0039/0.5025, allocations: 5.727 MB / 0.5287 GB, free: 30.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007262/0.5098, allocations: 8.985 MB / 0.5375 GB, free: 20.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.764e-05/0.5098, allocations: 35.12 kB / 0.5375 GB, free: 19.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01258/0.5224, allocations: 9.291 MB / 0.5466 GB, free: 10.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.35e-05/0.5225, allocations: 60.77 kB / 0.5467 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001124/0.5226, allocations: 112 kB / 0.5468 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002861/0.5254, allocations: 1.105 MB / 0.5479 GB, free: 9.406 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003675/0.5291, allocations: 1.353 MB / 0.5492 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005689/0.5348, allocations: 5.392 MB / 0.5545 GB, free: 2.562 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003555/0.5383, allocations: 350.5 kB / 0.5548 GB, free: 2.223 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004607/0.5388, allocations: 336 kB / 0.5551 GB, free: 1.895 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (729): * Single equations (assignments): 722 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003203/0.542, allocations: 2.415 MB / 0.5575 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000793/0.5428, allocations: 369.9 kB / 0.5578 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01071/0.5535, allocations: 5.348 MB / 0.563 GB, free: 9.695 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.562e-05/0.5536, allocations: 49.94 kB / 0.5631 GB, free: 9.648 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.5536, allocations: 5.875 kB / 0.5631 GB, free: 9.645 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.367e-05/0.5536, allocations: 11.95 kB / 0.5631 GB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02273/0.5763, allocations: 11.4 MB / 0.5742 GB, free: 14.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.462e-05/0.5764, allocations: 12 kB / 0.5743 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001884/0.5783, allocations: 423.3 kB / 0.5747 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003251/0.5815, allocations: 0.9409 MB / 0.5756 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002066/0.5817, allocations: 56.72 kB / 0.5756 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007746/0.5895, allocations: 4.699 MB / 0.5802 GB, free: 7.809 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-05/0.5895, allocations: 19.88 kB / 0.5802 GB, free: 7.789 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01432/0.6038, allocations: 8.034 MB / 0.5881 GB, free: 15.53 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/0.6051, allocations: 290 kB / 0.5884 GB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004056/0.6055, allocations: 55.98 kB / 0.5884 GB, free: 15.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/0.607, allocations: 175.7 kB / 0.5886 GB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004897/0.6075, allocations: 173.4 kB / 0.5887 GB, free: 14.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002123/0.6077, allocations: 83.89 kB / 0.5888 GB, free: 14.77 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003122/0.6108, allocations: 1.788 MB / 0.5906 GB, free: 12.98 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6108, allocations: 0 / 0.5906 GB, free: 12.98 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004887/0.6157, allocations: 1.129 MB / 0.5917 GB, free: 11.85 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.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 (208): * Single equations (assignments): 201 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000567/0.6163, allocations: 210.6 kB / 0.5919 GB, free: 11.64 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01014/0.6264, allocations: 5.789 MB / 0.5975 GB, free: 5.852 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/0.6264, allocations: 4 kB / 0.5975 GB, free: 5.848 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003657/0.6301, allocations: 2.105 MB / 0.5996 GB, free: 3.73 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/0.6324, allocations: 372.1 kB / 0.5999 GB, free: 3.379 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1741/0.8065, allocations: 11.53 MB / 0.6112 GB, free: 130.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003765/0.8103, allocations: 3.177 MB / 0.6143 GB, free: 130.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004/0.8143, allocations: 2.123 MB / 0.6164 GB, free: 130.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007737/0.8151, allocations: 229.3 kB / 0.6166 GB, free: 130.1 MB / 458.7 MB Notification: Performance of SimCode: time 2.475e-06/0.8151, allocations: 0 / 0.6166 GB, free: 130.1 MB / 458.7 MB Notification: Performance of Templates: time 0.0587/0.8738, allocations: 30.36 MB / 0.6462 GB, free: 124 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.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: 6.912057095090859]