Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.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.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 103.8 kB / 16.4 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001588/0.001589, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.412/1.412, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2167/0.2167, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 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.001626/0.001626, allocations: 73.45 kB / 441.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1322, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.0139/0.1462, allocations: 12.67 MB / 0.5003 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.1562, allocations: 3.887 MB / 0.5041 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002407/0.1587, allocations: 59.88 kB / 0.5041 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003348/0.1621, allocations: 1.323 MB / 0.5054 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005177/0.1674, allocations: 1.778 MB / 0.5071 GB, free: 7.984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.1687, allocations: 431.2 kB / 0.5076 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005429/0.1742, allocations: 3.661 MB / 0.5111 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003019/0.1772, allocations: 2.052 MB / 0.5131 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00237/0.1796, allocations: 1.226 MB / 0.5143 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002688/0.1823, allocations: 1.779 MB / 0.5161 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008106/0.1831, allocations: 244 kB / 0.5163 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002064/0.1852, allocations: 0.823 MB / 0.5171 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00194/0.1872, allocations: 1.632 MB / 0.5187 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003426/0.1906, allocations: 1.929 MB / 0.5206 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008684/0.1993, allocations: 6.289 MB / 0.5267 GB, free: 3.824 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.1994, allocations: 0 / 0.5267 GB, free: 3.824 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1994, allocations: 0 / 0.5267 GB, free: 3.824 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002576/0.1997, allocations: 0 / 0.5267 GB, free: 3.824 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.3167/0.5164, allocations: 4.261 MB / 0.5309 GB, free: 37.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.63e-05/0.5165, allocations: 13.83 kB / 0.5309 GB, free: 37.37 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01194/0.5284, allocations: 3.099 MB / 0.5339 GB, free: 37.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005522/0.534, allocations: 1.995 MB / 0.5359 GB, free: 36.69 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002061/0.5342, allocations: 195.2 kB / 0.5361 GB, free: 36.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007264/0.5349, allocations: 256.2 kB / 0.5363 GB, free: 36.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02018/0.5551, allocations: 10.39 MB / 0.5465 GB, free: 33.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001002/0.5553, allocations: 31.52 kB / 0.5465 GB, free: 33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003847/0.5557, allocations: 119 kB / 0.5466 GB, free: 32.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005335/0.561, allocations: 2.56 MB / 0.5491 GB, free: 32.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01843/0.5795, allocations: 9.456 MB / 0.5583 GB, free: 26.44 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04378/0.6233, allocations: 32.32 MB / 0.5899 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006242/0.6296, allocations: 3.368 MB / 0.5932 GB, free: 5.922 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001773/0.6314, allocations: 1.077 MB / 0.5942 GB, free: 4.844 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001326/0.6327, allocations: 1.314 MB / 0.5955 GB, free: 3.312 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.6328, allocations: 51.86 kB / 0.5956 GB, free: 3.254 MB / 430.1 MB Notification: Performance of pre-optimization done (n=187): time 5.721e-06/0.6328, allocations: 0 / 0.5956 GB, free: 3.254 MB / 430.1 MB Notification: Performance of matching and sorting (n=193): time 0.02278/0.6556, allocations: 9.885 MB / 0.6052 GB, free: 9.332 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/0.6557, allocations: 94.45 kB / 0.6053 GB, free: 9.219 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00498/0.6607, allocations: 2.673 MB / 0.6079 GB, free: 6.527 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001892/0.6609, allocations: 49.69 kB / 0.608 GB, free: 6.473 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002294/0.6632, allocations: 2.865 MB / 0.6108 GB, free: 3.578 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008623/0.6641, allocations: 0.7363 MB / 0.6115 GB, free: 2.836 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001667/0.6658, allocations: 0.9891 MB / 0.6125 GB, free: 1.836 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.6659, allocations: 305.1 kB / 0.6127 GB, free: 1.535 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002611/0.6685, allocations: 1.567 MB / 0.6143 GB, free: 15.96 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004973/0.6735, allocations: 4.473 MB / 0.6186 GB, free: 10.04 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009231/0.6828, allocations: 6.699 MB / 0.6252 GB, free: 1.91 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001329/0.6829, allocations: 31.94 kB / 0.6252 GB, free: 1.879 MB / 462.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01162/0.6946, allocations: 5.966 MB / 0.631 GB, free: 11.89 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.6947, allocations: 52 kB / 0.6311 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001803/0.6949, allocations: 100.8 kB / 0.6312 GB, free: 11.74 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004186/0.6953, allocations: 180.8 kB / 0.6314 GB, free: 11.56 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003324/0.6987, allocations: 1.099 MB / 0.6324 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/0.7006, allocations: 1.803 MB / 0.6342 GB, free: 8.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00337/0.704, allocations: 214.4 kB / 0.6344 GB, free: 8.312 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007155/0.7047, allocations: 303.9 kB / 0.6347 GB, free: 8.02 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 27 (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],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.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 (609): * Single equations (assignments): 602 * 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 {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004161/0.7089, allocations: 2.028 MB / 0.6367 GB, free: 5.977 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006763/0.7096, allocations: 270.2 kB / 0.6369 GB, free: 5.711 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004603/0.7142, allocations: 2.53 MB / 0.6394 GB, free: 3.156 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.244e-05/0.7143, allocations: 24 kB / 0.6394 GB, free: 3.133 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/0.7143, allocations: 5 kB / 0.6394 GB, free: 3.129 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/0.7143, allocations: 7.969 kB / 0.6394 GB, free: 3.121 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01662/0.731, allocations: 8.152 MB / 0.6474 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.167e-05/0.731, allocations: 12.88 kB / 0.6474 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.7321, allocations: 251.6 kB / 0.6476 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002132/0.7323, allocations: 52.84 kB / 0.6477 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/0.7325, allocations: 48.86 kB / 0.6477 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/0.7343, allocations: 1.633 MB / 0.6493 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.401e-05/0.7344, allocations: 15.94 kB / 0.6494 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005946/0.7403, allocations: 4.076 MB / 0.6533 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/0.7417, allocations: 0.507 MB / 0.6538 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006915/0.7424, allocations: 36 kB / 0.6539 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.7437, allocations: 59.94 kB / 0.6539 GB, free: 3.777 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/0.7439, allocations: 120.7 kB / 0.654 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/0.7441, allocations: 67.97 kB / 0.6541 GB, free: 3.594 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003508/0.7476, allocations: 1.636 MB / 0.6557 GB, free: 1.945 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7476, allocations: 0 / 0.6557 GB, free: 1.945 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005128/0.7527, allocations: 0.8202 MB / 0.6565 GB, free: 1.125 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (141): * Single equations (assignments): 134 * 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 {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007446/0.7535, allocations: 174.7 kB / 0.6567 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007682/0.7612, allocations: 3.932 MB / 0.6605 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/0.7612, allocations: 3.938 kB / 0.6605 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001971/0.7632, allocations: 1.245 MB / 0.6617 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003123/0.7664, allocations: 345.4 kB / 0.6621 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01776/0.7842, allocations: 8.757 MB / 0.6706 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005694/0.79, allocations: 3.193 MB / 0.6737 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003985/0.794, allocations: 1.734 MB / 0.6754 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005243/0.7945, allocations: 191.4 kB / 0.6756 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of SimCode: time 1.553e-06/0.7945, allocations: 0 / 0.6756 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of Templates: time 0.0472/0.8417, allocations: 21.11 MB / 0.6962 GB, free: 8.262 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches