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.00167/0.00167, allocations: 109.1 kB / 21.86 MB, free: 68 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.002104/0.002104, allocations: 207.9 kB / 25.14 MB, free: 3.586 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.5 MB / 258.8 MB, free: 8.105 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.002001/0.002001, allocations: 63.89 kB / 379.4 MB, free: 2.754 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2184, allocations: 53.37 MB / 432.8 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.02157/0.24, allocations: 19.22 MB / 452 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.2528, allocations: 6.271 MB / 458.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002953/0.2557, allocations: 179.1 kB / 458.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01193/0.2677, allocations: 6.277 MB / 464.8 MB, free: 6.891 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006759/0.2744, allocations: 2.679 MB / 467.4 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005486/0.2799, allocations: 2.584 MB / 470 MB, free: 1.613 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009888/0.2898, allocations: 6.866 MB / 476.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008507/0.2983, allocations: 5.966 MB / 482.9 MB, free: 4.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004621/0.3029, allocations: 2.898 MB / 485.7 MB, free: 1.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006035/0.309, allocations: 3.957 MB / 489.7 MB, free: 13.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001833/0.3108, allocations: 0.6602 MB / 490.4 MB, free: 13.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004243/0.315, allocations: 1.865 MB / 492.2 MB, free: 11.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004345/0.3194, allocations: 3.502 MB / 495.7 MB, free: 7.746 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005328/0.3247, allocations: 3.881 MB / 499.6 MB, free: 3.844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01449/0.3392, allocations: 12.48 MB / 0.5001 GB, free: 7.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3392, allocations: 0 / 0.5001 GB, free: 7.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3392, allocations: 4 kB / 0.5001 GB, free: 7.316 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000282/0.3395, allocations: 4 kB / 0.5001 GB, free: 7.312 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.01609/0.3556, allocations: 8.248 MB / 0.5082 GB, free: 14.99 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.3556, allocations: 8.031 kB / 0.5082 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008547/0.3642, allocations: 2.656 MB / 0.5108 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008205/0.3724, allocations: 4.083 MB / 0.5147 GB, free: 8.148 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003522/0.3727, allocations: 447.4 kB / 0.5152 GB, free: 7.711 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001402/0.3741, allocations: 0.6714 MB / 0.5158 GB, free: 7.039 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.032/0.4061, allocations: 17.37 MB / 0.5328 GB, free: 4.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001749/0.4063, allocations: 63.47 kB / 0.5328 GB, free: 4.688 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007153/0.407, allocations: 271.8 kB / 0.5331 GB, free: 4.422 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004029/0.4111, allocations: 2.78 MB / 0.5358 GB, free: 1.637 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3705/0.7816, allocations: 14.38 MB / 0.5499 GB, free: 91.45 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.0574/0.839, allocations: 63.84 MB / 0.6122 GB, free: 27.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01995/0.8589, allocations: 7.027 MB / 0.6191 GB, free: 20.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003319/0.8622, allocations: 3.255 MB / 0.6222 GB, free: 17.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01506/0.8773, allocations: 12.67 MB / 0.6346 GB, free: 4.801 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.8773, allocations: 56.5 kB / 0.6347 GB, free: 4.738 MB / 446.1 MB Notification: Performance of pre-optimization done (n=247): time 4.378e-06/0.8773, allocations: 0 / 0.6347 GB, free: 4.738 MB / 446.1 MB Notification: Performance of matching and sorting (n=293): time 0.191/1.068, allocations: 53.87 MB / 0.6873 GB, free: 15.14 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/1.068, allocations: 166.5 kB / 0.6874 GB, free: 14.95 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007966/1.076, allocations: 5.654 MB / 0.693 GB, free: 9.398 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0005253/1.077, allocations: 73.34 kB / 0.693 GB, free: 9.324 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003857/1.081, allocations: 4.966 MB / 0.6979 GB, free: 4.328 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001366/1.082, allocations: 1.167 MB / 0.699 GB, free: 3.152 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002593/1.085, allocations: 1.762 MB / 0.7007 GB, free: 1.375 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.085, allocations: 305.1 kB / 0.701 GB, free: 1.074 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006511/1.091, allocations: 3.999 MB / 0.7049 GB, free: 13.07 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0111/1.102, allocations: 9.103 MB / 0.7138 GB, free: 1.441 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01951/1.122, allocations: 14.04 MB / 0.7275 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001254/1.122, allocations: 52 kB / 0.7276 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1137) (initialization): time 0.2621/1.384, allocations: 23.86 MB / 0.7509 GB, free: 179.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.442e-05/1.384, allocations: 87.31 kB / 0.751 GB, free: 179.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001255/1.384, allocations: 180.7 kB / 0.7511 GB, free: 179.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01403/1.398, allocations: 5.379 MB / 0.7564 GB, free: 179.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005919/1.404, allocations: 1.99 MB / 0.7583 GB, free: 179.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03959/1.444, allocations: 35.33 MB / 0.7928 GB, free: 157 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006435/1.45, allocations: 0.5968 MB / 0.7934 GB, free: 156.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005989/1.451, allocations: 0.5041 MB / 0.7939 GB, free: 155.9 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.003623/1.455, allocations: 3.235 MB / 0.7971 GB, free: 152.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006684/1.455, allocations: 0.5375 MB / 0.7976 GB, free: 152.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07474/1.53, allocations: 17.22 MB / 0.8144 GB, free: 135.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.04e-05/1.53, allocations: 15.94 kB / 0.8144 GB, free: 135.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/1.53, allocations: 0 / 0.8144 GB, free: 135.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00157/1.532, allocations: 498.8 kB / 0.8149 GB, free: 135.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001416/1.533, allocations: 44 kB / 0.8149 GB, free: 135.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004757/1.538, allocations: 299.5 kB / 0.8152 GB, free: 134.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001867/1.54, allocations: 237.4 kB / 0.8154 GB, free: 134.6 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01653/1.556, allocations: 9.547 MB / 0.8248 GB, free: 125.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01048/1.567, allocations: 9.753 MB / 0.8343 GB, free: 115.6 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003091/1.57, allocations: 3.041 MB / 0.8373 GB, free: 112.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003993/1.574, allocations: 3.503 MB / 0.8407 GB, free: 109.1 MB / 0.545 GB Notification: Performance of Backend: time 3.41e-07/1.574, allocations: 2.062 kB / 0.8407 GB, free: 109.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01604/1.59, allocations: 8.294 MB / 0.8488 GB, free: 100.8 MB / 0.545 GB Notification: Performance of SimCode: time 0.02131/1.611, allocations: 15.32 MB / 0.8638 GB, free: 85.52 MB / 0.545 GB Notification: Performance of Templates: time 0.3314/1.943, allocations: 101.8 MB / 0.9632 GB, free: 199.8 MB / 0.5607 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.738420504843816]