Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.r_0.1.|bodyOfConstraint.r_0.2.|bodyOfConstraint.r_0.3.|bodyOfConstraint.v_0.1.|bodyOfConstraint.v_0.2.|bodyOfConstraint.v_0.3.|jointPrismatic_x.s|jointPrismatic_x.v|jointPrismatic_y.s|jointPrismatic_y.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.r_0.1.|bodyOfConstraint.r_0.2.|bodyOfConstraint.r_0.3.|bodyOfConstraint.v_0.1.|bodyOfConstraint.v_0.2.|bodyOfConstraint.v_0.3.|jointPrismatic_x.s|jointPrismatic_x.v|jointPrismatic_y.s|jointPrismatic_y.v",fileNamePrefix="Modelica_4.0.0_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.001251/0.001251, allocations: 112.7 kB / 17.75 MB, free: 5.332 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.00106/0.00106, allocations: 187 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009367/0.0009368, allocations: 43.92 kB / 352 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2093, allocations: 49.44 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.01864/0.228, allocations: 19.52 MB / 420.9 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01131/0.2394, allocations: 6.291 MB / 427.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002482/0.2419, allocations: 155.5 kB / 427.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01035/0.2523, allocations: 6.215 MB / 433.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005808/0.2581, allocations: 2.741 MB / 436.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004652/0.2628, allocations: 2.557 MB / 438.9 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007445/0.2702, allocations: 6.85 MB / 445.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007979/0.2782, allocations: 8.292 MB / 454 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003514/0.2817, allocations: 2.886 MB / 456.9 MB, free: 1.133 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004464/0.2862, allocations: 3.731 MB / 460.6 MB, free: 13.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001353/0.2876, allocations: 0.6719 MB / 461.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003423/0.291, allocations: 1.962 MB / 463.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003161/0.2942, allocations: 3.503 MB / 466.8 MB, free: 7.242 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004016/0.2982, allocations: 3.974 MB / 470.8 MB, free: 3.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01168/0.3099, allocations: 12.64 MB / 483.4 MB, free: 6.562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.31, allocations: 0 / 483.4 MB, free: 6.562 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.31, allocations: 0 / 483.4 MB, free: 6.562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002589/0.3102, allocations: 4 kB / 483.4 MB, free: 6.559 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2487 * Number of variables: 2487 Notification: Performance of Generate backend data structure: time 0.01529/0.3255, allocations: 8.262 MB / 491.7 MB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3256, allocations: 12.02 kB / 491.7 MB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008503/0.3341, allocations: 2.534 MB / 494.2 MB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008085/0.3422, allocations: 4.243 MB / 498.5 MB, free: 7.332 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002769/0.3425, allocations: 451.5 kB / 498.9 MB, free: 6.891 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001256/0.3438, allocations: 0.683 MB / 499.6 MB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02863/0.3724, allocations: 17.65 MB / 0.5051 GB, free: 3.652 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001587/0.3726, allocations: 71.36 kB / 0.5052 GB, free: 3.582 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006866/0.3733, allocations: 275.8 kB / 0.5054 GB, free: 3.312 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004093/0.3774, allocations: 2.893 MB / 0.5083 GB, free: 420 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02741/0.4048, allocations: 14.61 MB / 0.5225 GB, free: 1.785 MB / 446.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.3726/0.7775, allocations: 64.74 MB / 0.5858 GB, free: 81.71 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02167/0.7991, allocations: 7.687 MB / 0.5933 GB, free: 74.29 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003114/0.8023, allocations: 3.443 MB / 0.5966 GB, free: 70.84 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01527/0.8176, allocations: 14.68 MB / 0.611 GB, free: 55.77 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.8176, allocations: 60.56 kB / 0.611 GB, free: 55.71 MB / 462.1 MB Notification: Performance of pre-optimization done (n=247): time 4.088e-06/0.8176, allocations: 4 kB / 0.611 GB, free: 55.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=293): time 0.1872/1.005, allocations: 54.06 MB / 0.6638 GB, free: 1.406 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/1.005, allocations: 166.3 kB / 0.664 GB, free: 1.215 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006911/1.012, allocations: 5.68 MB / 0.6695 GB, free: 11.56 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005201/1.012, allocations: 69.7 kB / 0.6696 GB, free: 11.48 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003169/1.016, allocations: 4.857 MB / 0.6743 GB, free: 6.625 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001209/1.017, allocations: 1.122 MB / 0.6754 GB, free: 5.512 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002364/1.019, allocations: 1.756 MB / 0.6771 GB, free: 3.742 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/1.019, allocations: 305.1 kB / 0.6774 GB, free: 3.441 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005647/1.025, allocations: 3.988 MB / 0.6813 GB, free: 15.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008404/1.033, allocations: 9.11 MB / 0.6902 GB, free: 3.805 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01526/1.049, allocations: 14.05 MB / 0.7039 GB, free: 3.234 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.217e-05/1.049, allocations: 48 kB / 0.704 GB, free: 3.188 MB / 0.4982 GB Warning: The linear system: 1 : bodyOfConstraint.v_0[1] = 0.21486551488510405 * freeMotionScalarInit.v_rel_a_1 + (-0.5318108111446446) * freeMotionScalarInit.v_rel_a_2 + 0.8191520442889918 * freeMotionScalarInit.v_rel_a_3 2 : 0.0 = 0.8191520442889918 * bodyOfConstraint.v_0[1] + (-0.09960050292505122) * bodyOfConstraint.v_0[2] + 0.5648625214636235 * bodyOfConstraint.v_0[3] 3 : bodyOfConstraint.v_0[2] = 0.9663834860128886 * freeMotionScalarInit.v_rel_a_1 + 0.23702889650558212 * freeMotionScalarInit.v_rel_a_2 + (-0.09960050292505122) * freeMotionScalarInit.v_rel_a_3 4 : bodyOfConstraint.v_0[3] = (-0.14119408087712543) * freeMotionScalarInit.v_rel_a_1 + 0.8130157214783864 * freeMotionScalarInit.v_rel_a_2 + 0.5648625214636235 * freeMotionScalarInit.v_rel_a_3 [ 0.0 , -0.21486551488510405 , 0.0 , 1.0 ; -0.5648625214636235 , 0.0 , 0.09960050292505122 , -0.8191520442889918 ; 0.0 , -0.9663834860128886 , 1.0 , 0.0 ; 1.0 , 0.14119408087712543 , 0.0 , 0.0 ] * [ bodyOfConstraint.v_0[3] ; freeMotionScalarInit.v_rel_a_1 ; bodyOfConstraint.v_0[2] ; bodyOfConstraint.v_0[1] ] = [ (-0.5318108111446446) * freeMotionScalarInit.v_rel_a_2 + 0.8191520442889918 * freeMotionScalarInit.v_rel_a_3 ; -0.0 ; 0.23702889650558212 * freeMotionScalarInit.v_rel_a_2 + (-0.09960050292505122) * freeMotionScalarInit.v_rel_a_3 ; 0.8130157214783864 * freeMotionScalarInit.v_rel_a_2 + 0.5648625214636235 * freeMotionScalarInit.v_rel_a_3 ] might be structurally or numerically singular for variable bodyOfConstraint.v_0[1] since U(4,4) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=1140) (initialization): time 0.0764/1.125, allocations: 24.2 MB / 0.7276 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.47e-05/1.125, allocations: 80 kB / 0.7277 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001621/1.125, allocations: 184.1 kB / 0.7279 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01724/1.143, allocations: 5.365 MB / 0.7331 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007017/1.15, allocations: 1.988 MB / 0.7351 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2227/1.372, allocations: 36.03 MB / 0.7702 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007001/1.379, allocations: 0.5931 MB / 0.7708 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008967/1.38, allocations: 0.5098 MB / 0.7713 GB, free: 165.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 820 * Number of states: 0 () * Number of discrete variables: 67 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,sensorConstraintRelative.arrow.arrowLine.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,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 (1047): * Single equations (assignments): 1034 * 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.003996/1.384, allocations: 3.298 MB / 0.7745 GB, free: 164 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007767/1.385, allocations: 0.5109 MB / 0.775 GB, free: 164 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06132/1.446, allocations: 17.37 MB / 0.792 GB, free: 151 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.178e-05/1.447, allocations: 11.95 kB / 0.792 GB, free: 151 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/1.447, allocations: 0 / 0.792 GB, free: 151 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/1.448, allocations: 0.5315 MB / 0.7925 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009818/1.449, allocations: 48 kB / 0.7926 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003132/1.452, allocations: 291.5 kB / 0.7928 GB, free: 150.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001165/1.453, allocations: 233.5 kB / 0.7931 GB, free: 150.2 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01576/1.469, allocations: 9.534 MB / 0.8024 GB, free: 140.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009958/1.479, allocations: 9.684 MB / 0.8118 GB, free: 131.2 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003017/1.482, allocations: 3.161 MB / 0.8149 GB, free: 128 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003834/1.486, allocations: 3.523 MB / 0.8184 GB, free: 124.5 MB / 0.5294 GB Notification: Performance of Backend: time 2.81e-07/1.486, allocations: 0 / 0.8184 GB, free: 124.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01658/1.502, allocations: 8.743 MB / 0.8269 GB, free: 115.9 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01853/1.521, allocations: 15.18 MB / 0.8417 GB, free: 100.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.2997/1.82, allocations: 98.23 MB / 0.9377 GB, free: 184.1 MB / 0.5294 GB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Constraints/PrismaticConstraint/PrismaticConstraint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches