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.001616/0.001616, 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.001902/0.001902, allocations: 212.3 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.44/1.44, allocations: 230.4 MB / 258.7 MB, free: 7.934 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.001889/0.001889, allocations: 68.97 kB / 379.4 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2045, allocations: 53.37 MB / 432.8 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.02222/0.2267, allocations: 19.29 MB / 452 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01255/0.2393, allocations: 6.279 MB / 458.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001763/0.241, allocations: 179.1 kB / 458.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0109/0.2519, allocations: 6.262 MB / 464.8 MB, free: 6.934 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00579/0.2577, allocations: 2.68 MB / 467.4 MB, free: 4.246 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004792/0.2625, allocations: 2.572 MB / 470 MB, free: 1.668 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008334/0.2708, allocations: 6.865 MB / 476.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006645/0.2775, allocations: 5.661 MB / 482.5 MB, free: 5.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003408/0.2809, allocations: 2.894 MB / 485.4 MB, free: 2.121 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004823/0.2857, allocations: 3.957 MB / 489.4 MB, free: 14.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009649/0.2867, allocations: 0.6602 MB / 490 MB, free: 13.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003067/0.2897, allocations: 1.861 MB / 491.9 MB, free: 11.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003188/0.2929, allocations: 3.506 MB / 495.4 MB, free: 8.113 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00373/0.2967, allocations: 3.877 MB / 499.3 MB, free: 4.215 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01313/0.3098, allocations: 12.39 MB / 0.4997 GB, free: 7.781 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3098, allocations: 0 / 0.4997 GB, free: 7.781 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3098, allocations: 0 / 0.4997 GB, free: 7.781 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002019/0.31, allocations: 0 / 0.4997 GB, free: 7.781 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.01517/0.3252, allocations: 8.254 MB / 0.5077 GB, free: 15.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.3252, allocations: 12.03 kB / 0.5078 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009188/0.3344, allocations: 2.66 MB / 0.5104 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007832/0.3422, allocations: 4.079 MB / 0.5143 GB, free: 8.609 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003484/0.3426, allocations: 443.4 kB / 0.5148 GB, free: 8.176 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001351/0.3439, allocations: 0.6831 MB / 0.5154 GB, free: 7.492 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03193/0.3759, allocations: 17.3 MB / 0.5323 GB, free: 5.277 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001773/0.376, allocations: 71.45 kB / 0.5324 GB, free: 5.207 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007147/0.3767, allocations: 267.8 kB / 0.5326 GB, free: 4.945 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004337/0.3811, allocations: 2.776 MB / 0.5354 GB, free: 2.164 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.347/0.7281, allocations: 14.38 MB / 0.5494 GB, free: 89.53 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.05489/0.783, allocations: 63.84 MB / 0.6117 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02123/0.8042, allocations: 7.025 MB / 0.6186 GB, free: 21.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003082/0.8073, allocations: 3.255 MB / 0.6218 GB, free: 17.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01504/0.8223, allocations: 12.67 MB / 0.6342 GB, free: 5.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.8223, allocations: 60.5 kB / 0.6342 GB, free: 5.414 MB / 446.1 MB Notification: Performance of pre-optimization done (n=247): time 4.458e-06/0.8223, allocations: 4 kB / 0.6342 GB, free: 5.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=293): time 0.2061/1.028, allocations: 53.87 MB / 0.6868 GB, free: 15.82 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.812e-05/1.029, allocations: 154.5 kB / 0.687 GB, free: 15.64 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008088/1.037, allocations: 5.666 MB / 0.6925 GB, free: 10.07 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0005415/1.037, allocations: 69.7 kB / 0.6926 GB, free: 10 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003868/1.041, allocations: 4.959 MB / 0.6974 GB, free: 5.004 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001292/1.042, allocations: 1.171 MB / 0.6986 GB, free: 3.824 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002678/1.045, allocations: 1.77 MB / 0.7003 GB, free: 2.039 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.045, allocations: 301.1 kB / 0.7006 GB, free: 1.742 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006439/1.052, allocations: 3.999 MB / 0.7045 GB, free: 13.73 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01066/1.062, allocations: 9.1 MB / 0.7134 GB, free: 2.113 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01807/1.08, allocations: 14.04 MB / 0.7271 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.068e-05/1.08, allocations: 52 kB / 0.7271 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1137) (initialization): time 0.2579/1.338, allocations: 23.87 MB / 0.7504 GB, free: 177.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/1.338, allocations: 82 kB / 0.7505 GB, free: 177.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001609/1.339, allocations: 179.2 kB / 0.7507 GB, free: 177.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0154/1.354, allocations: 5.377 MB / 0.7559 GB, free: 177 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006033/1.36, allocations: 1.992 MB / 0.7579 GB, free: 177 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04249/1.403, allocations: 35.32 MB / 0.7924 GB, free: 157.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006912/1.409, allocations: 0.5988 MB / 0.793 GB, free: 157.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007246/1.41, allocations: 0.5034 MB / 0.7935 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.00385/1.414, allocations: 3.226 MB / 0.7966 GB, free: 153.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008173/1.415, allocations: 0.5328 MB / 0.7971 GB, free: 153.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05881/1.474, allocations: 17.23 MB / 0.8139 GB, free: 136.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.044e-05/1.474, allocations: 11.95 kB / 0.814 GB, free: 136.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/1.474, allocations: 0 / 0.814 GB, free: 136.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/1.475, allocations: 0.4899 MB / 0.8144 GB, free: 136 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009064/1.476, allocations: 47.98 kB / 0.8145 GB, free: 136 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00308/1.479, allocations: 299.5 kB / 0.8148 GB, free: 135.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001148/1.48, allocations: 233.4 kB / 0.815 GB, free: 135.5 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01644/1.496, allocations: 9.558 MB / 0.8243 GB, free: 126 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0105/1.507, allocations: 9.746 MB / 0.8338 GB, free: 116.5 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003119/1.51, allocations: 3.041 MB / 0.8368 GB, free: 113.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003974/1.514, allocations: 3.503 MB / 0.8402 GB, free: 109.9 MB / 0.545 GB Notification: Performance of Backend: time 3.4e-07/1.514, allocations: 0 / 0.8402 GB, free: 109.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01699/1.531, allocations: 8.29 MB / 0.8483 GB, free: 101.7 MB / 0.545 GB Notification: Performance of SimCode: time 0.01979/1.551, allocations: 15.33 MB / 0.8633 GB, free: 86.32 MB / 0.545 GB Notification: Performance of Templates: time 0.3101/1.861, allocations: 101.8 MB / 0.9627 GB, free: 181.4 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.527334684040397]