Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001662/0.001662, allocations: 176.8 kB / 8.149 MB, free: 2.125 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.96/1.96, allocations: 205.2 MB / 213.7 MB, free: 13.94 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001797/0.001797, allocations: 88.59 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.09e-05/1.108e-05, allocations: 0 / 314.3 MB, free: 9.055 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3071, allocations: 47.55 MB / 361.8 MB, free: 45.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1776/0.4848, allocations: 112.3 MB / 474.1 MB, free: 5.734 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/0.4852, allocations: 79.95 kB / 474.2 MB, free: 5.656 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.6825/1.168, allocations: 132.6 MB / 0.5926 GB, free: 49.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005021/1.168, allocations: 153.3 kB / 0.5927 GB, free: 49.33 MB / 394.7 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.03546/1.204, allocations: 7.206 MB / 0.5998 GB, free: 42.06 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/1.204, allocations: 8.031 kB / 0.5998 GB, free: 42.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02145/1.225, allocations: 2.568 MB / 0.6023 GB, free: 39.47 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02832/1.254, allocations: 7.783 MB / 0.6099 GB, free: 31.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004574/1.254, allocations: 251.9 kB / 0.6101 GB, free: 31.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003801/1.258, allocations: 451.9 kB / 0.6106 GB, free: 30.99 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02912/1.287, allocations: 11.22 MB / 0.6215 GB, free: 19.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04382/1.331, allocations: 15.9 MB / 0.637 GB, free: 2.574 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005206/1.332, allocations: 75.28 kB / 0.6371 GB, free: 2.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003646/1.335, allocations: 40 kB / 0.6371 GB, free: 2.461 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003892/1.339, allocations: 1.734 MB / 0.6388 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3039/1.643, allocations: 76.39 MB / 0.7134 GB, free: 64.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008604/1.652, allocations: 4.01 MB / 0.7174 GB, free: 64.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006914/1.659, allocations: 3.082 MB / 0.7204 GB, free: 64.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02816/1.687, allocations: 10.41 MB / 0.7305 GB, free: 61.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.834e-05/1.687, allocations: 70.06 kB / 0.7306 GB, free: 61.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=268): time 7.234e-06/1.687, allocations: 0 / 0.7306 GB, free: 61.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=314): time 0.2882/1.975, allocations: 41.23 MB / 0.7709 GB, free: 48.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/1.976, allocations: 166 kB / 0.771 GB, free: 48.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01275/1.988, allocations: 4.58 MB / 0.7755 GB, free: 44.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009943/1.989, allocations: 31.38 kB / 0.7755 GB, free: 44.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003711/1.993, allocations: 4.549 MB / 0.78 GB, free: 40.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00213/1.995, allocations: 1.154 MB / 0.7811 GB, free: 39.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001336/1.997, allocations: 4 kB / 0.7811 GB, free: 39.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0007776/1.997, allocations: 0.694 MB / 0.7818 GB, free: 38.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01031/2.008, allocations: 3.982 MB / 0.7857 GB, free: 34.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0147/2.023, allocations: 9.36 MB / 0.7948 GB, free: 23.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0143/2.037, allocations: 5.973 MB / 0.8006 GB, free: 18.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002059/2.037, allocations: 56 kB / 0.8007 GB, free: 18.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.1443/2.181, allocations: 20.72 MB / 0.8209 GB, free: 2.539 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/2.182, allocations: 4 kB / 0.8209 GB, free: 2.535 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003893/2.182, allocations: 192 kB / 0.8211 GB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1974/2.379, allocations: 4.922 MB / 0.8259 GB, free: 96.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01556/2.395, allocations: 2.132 MB / 0.828 GB, free: 96.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07597/2.471, allocations: 28.92 MB / 0.8562 GB, free: 88.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01186/2.483, allocations: 342.3 kB / 0.8566 GB, free: 88.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002684/2.486, allocations: 0.5434 MB / 0.8571 GB, free: 88.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1119): * Single equations (assignments): 1108 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,60.0%) 4,(1,100.0%) 3,(1,100.0%) 3,(2,100.0%) 6,(4,100.0%) 9,(4,100.0%) 9} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.004115/2.49, allocations: 0.5096 MB / 0.8576 GB, free: 88.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001635/2.492, allocations: 0.4995 MB / 0.8581 GB, free: 88.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1288/2.62, allocations: 15.03 MB / 0.8728 GB, free: 87.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001731/2.621, allocations: 37.25 kB / 0.8728 GB, free: 87.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.964e-05/2.621, allocations: 9.875 kB / 0.8728 GB, free: 87.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.259e-05/2.621, allocations: 14.62 kB / 0.8728 GB, free: 87.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1572/2.778, allocations: 24.35 MB / 0.8966 GB, free: 81.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.507e-05/2.778, allocations: 3.375 kB / 0.8966 GB, free: 81.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006991/2.785, allocations: 0.518 MB / 0.8971 GB, free: 81.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03125/2.816, allocations: 4.68 MB / 0.9017 GB, free: 80 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001018/2.817, allocations: 15.31 kB / 0.9017 GB, free: 79.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07527/2.893, allocations: 28.39 MB / 0.9294 GB, free: 57.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/2.893, allocations: 0 / 0.9294 GB, free: 57.81 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.135/3.028, allocations: 20.19 MB / 0.9491 GB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004502/3.032, allocations: 1.158 MB / 0.9503 GB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002397/3.035, allocations: 7.984 kB / 0.9503 GB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007535/3.042, allocations: 170.9 kB / 0.9504 GB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001287/3.044, allocations: 133.8 kB / 0.9506 GB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006505/3.044, allocations: 87.97 kB / 0.9506 GB, free: 39.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.008345/3.053, allocations: 3.063 MB / 0.9536 GB, free: 36.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01329/3.066, allocations: 1.689 MB / 0.9553 GB, free: 34.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (jointPrismatic_x.s,jointPrismatic_x.v,jointPrismatic_y.s,jointPrismatic_y.v,bodyOfConstraint.v_0[2],bodyOfConstraint.v_0[3],bodyOfConstraint.body.frame_a.r_0[2],bodyOfConstraint.body.frame_a.r_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (235): * Single equations (assignments): 224 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,60.0%) 4,(4,100.0%) 9,(4,100.0%) 9,(2,100.0%) 1,(2,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 1 {4 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001703/3.068, allocations: 225 kB / 0.9555 GB, free: 34.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.03616/3.104, allocations: 10.57 MB / 0.9658 GB, free: 24.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/3.104, allocations: 2.438 kB / 0.9658 GB, free: 24.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1918/3.296, allocations: 4.737 MB / 0.9705 GB, free: 93.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006275/3.302, allocations: 0.5963 MB / 0.971 GB, free: 93.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06417/3.366, allocations: 15.73 MB / 0.9864 GB, free: 91.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02479/3.391, allocations: 5.743 MB / 0.992 GB, free: 90.23 MB / 410.7 MB Notification: Performance of SimCode: time 2.083e-06/3.391, allocations: 0 / 0.992 GB, free: 90.23 MB / 410.7 MB Notification: Performance of Templates: time 1.252/4.643, allocations: 314.7 MB / 1.299 GB, free: 87.36 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches