Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 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_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_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.00097/0.0009699, allocations: 97.8 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009791/0.0009793, allocations: 181.7 kB / 16.91 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.4 MB / 223.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3432/0.3432, allocations: 43.57 MB / 315 MB, free: 8.758 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005461/0.0005462, allocations: 12 kB / 384.6 MB, free: 7.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1107, allocations: 58.86 MB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.2271/0.3379, allocations: 29.11 MB / 472.6 MB, free: 32.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01493/0.3529, allocations: 6.723 MB / 479.3 MB, free: 29.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006916/0.3598, allocations: 119.4 kB / 479.4 MB, free: 29.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.3615, allocations: 450.5 kB / 479.8 MB, free: 29.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004401/0.3659, allocations: 1.671 MB / 481.5 MB, free: 28.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009418/0.3669, allocations: 393.5 kB / 481.9 MB, free: 28.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004475/0.3714, allocations: 5.11 MB / 487 MB, free: 27.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002778/0.3742, allocations: 2.461 MB / 489.5 MB, free: 26.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001501/0.3757, allocations: 0.991 MB / 490.5 MB, free: 25.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001832/0.3775, allocations: 1.757 MB / 492.2 MB, free: 25.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003241/0.3779, allocations: 137.2 kB / 492.3 MB, free: 25.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.3795, allocations: 0.7626 MB / 493.1 MB, free: 25.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001524/0.381, allocations: 1.554 MB / 494.7 MB, free: 24.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001842/0.3829, allocations: 1.841 MB / 496.5 MB, free: 23.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008958/0.3919, allocations: 5.765 MB / 0.4905 GB, free: 21.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.3919, allocations: 0.75 kB / 0.4905 GB, free: 21.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.957e-06/0.3919, allocations: 0 / 0.4905 GB, free: 21.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002521/0.3922, allocations: 1.344 kB / 0.4905 GB, free: 21.63 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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.008969/0.4012, allocations: 3.396 MB / 0.4938 GB, free: 19.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.159e-05/0.4012, allocations: 9.938 kB / 0.4938 GB, free: 19.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01213/0.4134, allocations: 3.164 MB / 0.4969 GB, free: 18.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006214/0.4197, allocations: 1.979 MB / 0.4988 GB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000253/0.4199, allocations: 193.8 kB / 0.499 GB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001159/0.4211, allocations: 264.3 kB / 0.4993 GB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01984/0.441, allocations: 10.4 MB / 0.5094 GB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001015/0.4411, allocations: 25.44 kB / 0.5095 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004064/0.4415, allocations: 118.2 kB / 0.5096 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004136/0.4457, allocations: 2.56 MB / 0.5121 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01622/0.4619, allocations: 9.459 MB / 0.5213 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05432/0.5163, allocations: 32.5 MB / 0.553 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006543/0.5229, allocations: 3.385 MB / 0.5564 GB, free: 10.72 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001776/0.5247, allocations: 1.078 MB / 0.5574 GB, free: 9.645 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/0.5259, allocations: 1.309 MB / 0.5587 GB, free: 8.121 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.5259, allocations: 47.88 kB / 0.5587 GB, free: 8.066 MB / 430.1 MB Notification: Performance of pre-optimization done (n=187): time 3.947e-06/0.526, allocations: 0 / 0.5587 GB, free: 8.066 MB / 430.1 MB Notification: Performance of matching and sorting (n=193): time 0.02148/0.5474, allocations: 9.787 MB / 0.5683 GB, free: 14.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/0.5475, allocations: 90.42 kB / 0.5684 GB, free: 14.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003894/0.5514, allocations: 2.664 MB / 0.571 GB, free: 11.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002364/0.5517, allocations: 45.7 kB / 0.571 GB, free: 11.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002253/0.554, allocations: 2.747 MB / 0.5737 GB, free: 8.531 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00121/0.5552, allocations: 0.7093 MB / 0.5744 GB, free: 7.812 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000717/0.5559, allocations: 441 kB / 0.5748 GB, free: 7.375 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.5561, allocations: 305.1 kB / 0.5751 GB, free: 7.074 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002839/0.559, allocations: 1.563 MB / 0.5766 GB, free: 5.504 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005004/0.564, allocations: 4.481 MB / 0.581 GB, free: 15.58 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008618/0.5726, allocations: 6.695 MB / 0.5875 GB, free: 7.445 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-05/0.5728, allocations: 31.94 kB / 0.5876 GB, free: 7.414 MB / 462.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01074/0.5835, allocations: 5.952 MB / 0.5934 GB, free: 1.449 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.846e-05/0.5836, allocations: 59.92 kB / 0.5934 GB, free: 1.391 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001022/0.5837, allocations: 100 kB / 0.5935 GB, free: 1.293 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000341/0.5841, allocations: 172.8 kB / 0.5937 GB, free: 1.121 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003199/0.5873, allocations: 1.096 MB / 0.5948 GB, free: 24 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/0.589, allocations: 1.692 MB / 0.5964 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002894/0.5919, allocations: 211.9 kB / 0.5966 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004062/0.5923, allocations: 308 kB / 0.5969 GB, free: 13.69 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 27 (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 (609): * Single equations (assignments): 602 * 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.003999/0.5963, allocations: 2.032 MB / 0.5989 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004427/0.5968, allocations: 252.7 kB / 0.5992 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00392/0.6007, allocations: 2.538 MB / 0.6016 GB, free: 8.832 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-05/0.6008, allocations: 20 kB / 0.6017 GB, free: 8.812 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.6008, allocations: 3.938 kB / 0.6017 GB, free: 8.809 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.05e-05/0.6008, allocations: 7.969 kB / 0.6017 GB, free: 8.801 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01267/0.6135, allocations: 8.167 MB / 0.6096 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-05/0.6135, allocations: 12 kB / 0.6096 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009615/0.6145, allocations: 251.5 kB / 0.6099 GB, free: 184 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001661/0.6147, allocations: 57.52 kB / 0.6099 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.523e-05/0.6148, allocations: 43.98 kB / 0.61 GB, free: 80 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/0.6161, allocations: 1.511 MB / 0.6115 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.585e-05/0.6162, allocations: 27.92 kB / 0.6115 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005775/0.622, allocations: 4.054 MB / 0.6154 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001453/0.6235, allocations: 0.5017 MB / 0.6159 GB, free: 9.668 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003189/0.6238, allocations: 36.17 kB / 0.616 GB, free: 9.633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009079/0.6247, allocations: 59.95 kB / 0.616 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002221/0.6249, allocations: 120.7 kB / 0.6161 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/0.6251, allocations: 67.97 kB / 0.6162 GB, free: 9.391 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003016/0.6281, allocations: 1.636 MB / 0.6178 GB, free: 7.746 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6281, allocations: 4 kB / 0.6178 GB, free: 7.742 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004239/0.6323, allocations: 0.8125 MB / 0.6186 GB, free: 6.93 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (141): * Single equations (assignments): 134 * 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.0004467/0.6328, allocations: 182.6 kB / 0.6188 GB, free: 6.742 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005748/0.6386, allocations: 3.897 MB / 0.6226 GB, free: 2.863 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.6386, allocations: 4 kB / 0.6226 GB, free: 2.859 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001576/0.6402, allocations: 1.237 MB / 0.6238 GB, free: 1.617 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004752/0.6449, allocations: 343.9 kB / 0.6241 GB, free: 1.285 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01678/0.6617, allocations: 10.85 MB / 0.6347 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003671/0.6655, allocations: 3.191 MB / 0.6378 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004119/0.6696, allocations: 1.741 MB / 0.6395 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004881/0.6701, allocations: 191.4 kB / 0.6397 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of SimCode: time 1.022e-06/0.6701, allocations: 0 / 0.6397 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of Templates: time 0.2412/0.9113, allocations: 22.35 MB / 0.6615 GB, free: 152.5 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches