Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009887/0.0009884, allocations: 96.86 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001732/0.001731, allocations: 172.5 kB / 16.58 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.4 MB / 222.7 MB, free: 5.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4226/0.4226, allocations: 43.57 MB / 314.6 MB, free: 8.797 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000505/0.0005051, allocations: 16 kB / 384 MB, free: 8.004 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1409, allocations: 58.87 MB / 442.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.3036/0.4445, allocations: 42.63 MB / 485.5 MB, free: 24.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02577/0.4703, allocations: 9.208 MB / 494.7 MB, free: 18.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01342/0.4838, allocations: 193.8 kB / 494.9 MB, free: 18.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007947/0.4918, allocations: 2.086 MB / 496.9 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02007/0.5119, allocations: 6.19 MB / 0.4913 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003619/0.5155, allocations: 0.5307 MB / 0.4919 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01033/0.5259, allocations: 4.862 MB / 0.4966 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009667/0.5356, allocations: 3.598 MB / 0.5001 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005688/0.5413, allocations: 1.352 MB / 0.5014 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006345/0.5477, allocations: 2.142 MB / 0.5035 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002181/0.5499, allocations: 174 kB / 0.5037 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004574/0.5545, allocations: 0.785 MB / 0.5045 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004749/0.5593, allocations: 1.832 MB / 0.5062 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0035/0.5628, allocations: 0.9532 MB / 0.5072 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01064/0.5735, allocations: 6.132 MB / 0.5132 GB, free: 5.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.079e-05/0.5735, allocations: 1.938 kB / 0.5132 GB, free: 5.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.5735, allocations: 4 kB / 0.5132 GB, free: 5.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004614/0.574, allocations: 0 / 0.5132 GB, free: 5.336 MB / 382.1 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.01379/0.5878, allocations: 4.351 MB / 0.5174 GB, free: 2.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.5879, allocations: 10.03 kB / 0.5174 GB, free: 2.277 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01099/0.5989, allocations: 3.285 MB / 0.5206 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006333/0.6052, allocations: 2.418 MB / 0.523 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002362/0.6055, allocations: 258.5 kB / 0.5232 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001147/0.6067, allocations: 347.7 kB / 0.5236 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02551/0.6322, allocations: 12.64 MB / 0.5359 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001292/0.6324, allocations: 35.66 kB / 0.536 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000502/0.6329, allocations: 163.8 kB / 0.5361 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005102/0.638, allocations: 3.024 MB / 0.5391 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02815/0.6661, allocations: 11.29 MB / 0.5501 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08437/0.7506, allocations: 42.31 MB / 0.5914 GB, free: 6.336 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0105/0.7611, allocations: 4.699 MB / 0.596 GB, free: 1.406 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00428/0.7655, allocations: 2.436 MB / 0.5984 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001442/0.7669, allocations: 1.315 MB / 0.5997 GB, free: 13.43 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.122e-05/0.767, allocations: 56.55 kB / 0.5997 GB, free: 13.36 MB / 478.1 MB Notification: Performance of pre-optimization done (n=250): time 8.816e-06/0.767, allocations: 0 / 0.5997 GB, free: 13.36 MB / 478.1 MB Notification: Performance of matching and sorting (n=268): time 0.048/0.8151, allocations: 19.46 MB / 0.6187 GB, free: 9.742 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.936e-05/0.8152, allocations: 99.11 kB / 0.6188 GB, free: 9.625 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005848/0.8211, allocations: 3.25 MB / 0.622 GB, free: 6.367 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004111/0.8215, allocations: 57.7 kB / 0.622 GB, free: 6.305 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002844/0.8243, allocations: 3.28 MB / 0.6252 GB, free: 2.977 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001359/0.8257, allocations: 0.979 MB / 0.6262 GB, free: 1.984 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002846/0.826, allocations: 128 kB / 0.6263 GB, free: 1.859 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004601/0.8265, allocations: 0.5665 MB / 0.6269 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3365/1.163, allocations: 2.471 MB / 0.6293 GB, free: 140.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006288/1.169, allocations: 5.863 MB / 0.635 GB, free: 136.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006329/1.176, allocations: 3.789 MB / 0.6387 GB, free: 136.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.542e-05/1.176, allocations: 39.62 kB / 0.6388 GB, free: 136.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=813) (initialization): time 0.01411/1.19, allocations: 9.119 MB / 0.6477 GB, free: 133.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.725e-05/1.19, allocations: 58.25 kB / 0.6477 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001195/1.19, allocations: 117.8 kB / 0.6478 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002567/1.193, allocations: 1.073 MB / 0.6489 GB, free: 133.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004024/1.197, allocations: 1.393 MB / 0.6502 GB, free: 132.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006651/1.203, allocations: 5.137 MB / 0.6553 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005025/1.208, allocations: 339.1 kB / 0.6556 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000877/1.209, allocations: 351.2 kB / 0.6559 GB, free: 130.2 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006156/1.216, allocations: 2.479 MB / 0.6583 GB, free: 129.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000673/1.216, allocations: 325.4 kB / 0.6586 GB, free: 129.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009934/1.226, allocations: 5.363 MB / 0.6639 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.002e-05/1.226, allocations: 47.58 kB / 0.6639 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.677e-05/1.226, allocations: 8.5 kB / 0.6639 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-05/1.226, allocations: 11.5 kB / 0.6639 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03041/1.257, allocations: 13.34 MB / 0.677 GB, free: 122.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.206e-05/1.257, allocations: 11.06 kB / 0.677 GB, free: 122.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001719/1.259, allocations: 425.6 kB / 0.6774 GB, free: 122.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002707/1.261, allocations: 0.8905 MB / 0.6783 GB, free: 122.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003329/1.262, allocations: 56.89 kB / 0.6783 GB, free: 122.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006406/1.268, allocations: 4.489 MB / 0.6827 GB, free: 120.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.929e-05/1.268, allocations: 15.19 kB / 0.6827 GB, free: 120.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01211/1.28, allocations: 8.016 MB / 0.6905 GB, free: 114.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002095/1.282, allocations: 0.7314 MB / 0.6912 GB, free: 113.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009574/1.283, allocations: 47.8 kB / 0.6913 GB, free: 113.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001826/1.285, allocations: 149.1 kB / 0.6914 GB, free: 113.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003486/1.286, allocations: 170.5 kB / 0.6916 GB, free: 113.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001802/1.286, allocations: 85.52 kB / 0.6917 GB, free: 113.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003823/1.29, allocations: 1.975 MB / 0.6936 GB, free: 111.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/1.29, allocations: 0 / 0.6936 GB, free: 111.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006975/1.297, allocations: 1.119 MB / 0.6947 GB, free: 110.4 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006609/1.297, allocations: 202.6 kB / 0.6949 GB, free: 110.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009397/1.307, allocations: 6.037 MB / 0.7008 GB, free: 104.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/1.307, allocations: 4 kB / 0.7008 GB, free: 104.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003451/1.31, allocations: 2.252 MB / 0.703 GB, free: 102.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004794/1.315, allocations: 426 kB / 0.7034 GB, free: 102.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03019/1.345, allocations: 13.93 MB / 0.717 GB, free: 89.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006597/1.352, allocations: 3.831 MB / 0.7207 GB, free: 85.21 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004708/1.357, allocations: 2.185 MB / 0.7229 GB, free: 83.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006831/1.357, allocations: 243.4 kB / 0.7231 GB, free: 82.78 MB / 494.1 MB Notification: Performance of SimCode: time 1.352e-06/1.357, allocations: 0 / 0.7231 GB, free: 82.78 MB / 494.1 MB Notification: Performance of Templates: time 0.0628/1.42, allocations: 34.9 MB / 0.7572 GB, free: 47.98 MB / 494.1 MB 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