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.00112/0.00112, allocations: 109 kB / 16.41 MB, free: 6.504 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.001105/0.001105, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.556/1.556, allocations: 205.1 MB / 223.2 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2438/0.2438, allocations: 43.52 MB / 314.1 MB, free: 460 kB / 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.001446/0.001446, allocations: 69.47 kB / 441.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1456, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01278/0.1585, allocations: 12.65 MB / 0.5002 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009511/0.168, allocations: 3.898 MB / 0.5041 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002808/0.1709, allocations: 63.88 kB / 0.5041 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002759/0.1737, allocations: 1.323 MB / 0.5054 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004955/0.1787, allocations: 1.833 MB / 0.5072 GB, free: 7.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.1798, allocations: 431.2 kB / 0.5076 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005803/0.1856, allocations: 3.649 MB / 0.5112 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003065/0.1887, allocations: 2.036 MB / 0.5132 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001955/0.1906, allocations: 1.249 MB / 0.5144 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002145/0.1928, allocations: 1.764 MB / 0.5161 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004267/0.1932, allocations: 248 kB / 0.5163 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.1949, allocations: 0.8269 MB / 0.5171 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001529/0.1965, allocations: 1.624 MB / 0.5187 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001906/0.1984, allocations: 1.933 MB / 0.5206 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007337/0.2057, allocations: 6.266 MB / 0.5267 GB, free: 3.801 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.2058, allocations: 0 / 0.5267 GB, free: 3.801 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.307e-06/0.2058, allocations: 0 / 0.5267 GB, free: 3.801 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001123/0.2059, allocations: 0 / 0.5267 GB, free: 3.801 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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.3139/0.5198, allocations: 4.137 MB / 0.5308 GB, free: 37.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.5199, allocations: 14.14 kB / 0.5308 GB, free: 37.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01227/0.5322, allocations: 3.074 MB / 0.5338 GB, free: 37.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005165/0.5374, allocations: 1.992 MB / 0.5357 GB, free: 36.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/0.5376, allocations: 199.8 kB / 0.5359 GB, free: 36.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007143/0.5383, allocations: 253 kB / 0.5362 GB, free: 36.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02394/0.5623, allocations: 10.39 MB / 0.5463 GB, free: 33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000114/0.5624, allocations: 23.67 kB / 0.5463 GB, free: 32.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004373/0.5629, allocations: 125.3 kB / 0.5465 GB, free: 32.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005723/0.5686, allocations: 2.56 MB / 0.549 GB, free: 32.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01909/0.5877, allocations: 9.457 MB / 0.5582 GB, free: 26.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04379/0.6316, allocations: 32.24 MB / 0.5897 GB, free: 9.441 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006669/0.6383, allocations: 3.378 MB / 0.593 GB, free: 5.828 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001736/0.6401, allocations: 1.081 MB / 0.594 GB, free: 4.746 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001316/0.6414, allocations: 1.308 MB / 0.5953 GB, free: 3.219 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.967e-05/0.6415, allocations: 52.69 kB / 0.5954 GB, free: 3.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=187): time 5.17e-06/0.6415, allocations: 0 / 0.5954 GB, free: 3.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=193): time 0.02138/0.6629, allocations: 9.777 MB / 0.6049 GB, free: 9.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.063e-05/0.663, allocations: 94.45 kB / 0.605 GB, free: 9.156 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003857/0.6669, allocations: 2.66 MB / 0.6076 GB, free: 6.477 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.667, allocations: 49.69 kB / 0.6076 GB, free: 6.422 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001925/0.6689, allocations: 2.754 MB / 0.6103 GB, free: 3.629 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006754/0.6696, allocations: 0.7093 MB / 0.611 GB, free: 2.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001238/0.6709, allocations: 0.9806 MB / 0.612 GB, free: 1.918 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.671, allocations: 301.1 kB / 0.6123 GB, free: 1.621 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002188/0.6732, allocations: 1.567 MB / 0.6138 GB, free: 48 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005002/0.6782, allocations: 4.481 MB / 0.6182 GB, free: 10.11 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009466/0.6877, allocations: 6.695 MB / 0.6247 GB, free: 1.992 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.963e-05/0.6878, allocations: 31.94 kB / 0.6247 GB, free: 1.961 MB / 462.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01002/0.6978, allocations: 5.952 MB / 0.6306 GB, free: 11.99 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.074e-05/0.6979, allocations: 54.5 kB / 0.6306 GB, free: 11.94 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001154/0.698, allocations: 103.4 kB / 0.6307 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003351/0.6984, allocations: 180.8 kB / 0.6309 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003081/0.7015, allocations: 1.103 MB / 0.632 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/0.7033, allocations: 1.8 MB / 0.6337 GB, free: 8.613 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003121/0.7064, allocations: 207.9 kB / 0.6339 GB, free: 8.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004649/0.7069, allocations: 300 kB / 0.6342 GB, free: 8.117 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.004397/0.7113, allocations: 2.028 MB / 0.6362 GB, free: 6.074 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007289/0.7121, allocations: 256.7 kB / 0.6364 GB, free: 5.82 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003929/0.716, allocations: 2.542 MB / 0.6389 GB, free: 3.254 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-05/0.7161, allocations: 20 kB / 0.6389 GB, free: 3.234 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/0.7161, allocations: 11.92 kB / 0.6389 GB, free: 3.223 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/0.7161, allocations: 7.922 kB / 0.639 GB, free: 3.215 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/0.7291, allocations: 8.14 MB / 0.6469 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.148e-05/0.7291, allocations: 15.83 kB / 0.6469 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.7302, allocations: 247.6 kB / 0.6472 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001829/0.7304, allocations: 56.83 kB / 0.6472 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.7305, allocations: 43.98 kB / 0.6472 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001494/0.732, allocations: 1.629 MB / 0.6488 GB, free: 8.754 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.209e-05/0.732, allocations: 15.94 kB / 0.6489 GB, free: 8.738 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005484/0.7375, allocations: 4.051 MB / 0.6528 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/0.7387, allocations: 0.5017 MB / 0.6533 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002797/0.739, allocations: 35.98 kB / 0.6533 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007907/0.7398, allocations: 55.95 kB / 0.6534 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002295/0.74, allocations: 124.6 kB / 0.6535 GB, free: 3.797 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/0.7402, allocations: 71.97 kB / 0.6536 GB, free: 3.727 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002707/0.7429, allocations: 1.635 MB / 0.6552 GB, free: 2.082 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7429, allocations: 0 / 0.6552 GB, free: 2.082 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004713/0.7476, allocations: 0.8254 MB / 0.656 GB, free: 1.262 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.0006636/0.7483, allocations: 169.6 kB / 0.6561 GB, free: 1.086 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009029/0.7573, allocations: 3.933 MB / 0.66 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.743e-05/0.7574, allocations: 0.8125 kB / 0.66 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002077/0.7595, allocations: 1.236 MB / 0.6612 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/0.7619, allocations: 352.8 kB / 0.6615 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01896/0.7809, allocations: 8.609 MB / 0.6699 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004416/0.7854, allocations: 3.195 MB / 0.6731 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003832/0.7893, allocations: 1.737 MB / 0.6747 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004793/0.7898, allocations: 191.4 kB / 0.6749 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of SimCode: time 1.032e-06/0.7898, allocations: 0 / 0.6749 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of Templates: time 0.04813/0.8379, allocations: 21.11 MB / 0.6955 GB, free: 8.566 MB / 0.5294 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches