Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.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.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009075/0.0009075, allocations: 95.34 kB / 17.35 MB, free: 6.375 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.001143/0.001143, allocations: 180.2 kB / 18.26 MB, free: 5.52 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.469/1.469, allocations: 223.3 MB / 242.3 MB, free: 216 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.2538/0.2538, allocations: 44.25 MB / 337.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.0003799, allocations: 8 kB / 410.3 MB, free: 27.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1428, allocations: 61.93 MB / 472.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.0292/0.172, allocations: 25.3 MB / 497.6 MB, free: 3.969 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01578/0.1879, allocations: 6.316 MB / 0.4921 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005843/0.1938, allocations: 111.8 kB / 0.4922 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009851/0.1948, allocations: 171 kB / 0.4923 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003276/0.1981, allocations: 0.8527 MB / 0.4932 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.1995, allocations: 483.3 kB / 0.4936 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003497/0.203, allocations: 2.295 MB / 0.4959 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004096/0.2071, allocations: 2.301 MB / 0.4981 GB, free: 7.367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001394/0.2085, allocations: 0.4902 MB / 0.4986 GB, free: 6.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001666/0.2102, allocations: 0.7941 MB / 0.4994 GB, free: 6.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003978/0.2106, allocations: 56 kB / 0.4994 GB, free: 6.023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.2122, allocations: 0.5576 MB / 0.5 GB, free: 5.465 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001042/0.2133, allocations: 0.6348 MB / 0.5006 GB, free: 4.828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001658/0.215, allocations: 0.7278 MB / 0.5013 GB, free: 4.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003448/0.2184, allocations: 2.343 MB / 0.5036 GB, free: 1.738 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.2184, allocations: 0 / 0.5036 GB, free: 1.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.2185, allocations: 0 / 0.5036 GB, free: 1.738 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000126/0.2186, allocations: 0 / 0.5036 GB, free: 1.738 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.3052/0.5238, allocations: 1.697 MB / 0.5052 GB, free: 51.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.5238, allocations: 9.156 kB / 0.5052 GB, free: 51.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/0.5256, allocations: 271.4 kB / 0.5055 GB, free: 51.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002426/0.528, allocations: 1.062 MB / 0.5065 GB, free: 50.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.5281, allocations: 95.39 kB / 0.5066 GB, free: 50.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002278/0.5284, allocations: 128.8 kB / 0.5068 GB, free: 50.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006351/0.5347, allocations: 2.996 MB / 0.5097 GB, free: 49.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.267e-05/0.5348, allocations: 13.28 kB / 0.5097 GB, free: 49.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/0.535, allocations: 64.12 kB / 0.5098 GB, free: 49.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007624/0.5357, allocations: 429.1 kB / 0.5102 GB, free: 49.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005224/0.541, allocations: 2.177 MB / 0.5123 GB, free: 49.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01737/0.5583, allocations: 10.73 MB / 0.5228 GB, free: 41.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006315/0.5647, allocations: 1.234 MB / 0.524 GB, free: 41.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008551/0.5656, allocations: 399.9 kB / 0.5244 GB, free: 40.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004794/0.5704, allocations: 3.006 MB / 0.5273 GB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.5705, allocations: 37.34 kB / 0.5273 GB, free: 38.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.865e-06/0.5705, allocations: 0 / 0.5273 GB, free: 38.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01634/0.5868, allocations: 3.761 MB / 0.531 GB, free: 36.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.5869, allocations: 81.67 kB / 0.5311 GB, free: 36.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/0.5888, allocations: 1.197 MB / 0.5323 GB, free: 34.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.5888, allocations: 33.7 kB / 0.5323 GB, free: 34.85 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005904/0.5894, allocations: 0.9462 MB / 0.5332 GB, free: 33.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.5896, allocations: 214 kB / 0.5334 GB, free: 33.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.5898, allocations: 145.6 kB / 0.5336 GB, free: 33.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.44e-05/0.5898, allocations: 305.1 kB / 0.5338 GB, free: 33.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008022/0.5907, allocations: 419.7 kB / 0.5342 GB, free: 32.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.5919, allocations: 1.254 MB / 0.5355 GB, free: 31.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002156/0.594, allocations: 1.814 MB / 0.5372 GB, free: 28.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.45e-05/0.5941, allocations: 8 kB / 0.5372 GB, free: 28.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003267/0.5974, allocations: 1.722 MB / 0.5389 GB, free: 27.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/0.5974, allocations: 19.94 kB / 0.5389 GB, free: 27.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-05/0.5975, allocations: 32.84 kB / 0.539 GB, free: 27.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002364/0.5977, allocations: 92.7 kB / 0.5391 GB, free: 27.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.5992, allocations: 355.4 kB / 0.5394 GB, free: 26.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/0.6009, allocations: 1.702 MB / 0.5411 GB, free: 24.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.6023, allocations: 67.98 kB / 0.5411 GB, free: 24.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.6024, allocations: 87.98 kB / 0.5412 GB, free: 24.72 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (194): * Single equations (assignments): 193 * Array equations: 0 * 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.001411/0.6039, allocations: 0.644 MB / 0.5418 GB, free: 24.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.604, allocations: 114.6 kB / 0.542 GB, free: 23.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.6056, allocations: 0.7068 MB / 0.5426 GB, free: 23.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.6056, allocations: 4 kB / 0.5426 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.6057, allocations: 4 kB / 0.5427 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.6057, allocations: 3.984 kB / 0.5427 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004165/0.6099, allocations: 2.243 MB / 0.5448 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.6099, allocations: 4.5 kB / 0.5449 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005391/0.6104, allocations: 91.89 kB / 0.5449 GB, free: 20.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002218/0.6107, allocations: 69.84 kB / 0.545 GB, free: 20.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.095e-05/0.6107, allocations: 16 kB / 0.545 GB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001725/0.6125, allocations: 1.748 MB / 0.5467 GB, free: 18.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.6125, allocations: 8 kB / 0.5467 GB, free: 18.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.6143, allocations: 1.101 MB / 0.5478 GB, free: 17.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002556/0.6145, allocations: 183.7 kB / 0.548 GB, free: 17.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.6147, allocations: 17.31 kB / 0.548 GB, free: 17.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004853/0.6152, allocations: 23.98 kB / 0.548 GB, free: 17.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.6153, allocations: 55.88 kB / 0.5481 GB, free: 17.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.531e-05/0.6154, allocations: 20 kB / 0.5481 GB, free: 17.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001188/0.6166, allocations: 0.7558 MB / 0.5488 GB, free: 16.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6166, allocations: 0 / 0.5488 GB, free: 16.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002128/0.6187, allocations: 304 kB / 0.5491 GB, free: 16.28 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000349/0.6191, allocations: 127 kB / 0.5492 GB, free: 16.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002184/0.6213, allocations: 1.09 MB / 0.5503 GB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.6213, allocations: 4.625 kB / 0.5503 GB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006049/0.6219, allocations: 413.3 kB / 0.5507 GB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/0.6239, allocations: 185.3 kB / 0.5509 GB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005041/0.6289, allocations: 3.555 MB / 0.5544 GB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008754/0.6298, allocations: 1.451 MB / 0.5558 GB, free: 9.344 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000898/0.6307, allocations: 416 kB / 0.5562 GB, free: 8.938 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.6309, allocations: 75.44 kB / 0.5562 GB, free: 8.863 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.6309, allocations: 0 / 0.5562 GB, free: 8.863 MB / 382.1 MB Notification: Performance of Templates: time 0.01683/0.6477, allocations: 9.937 MB / 0.5659 GB, free: 15.01 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches