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.001043/0.001043, allocations: 110.6 kB / 18.4 MB, free: 4.699 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.001015/0.001015, allocations: 190.1 kB / 19.34 MB, free: 3.777 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.229/1.229, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001804/0.001804, allocations: 59.91 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07391/0.07572, allocations: 46.62 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.1562/0.232, allocations: 20.35 MB / 396.2 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01222/0.2443, allocations: 6.371 MB / 402.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001948/0.2463, allocations: 149.6 kB / 402.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01013/0.2564, allocations: 6.236 MB / 408.9 MB, free: 9.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005494/0.2619, allocations: 2.779 MB / 411.7 MB, free: 7.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004462/0.2664, allocations: 2.568 MB / 414.3 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007297/0.2737, allocations: 7.068 MB / 421.3 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007691/0.2814, allocations: 8.396 MB / 429.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003114/0.2845, allocations: 2.987 MB / 432.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003787/0.2883, allocations: 3.875 MB / 436.6 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009494/0.2893, allocations: 0.6992 MB / 437.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003065/0.2923, allocations: 1.978 MB / 439.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002742/0.2951, allocations: 3.628 MB / 442.9 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003326/0.2984, allocations: 4.11 MB / 447 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01063/0.3091, allocations: 13.16 MB / 460.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3091, allocations: 0 / 460.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3091, allocations: 0 / 460.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001454/0.3093, allocations: 0 / 460.2 MB, free: 10.95 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.01343/0.3227, allocations: 8.509 MB / 468.7 MB, free: 2.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3227, allocations: 12.03 kB / 468.7 MB, free: 2.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008449/0.3312, allocations: 2.584 MB / 471.3 MB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006624/0.3378, allocations: 4.419 MB / 475.7 MB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002928/0.3381, allocations: 463.9 kB / 476.1 MB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001221/0.3394, allocations: 0.6987 MB / 476.8 MB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02754/0.3669, allocations: 18.27 MB / 495.1 MB, free: 6.828 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000158/0.3671, allocations: 63.45 kB / 495.2 MB, free: 6.766 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006641/0.3678, allocations: 279.8 kB / 495.5 MB, free: 6.492 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004156/0.3719, allocations: 3.027 MB / 498.5 MB, free: 3.465 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02711/0.3991, allocations: 15.21 MB / 0.5017 GB, free: 4.234 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.363/0.7621, allocations: 66.68 MB / 0.5668 GB, free: 108.7 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02324/0.7854, allocations: 7.923 MB / 0.5745 GB, free: 108.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003918/0.7893, allocations: 3.574 MB / 0.578 GB, free: 107.8 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0167/0.806, allocations: 14.96 MB / 0.5926 GB, free: 100.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.8061, allocations: 66.62 kB / 0.5927 GB, free: 100.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=268): time 4.809e-06/0.8061, allocations: 0 / 0.5927 GB, free: 100.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=314): time 0.1791/0.9852, allocations: 54.93 MB / 0.6463 GB, free: 56.23 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.9853, allocations: 158.5 kB / 0.6465 GB, free: 56.05 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005701/0.991, allocations: 5.855 MB / 0.6522 GB, free: 50.17 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003028/0.9913, allocations: 73.61 kB / 0.6523 GB, free: 50.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001778/0.9931, allocations: 4.987 MB / 0.6571 GB, free: 45.11 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007365/0.9939, allocations: 1.196 MB / 0.6583 GB, free: 43.93 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001998/0.9959, allocations: 1.828 MB / 0.6601 GB, free: 42.09 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.123e-05/0.9959, allocations: 305.1 kB / 0.6604 GB, free: 41.79 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004628/1.001, allocations: 4.145 MB / 0.6644 GB, free: 37.63 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006149/1.007, allocations: 9.425 MB / 0.6736 GB, free: 25.68 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01165/1.018, allocations: 14.55 MB / 0.6878 GB, free: 8.641 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.799e-05/1.018, allocations: 56 kB / 0.6879 GB, free: 8.586 MB / 478.1 MB Notification: Performance of matching and sorting (n=1187) (initialization): time 0.0719/1.09, allocations: 24.49 MB / 0.7118 GB, free: 15.97 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-05/1.09, allocations: 84 kB / 0.7119 GB, free: 15.89 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001521/1.091, allocations: 184 kB / 0.7121 GB, free: 15.71 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01651/1.107, allocations: 5.373 MB / 0.7173 GB, free: 10.33 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006506/1.114, allocations: 2.082 MB / 0.7193 GB, free: 8.242 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05176/1.165, allocations: 36.04 MB / 0.7545 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006434/1.172, allocations: 0.6202 MB / 0.7551 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008164/1.173, allocations: 0.5226 MB / 0.7557 GB, free: 2.117 MB / 0.5294 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.1661/1.339, allocations: 3.396 MB / 0.759 GB, free: 187.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001168/1.34, allocations: 0.5278 MB / 0.7595 GB, free: 187.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06336/1.403, allocations: 17.68 MB / 0.7768 GB, free: 185.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.925e-05/1.403, allocations: 15.73 kB / 0.7768 GB, free: 185.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/1.403, allocations: 2.281 kB / 0.7768 GB, free: 185.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002404/1.406, allocations: 1.195 MB / 0.7779 GB, free: 184.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006767/1.406, allocations: 54.8 kB / 0.778 GB, free: 184.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0032/1.41, allocations: 301 kB / 0.7783 GB, free: 184.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001208/1.411, allocations: 237 kB / 0.7785 GB, free: 184.7 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01704/1.428, allocations: 9.892 MB / 0.7882 GB, free: 181.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01096/1.439, allocations: 10.14 MB / 0.7981 GB, free: 177.4 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003299/1.442, allocations: 3.295 MB / 0.8013 GB, free: 176.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004011/1.446, allocations: 3.635 MB / 0.8048 GB, free: 174.8 MB / 0.5294 GB Notification: Performance of Backend: time 4.61e-07/1.446, allocations: 0 / 0.8048 GB, free: 174.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0161/1.462, allocations: 8.973 MB / 0.8136 GB, free: 167.1 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01757/1.48, allocations: 15.65 MB / 0.8289 GB, free: 151.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.1235/1.604, allocations: 99.84 MB / 0.9264 GB, free: 51.8 MB / 0.5294 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