Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007704/0.0007704, allocations: 93.12 kB / 18 MB, free: 5.602 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.0008803/0.0008804, allocations: 182.7 kB / 18.91 MB, free: 4.738 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.328/1.328, allocations: 223.3 MB / 243 MB, free: 24 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2009/0.2009, allocations: 44.25 MB / 338.3 MB, free: 2.629 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004593/0.0004595, allocations: 8 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1353, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.02704/0.1624, allocations: 28.76 MB / 0.4899 GB, free: 468 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01716/0.1797, allocations: 6.699 MB / 0.4965 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006136/0.1859, allocations: 119.7 kB / 0.4966 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.1876, allocations: 434.1 kB / 0.497 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004792/0.1924, allocations: 1.651 MB / 0.4986 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.1936, allocations: 383.4 kB / 0.499 GB, free: 7.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006326/0.2, allocations: 4.998 MB / 0.5038 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2745/0.4746, allocations: 2.426 MB / 0.5062 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002597/0.4772, allocations: 0.9637 MB / 0.5072 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003082/0.4803, allocations: 1.732 MB / 0.5088 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007113/0.4811, allocations: 134.3 kB / 0.509 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002001/0.4831, allocations: 0.7765 MB / 0.5097 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001967/0.485, allocations: 1.502 MB / 0.5112 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002204/0.4873, allocations: 1.797 MB / 0.513 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006907/0.4942, allocations: 4.637 MB / 0.5175 GB, free: 10.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.4942, allocations: 0 / 0.5175 GB, free: 10.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4942, allocations: 3.938 kB / 0.5175 GB, free: 10.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001947/0.4944, allocations: 0.5312 kB / 0.5175 GB, free: 10.41 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.007995/0.5024, allocations: 3.328 MB / 0.5207 GB, free: 8.688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.5025, allocations: 9.156 kB / 0.5207 GB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01219/0.5147, allocations: 3.163 MB / 0.5238 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005396/0.5201, allocations: 1.913 MB / 0.5257 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000216/0.5204, allocations: 190.7 kB / 0.5259 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009767/0.5214, allocations: 243.1 kB / 0.5261 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01654/0.5379, allocations: 10.19 MB / 0.5361 GB, free: 3.988 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.525e-05/0.5381, allocations: 29 kB / 0.5361 GB, free: 3.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004031/0.5385, allocations: 125.3 kB / 0.5362 GB, free: 3.938 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003477/0.542, allocations: 2.464 MB / 0.5386 GB, free: 2.988 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01806/0.56, allocations: 9.366 MB / 0.5478 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04882/0.6089, allocations: 31.69 MB / 0.5787 GB, free: 11.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006102/0.6151, allocations: 3.353 MB / 0.582 GB, free: 7.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.6167, allocations: 1.07 MB / 0.583 GB, free: 6.703 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/0.6179, allocations: 1.307 MB / 0.5843 GB, free: 5.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.6179, allocations: 46.41 kB / 0.5844 GB, free: 5.129 MB / 430.1 MB Notification: Performance of pre-optimization done (n=185): time 4.789e-06/0.6179, allocations: 0 / 0.5844 GB, free: 5.129 MB / 430.1 MB Notification: Performance of matching and sorting (n=191): time 0.02093/0.6389, allocations: 9.112 MB / 0.5932 GB, free: 11.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.639, allocations: 68.7 kB / 0.5933 GB, free: 11.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003795/0.6428, allocations: 2.611 MB / 0.5959 GB, free: 9.234 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001754/0.643, allocations: 45.7 kB / 0.5959 GB, free: 9.184 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00184/0.6448, allocations: 2.667 MB / 0.5985 GB, free: 6.512 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007418/0.6456, allocations: 0.7043 MB / 0.5992 GB, free: 5.812 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005395/0.6461, allocations: 436.7 kB / 0.5996 GB, free: 5.379 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.6462, allocations: 309.1 kB / 0.5999 GB, free: 5.074 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002404/0.6487, allocations: 1.552 MB / 0.6014 GB, free: 3.516 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004325/0.653, allocations: 4.384 MB / 0.6057 GB, free: 13.77 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007598/0.6606, allocations: 6.573 MB / 0.6121 GB, free: 6.211 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.677e-05/0.6607, allocations: 28 kB / 0.6122 GB, free: 6.184 MB / 462.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01064/0.6714, allocations: 5.849 MB / 0.6179 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.6715, allocations: 51.94 kB / 0.6179 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000188/0.6717, allocations: 107.9 kB / 0.618 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003999/0.6721, allocations: 172.8 kB / 0.6182 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003385/0.6755, allocations: 1.071 MB / 0.6192 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/0.6772, allocations: 1.678 MB / 0.6209 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003017/0.6803, allocations: 206.1 kB / 0.6211 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006533/0.6809, allocations: 296 kB / 0.6213 GB, free: 13.37 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (596): * Single equations (assignments): 589 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004189/0.6851, allocations: 1.991 MB / 0.6233 GB, free: 11.37 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005002/0.6856, allocations: 244.8 kB / 0.6235 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004341/0.69, allocations: 2.532 MB / 0.626 GB, free: 8.57 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.351e-05/0.69, allocations: 24 kB / 0.626 GB, free: 8.547 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.69, allocations: 7.938 kB / 0.626 GB, free: 8.539 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.6901, allocations: 7.969 kB / 0.626 GB, free: 8.531 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01492/0.705, allocations: 7.973 MB / 0.6338 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/0.705, allocations: 8 kB / 0.6338 GB, free: 400 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009948/0.706, allocations: 247.6 kB / 0.6341 GB, free: 152 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001632/0.7062, allocations: 56.83 kB / 0.6341 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.176e-05/0.7063, allocations: 36 kB / 0.6342 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001337/0.7077, allocations: 1.511 MB / 0.6356 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-05/0.7077, allocations: 15.94 kB / 0.6356 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005372/0.7131, allocations: 4.019 MB / 0.6396 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008275/0.7139, allocations: 305.7 kB / 0.6399 GB, free: 9.914 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005532/0.7145, allocations: 40 kB / 0.6399 GB, free: 9.875 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.7156, allocations: 56.02 kB / 0.64 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002413/0.7159, allocations: 120.6 kB / 0.6401 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.716, allocations: 70.88 kB / 0.6401 GB, free: 9.637 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003375/0.7194, allocations: 1.6 MB / 0.6417 GB, free: 8.027 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7194, allocations: 7.938 kB / 0.6417 GB, free: 8.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004625/0.7241, allocations: 0.793 MB / 0.6425 GB, free: 7.227 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (139): * Single equations (assignments): 132 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005431/0.7246, allocations: 186.2 kB / 0.6427 GB, free: 7.035 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006158/0.7308, allocations: 3.845 MB / 0.6464 GB, free: 3.207 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/0.7308, allocations: 0 / 0.6464 GB, free: 3.207 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001759/0.7326, allocations: 1.233 MB / 0.6476 GB, free: 1.969 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005263/0.7379, allocations: 343 kB / 0.6479 GB, free: 1.637 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02063/0.7585, allocations: 11.01 MB / 0.6587 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005349/0.7639, allocations: 3.13 MB / 0.6618 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008157/0.7648, allocations: 231.4 kB / 0.662 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of SimCode: time 1.212e-06/0.7648, allocations: 4 kB / 0.662 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.3339/1.099, allocations: 64.21 MB / 0.7247 GB, free: 201.7 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches