Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.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) 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(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.v_0.1.|bodyOfConstraint.v_0.2.|bodyOfConstraint.v_0.3.|constraint.frame_b.r_0.1.|constraint.frame_b.r_0.2.|constraint.frame_b.r_0.3.|jointPrismatic_x.s|jointPrismatic_x.v|jointPrismatic_y.s|jointPrismatic_y.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.v_0.1.|bodyOfConstraint.v_0.2.|bodyOfConstraint.v_0.3.|constraint.frame_b.r_0.1.|constraint.frame_b.r_0.2.|constraint.frame_b.r_0.3.|jointPrismatic_x.s|jointPrismatic_x.v|jointPrismatic_y.s|jointPrismatic_y.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 108.5 kB / 18.41 MB, free: 4.648 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.001275/0.001275, allocations: 186 kB / 19.34 MB, free: 3.727 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.268/1.268, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.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.00117/0.00117, allocations: 47.92 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07115/0.07233, allocations: 46.61 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.1638/0.2362, allocations: 20.35 MB / 396.2 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01291/0.2491, allocations: 6.375 MB / 402.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003658/0.2528, allocations: 150.6 kB / 402.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0122/0.2651, allocations: 6.238 MB / 408.9 MB, free: 9.512 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007432/0.2725, allocations: 2.854 MB / 411.8 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0053/0.2778, allocations: 2.571 MB / 414.4 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009356/0.2872, allocations: 7.071 MB / 421.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009876/0.2971, allocations: 8.4 MB / 429.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004526/0.3016, allocations: 2.983 MB / 432.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005546/0.3072, allocations: 3.875 MB / 436.7 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001874/0.3091, allocations: 0.6992 MB / 437.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004744/0.3139, allocations: 1.982 MB / 439.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004286/0.3182, allocations: 3.628 MB / 443 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005974/0.3242, allocations: 4.11 MB / 447.1 MB, free: 8.059 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01479/0.339, allocations: 13.2 MB / 460.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.339, allocations: 0 / 460.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.339, allocations: 0 / 460.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003228/0.3393, allocations: 0 / 460.3 MB, free: 10.8 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: 2584 * Number of variables: 2584 Notification: Performance of Generate backend data structure: time 0.01744/0.3568, allocations: 8.738 MB / 469 MB, free: 1.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3568, allocations: 8.031 kB / 469.1 MB, free: 1.953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00895/0.3658, allocations: 2.628 MB / 471.7 MB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008178/0.374, allocations: 4.444 MB / 476.1 MB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003767/0.3744, allocations: 463.9 kB / 476.6 MB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001735/0.3761, allocations: 0.6988 MB / 477.3 MB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03109/0.4072, allocations: 18.27 MB / 495.6 MB, free: 6.391 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002101/0.4075, allocations: 63.5 kB / 495.6 MB, free: 6.328 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001008/0.4085, allocations: 283.8 kB / 495.9 MB, free: 6.051 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00408/0.4126, allocations: 3.027 MB / 498.9 MB, free: 3.023 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02902/0.4416, allocations: 15.21 MB / 0.5021 GB, free: 3.797 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3768/0.8184, allocations: 66.81 MB / 0.5673 GB, free: 108.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02166/0.8401, allocations: 7.919 MB / 0.5751 GB, free: 107.9 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003893/0.844, allocations: 3.583 MB / 0.5786 GB, free: 107.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01719/0.8612, allocations: 14.99 MB / 0.5932 GB, free: 100 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.8612, allocations: 60.12 kB / 0.5932 GB, free: 99.95 MB / 478.1 MB Notification: Performance of pre-optimization done (n=268): time 4.849e-06/0.8612, allocations: 3 kB / 0.5932 GB, free: 99.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=314): time 0.1693/1.031, allocations: 55.32 MB / 0.6473 GB, free: 55.95 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/1.031, allocations: 158.5 kB / 0.6474 GB, free: 55.76 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006194/1.037, allocations: 5.869 MB / 0.6532 GB, free: 49.98 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005343/1.037, allocations: 73.69 kB / 0.6532 GB, free: 49.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00186/1.039, allocations: 5.184 MB / 0.6583 GB, free: 45.06 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000851/1.04, allocations: 1.249 MB / 0.6595 GB, free: 43.83 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002001/1.042, allocations: 1.833 MB / 0.6613 GB, free: 41.98 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.247e-05/1.042, allocations: 309.1 kB / 0.6616 GB, free: 41.68 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00475/1.047, allocations: 4.141 MB / 0.6656 GB, free: 37.53 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006261/1.053, allocations: 9.431 MB / 0.6748 GB, free: 25.57 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01229/1.066, allocations: 14.56 MB / 0.6891 GB, free: 8.523 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.545e-05/1.066, allocations: 52 kB / 0.6891 GB, free: 8.473 MB / 478.1 MB Notification: Performance of matching and sorting (n=1187) (initialization): time 0.07/1.136, allocations: 24.52 MB / 0.7131 GB, free: 15.83 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/1.136, allocations: 84 kB / 0.7131 GB, free: 15.75 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001835/1.136, allocations: 184 kB / 0.7133 GB, free: 15.57 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01635/1.152, allocations: 5.383 MB / 0.7186 GB, free: 10.17 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007187/1.16, allocations: 2.078 MB / 0.7206 GB, free: 8.09 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2181/1.378, allocations: 36.05 MB / 0.7558 GB, free: 162.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007122/1.385, allocations: 0.6138 MB / 0.7564 GB, free: 162.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007661/1.386, allocations: 0.5215 MB / 0.7569 GB, free: 162.4 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 846 * Number of states: 0 () * Number of discrete variables: 63 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],jointPrismatic_y.boxColor[3],jointPrismatic_y.boxColor[2],jointPrismatic_y.boxColor[1],jointPrismatic_x.boxColor[3],jointPrismatic_x.boxColor[2],jointPrismatic_x.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1094): * Single equations (assignments): 1081 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,4,60.0%), (1,3,100.0%), (1,3,100.0%), (4,9,100.0%), (4,9,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.004567/1.39, allocations: 3.407 MB / 0.7602 GB, free: 161.1 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000861/1.391, allocations: 0.56 MB / 0.7608 GB, free: 161.1 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05823/1.449, allocations: 17.69 MB / 0.7781 GB, free: 157.1 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.514e-05/1.449, allocations: 11.53 kB / 0.7781 GB, free: 157.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/1.449, allocations: 0 / 0.7781 GB, free: 157.1 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002538/1.452, allocations: 1.232 MB / 0.7793 GB, free: 156.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009123/1.453, allocations: 51.56 kB / 0.7793 GB, free: 156.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00312/1.456, allocations: 300.8 kB / 0.7796 GB, free: 156.6 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00127/1.457, allocations: 245.6 kB / 0.7798 GB, free: 156.6 MB / 0.5138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01628/1.474, allocations: 9.875 MB / 0.7895 GB, free: 153.2 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0113/1.485, allocations: 10.17 MB / 0.7994 GB, free: 149.3 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003368/1.488, allocations: 3.296 MB / 0.8026 GB, free: 147.4 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004381/1.493, allocations: 3.642 MB / 0.8062 GB, free: 143.8 MB / 0.5138 GB Notification: Performance of Backend: time 4.91e-07/1.493, allocations: 0 / 0.8062 GB, free: 143.8 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01678/1.509, allocations: 8.987 MB / 0.815 GB, free: 135 MB / 0.5138 GB Notification: Performance of SimCode: time 0.01968/1.529, allocations: 15.91 MB / 0.8305 GB, free: 119.2 MB / 0.5138 GB Notification: Performance of Templates: time 0.1252/1.654, allocations: 99.04 MB / 0.9272 GB, free: 20.1 MB / 0.5138 GB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Constraints/PrismaticConstraint/PrismaticConstraint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches