Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 174 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205.6 MB / 222.4 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 90.61 kB / 270.8 MB, free: 8.121 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.409/0.409, allocations: 43.68 MB / 362.7 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003484, allocations: 8 kB / 432.3 MB, free: 5.027 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1408, allocations: 58.85 MB / 491.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.2918/0.4326, allocations: 42.78 MB / 0.5214 GB, free: 20 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02903/0.4617, allocations: 12.26 MB / 0.5334 GB, free: 10.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01338/0.4752, allocations: 196.4 kB / 0.5336 GB, free: 10.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002414/0.4776, allocations: 0.5352 MB / 0.5341 GB, free: 10.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00675/0.4844, allocations: 1.943 MB / 0.536 GB, free: 9.344 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.4863, allocations: 0.5684 MB / 0.5366 GB, free: 9.117 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007974/0.4943, allocations: 6.235 MB / 0.5426 GB, free: 7.191 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007435/0.5018, allocations: 4.55 MB / 0.5471 GB, free: 4.875 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004107/0.5059, allocations: 1.38 MB / 0.5484 GB, free: 4.391 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005567/0.5115, allocations: 2.166 MB / 0.5505 GB, free: 3.699 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001789/0.5134, allocations: 174.1 kB / 0.5507 GB, free: 3.699 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004525/0.5179, allocations: 0.9145 MB / 0.5516 GB, free: 3.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004592/0.5225, allocations: 1.875 MB / 0.5534 GB, free: 2.867 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007827/0.5304, allocations: 2.292 MB / 0.5557 GB, free: 1.227 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01659/0.547, allocations: 7.428 MB / 0.5629 GB, free: 13.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.5471, allocations: 1.562 kB / 0.5629 GB, free: 13.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.5471, allocations: 0 / 0.5629 GB, free: 13.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004918/0.5476, allocations: 0 / 0.5629 GB, free: 13.18 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: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.01609/0.5637, allocations: 4.294 MB / 0.5671 GB, free: 10.12 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/0.5638, allocations: 10.22 kB / 0.5671 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01264/0.5764, allocations: 3.283 MB / 0.5703 GB, free: 7.738 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007915/0.5844, allocations: 2.456 MB / 0.5727 GB, free: 5.234 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003683/0.5848, allocations: 258.9 kB / 0.573 GB, free: 4.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002071/0.5869, allocations: 351.6 kB / 0.5733 GB, free: 4.637 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03076/0.6177, allocations: 12.63 MB / 0.5857 GB, free: 7.469 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002897/0.618, allocations: 39.66 kB / 0.5857 GB, free: 7.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001828/0.6199, allocations: 155.8 kB / 0.5858 GB, free: 7.277 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005817/0.6257, allocations: 3.032 MB / 0.5888 GB, free: 4.242 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0271/0.6529, allocations: 11.29 MB / 0.5998 GB, free: 8.941 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07434/0.7273, allocations: 42.32 MB / 0.6412 GB, free: 13.48 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00999/0.7373, allocations: 4.692 MB / 0.6457 GB, free: 8.555 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003762/0.7411, allocations: 2.428 MB / 0.6481 GB, free: 6.121 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/0.7424, allocations: 1.319 MB / 0.6494 GB, free: 4.582 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.505e-05/0.7424, allocations: 60.55 kB / 0.6495 GB, free: 4.516 MB / 474.7 MB Notification: Performance of pre-optimization done (n=250): time 1.024e-05/0.7425, allocations: 0 / 0.6495 GB, free: 4.516 MB / 474.7 MB Notification: Performance of matching and sorting (n=268): time 0.0518/0.7943, allocations: 19.47 MB / 0.6685 GB, free: 0.875 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.299e-05/0.7944, allocations: 103 kB / 0.6686 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006812/0.8012, allocations: 3.239 MB / 0.6717 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006104/0.8018, allocations: 57.7 kB / 0.6718 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002822/0.8047, allocations: 3.284 MB / 0.675 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001658/0.8064, allocations: 0.979 MB / 0.6759 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006906/0.8071, allocations: 124 kB / 0.6761 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006364/0.8077, allocations: 0.5626 MB / 0.6766 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004656/0.8124, allocations: 2.479 MB / 0.679 GB, free: 5.949 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2749/1.087, allocations: 5.866 MB / 0.6848 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01311/1.1, allocations: 9.162 MB / 0.6937 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001518/1.101, allocations: 33.75 kB / 0.6937 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=813) (initialization): time 0.01706/1.118, allocations: 9.127 MB / 0.7027 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.476e-05/1.118, allocations: 58.97 kB / 0.7027 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001715/1.118, allocations: 118.4 kB / 0.7028 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003319/1.121, allocations: 1.052 MB / 0.7039 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005692/1.127, allocations: 1.396 MB / 0.7052 GB, free: 139.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006302/1.133, allocations: 5.138 MB / 0.7102 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005269/1.139, allocations: 337.7 kB / 0.7106 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001255/1.14, allocations: 351.3 kB / 0.7109 GB, free: 136.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 539 * Number of states: 0 () * Number of discrete variables: 42 (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 (751): * Single equations (assignments): 744 * 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.006334/1.146, allocations: 2.489 MB / 0.7133 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008839/1.147, allocations: 318.2 kB / 0.7136 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008863/1.156, allocations: 5.358 MB / 0.7189 GB, free: 133.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.932e-05/1.156, allocations: 46.78 kB / 0.7189 GB, free: 133.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/1.156, allocations: 2.5 kB / 0.7189 GB, free: 133.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.272e-05/1.156, allocations: 11.77 kB / 0.7189 GB, free: 133.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02659/1.183, allocations: 13.34 MB / 0.732 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-05/1.183, allocations: 11.81 kB / 0.732 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/1.185, allocations: 424.6 kB / 0.7324 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002718/1.187, allocations: 0.8914 MB / 0.7332 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002185/1.188, allocations: 50.25 kB / 0.7333 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005704/1.193, allocations: 4.505 MB / 0.7377 GB, free: 126.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.609e-05/1.193, allocations: 19.22 kB / 0.7377 GB, free: 126.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/1.205, allocations: 8.019 MB / 0.7455 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001929/1.207, allocations: 0.7315 MB / 0.7462 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005634/1.207, allocations: 63.17 kB / 0.7463 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/1.209, allocations: 149.6 kB / 0.7465 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004035/1.209, allocations: 158.9 kB / 0.7466 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001759/1.209, allocations: 81.12 kB / 0.7467 GB, free: 122.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003184/1.213, allocations: 1.996 MB / 0.7486 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.8e-07/1.213, allocations: 4 kB / 0.7486 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00592/1.219, allocations: 1.119 MB / 0.7497 GB, free: 119.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (209): * Single equations (assignments): 202 * 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.0005163/1.219, allocations: 199.2 kB / 0.7499 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008467/1.228, allocations: 6.045 MB / 0.7558 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/1.228, allocations: 0 / 0.7558 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002765/1.23, allocations: 2.246 MB / 0.758 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006948/1.237, allocations: 438 kB / 0.7584 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0225/1.26, allocations: 14.42 MB / 0.7725 GB, free: 97.88 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004092/1.264, allocations: 3.824 MB / 0.7763 GB, free: 94.03 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004753/1.269, allocations: 2.189 MB / 0.7784 GB, free: 91.83 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007093/1.27, allocations: 243.4 kB / 0.7786 GB, free: 91.59 MB / 0.4948 GB Notification: Performance of SimCode: time 1.563e-06/1.27, allocations: 0 / 0.7786 GB, free: 91.59 MB / 0.4948 GB Notification: Performance of Templates: time 0.06192/1.331, allocations: 35.7 MB / 0.8135 GB, free: 56.08 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches