Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001557/0.001557, allocations: 113.1 kB / 21.86 MB, free: 88 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001419/0.001419, allocations: 213.4 kB / 25.14 MB, free: 3.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.429/1.429, allocations: 230.4 MB / 258.7 MB, free: 7.93 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 71.86 kB / 379.4 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2189, allocations: 53.36 MB / 432.7 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.02182/0.2407, allocations: 19.31 MB / 452.1 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01195/0.2527, allocations: 6.268 MB / 458.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002303/0.255, allocations: 175.1 kB / 458.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01101/0.266, allocations: 6.265 MB / 464.8 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005609/0.2716, allocations: 2.684 MB / 467.4 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004842/0.2765, allocations: 2.576 MB / 470 MB, free: 1.676 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008448/0.2849, allocations: 6.861 MB / 476.9 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006667/0.2916, allocations: 5.652 MB / 482.5 MB, free: 5.047 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003539/0.2951, allocations: 2.894 MB / 485.4 MB, free: 2.145 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004956/0.3001, allocations: 3.957 MB / 489.4 MB, free: 14.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001012/0.3011, allocations: 0.6602 MB / 490 MB, free: 13.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003094/0.3042, allocations: 1.865 MB / 491.9 MB, free: 11.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003247/0.3074, allocations: 3.502 MB / 495.4 MB, free: 8.137 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003889/0.3113, allocations: 3.881 MB / 499.3 MB, free: 4.234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01371/0.325, allocations: 12.38 MB / 0.4997 GB, free: 7.805 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.325, allocations: 4 kB / 0.4997 GB, free: 7.801 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.325, allocations: 0 / 0.4997 GB, free: 7.801 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002476/0.3253, allocations: 0 / 0.4997 GB, free: 7.801 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: 2429 * Number of variables: 2429 Notification: Performance of Generate backend data structure: time 0.01683/0.3421, allocations: 8.259 MB / 0.5077 GB, free: 15.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.3421, allocations: 12.03 kB / 0.5078 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008649/0.3508, allocations: 2.656 MB / 0.5104 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007983/0.3588, allocations: 4.075 MB / 0.5143 GB, free: 8.629 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003518/0.3591, allocations: 451.4 kB / 0.5148 GB, free: 8.188 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001332/0.3605, allocations: 0.6753 MB / 0.5154 GB, free: 7.512 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03062/0.3911, allocations: 17.31 MB / 0.5323 GB, free: 5.293 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001809/0.3913, allocations: 71.44 kB / 0.5324 GB, free: 5.223 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006786/0.3919, allocations: 271.8 kB / 0.5327 GB, free: 4.957 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004097/0.396, allocations: 2.776 MB / 0.5354 GB, free: 2.176 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3505/0.7465, allocations: 14.37 MB / 0.5494 GB, free: 89.62 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.05691/0.8034, allocations: 63.84 MB / 0.6117 GB, free: 28.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01978/0.8232, allocations: 7.029 MB / 0.6186 GB, free: 21.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003273/0.8265, allocations: 3.247 MB / 0.6218 GB, free: 17.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01531/0.8418, allocations: 12.67 MB / 0.6342 GB, free: 5.488 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.8418, allocations: 64.55 kB / 0.6342 GB, free: 5.418 MB / 446.1 MB Notification: Performance of pre-optimization done (n=247): time 4.859e-06/0.8418, allocations: 0 / 0.6342 GB, free: 5.418 MB / 446.1 MB Notification: Performance of matching and sorting (n=293): time 0.1988/1.041, allocations: 53.87 MB / 0.6868 GB, free: 15.84 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/1.041, allocations: 166.4 kB / 0.687 GB, free: 15.64 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00798/1.049, allocations: 5.665 MB / 0.6925 GB, free: 10.08 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0004999/1.049, allocations: 65.7 kB / 0.6926 GB, free: 10.01 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003889/1.053, allocations: 4.963 MB / 0.6974 GB, free: 5.023 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001445/1.055, allocations: 1.163 MB / 0.6986 GB, free: 3.852 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002684/1.057, allocations: 1.774 MB / 0.7003 GB, free: 2.062 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.057, allocations: 305.1 kB / 0.7006 GB, free: 1.762 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006414/1.064, allocations: 3.999 MB / 0.7045 GB, free: 13.75 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01061/1.074, allocations: 9.091 MB / 0.7134 GB, free: 2.141 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01852/1.093, allocations: 14.04 MB / 0.7271 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.782e-05/1.093, allocations: 48.28 kB / 0.7271 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1137) (initialization): time 0.2613/1.354, allocations: 23.86 MB / 0.7504 GB, free: 177.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000115/1.354, allocations: 82.12 kB / 0.7505 GB, free: 177.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001751/1.355, allocations: 183.1 kB / 0.7507 GB, free: 177.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01459/1.369, allocations: 5.382 MB / 0.7559 GB, free: 177 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005986/1.375, allocations: 1.991 MB / 0.7579 GB, free: 177 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04025/1.415, allocations: 35.32 MB / 0.7924 GB, free: 157.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006581/1.422, allocations: 0.602 MB / 0.793 GB, free: 157.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007202/1.423, allocations: 0.5031 MB / 0.7934 GB, free: 156.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 817 * Number of states: 0 () * Number of discrete variables: 67 (freeMotionScalarInit.arrow.arrow.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,sensorConstraintRelative.arrow.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 (1044): * Single equations (assignments): 1031 * 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.003776/1.426, allocations: 3.226 MB / 0.7966 GB, free: 153.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007891/1.427, allocations: 0.5374 MB / 0.7971 GB, free: 153.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0557/1.483, allocations: 17.22 MB / 0.8139 GB, free: 136.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.584e-05/1.483, allocations: 11.95 kB / 0.814 GB, free: 136.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/1.483, allocations: 4 kB / 0.814 GB, free: 136.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/1.484, allocations: 498.7 kB / 0.8144 GB, free: 136.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008167/1.485, allocations: 52.19 kB / 0.8145 GB, free: 136 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002815/1.488, allocations: 295.5 kB / 0.8148 GB, free: 135.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001202/1.489, allocations: 241 kB / 0.815 GB, free: 135.5 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01499/1.504, allocations: 9.546 MB / 0.8243 GB, free: 126 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01013/1.514, allocations: 9.75 MB / 0.8338 GB, free: 116.5 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003039/1.517, allocations: 3.052 MB / 0.8368 GB, free: 113.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003791/1.521, allocations: 3.499 MB / 0.8402 GB, free: 109.9 MB / 0.545 GB Notification: Performance of Backend: time 1.9e-07/1.521, allocations: 4 kB / 0.8402 GB, free: 109.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01554/1.536, allocations: 8.283 MB / 0.8483 GB, free: 101.7 MB / 0.545 GB Notification: Performance of SimCode: time 0.01791/1.554, allocations: 15.33 MB / 0.8633 GB, free: 86.35 MB / 0.545 GB Notification: Performance of Templates: time 0.3087/1.863, allocations: 101.8 MB / 0.9627 GB, free: 181.8 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Constraints/PrismaticConstraint/PrismaticConstraint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.564272843301296]