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.001152/0.001152, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001184/0.001185, allocations: 194 kB / 18.12 MB, free: 5.383 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.496/1.496, allocations: 222.9 MB / 241.8 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2345/0.2345, allocations: 44.18 MB / 336.1 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 68.09 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1472, allocations: 60.83 MB / 468.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.02664/0.1739, allocations: 26.13 MB / 494.7 MB, free: 4.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01652/0.1905, allocations: 6.378 MB / 0.4893 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006764/0.1973, allocations: 107.8 kB / 0.4894 GB, free: 14.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003148/0.2005, allocations: 1.371 MB / 0.4907 GB, free: 12.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002835/0.2034, allocations: 0.8524 MB / 0.4916 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.2046, allocations: 483.3 kB / 0.492 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002821/0.2074, allocations: 2.291 MB / 0.4943 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001948/0.2094, allocations: 1.64 MB / 0.4959 GB, free: 7.387 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008362/0.2102, allocations: 0.5995 MB / 0.4964 GB, free: 6.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/0.2114, allocations: 0.9464 MB / 0.4974 GB, free: 5.836 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001964/0.2116, allocations: 104 kB / 0.4975 GB, free: 5.734 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.2127, allocations: 0.6045 MB / 0.4981 GB, free: 5.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006252/0.2134, allocations: 0.6974 MB / 0.4987 GB, free: 4.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007742/0.2141, allocations: 0.7962 MB / 0.4995 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.2165, allocations: 2.418 MB / 0.5019 GB, free: 1.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2165, allocations: 4 kB / 0.5019 GB, free: 1.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2165, allocations: 0 / 0.5019 GB, free: 1.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.297e-05/0.2165, allocations: 0 / 0.5019 GB, free: 1.199 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.2944/0.511, allocations: 1.997 MB / 0.5038 GB, free: 52.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.511, allocations: 9.312 kB / 0.5038 GB, free: 52.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.5122, allocations: 265.8 kB / 0.5041 GB, free: 52.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/0.5143, allocations: 1.065 MB / 0.5051 GB, free: 51.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.017e-05/0.5143, allocations: 93.42 kB / 0.5052 GB, free: 51.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/0.5145, allocations: 130 kB / 0.5054 GB, free: 51.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005327/0.5199, allocations: 2.986 MB / 0.5083 GB, free: 50.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.129e-05/0.5199, allocations: 14.02 kB / 0.5083 GB, free: 50.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.52, allocations: 64.64 kB / 0.5083 GB, free: 50.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006544/0.5207, allocations: 438.3 kB / 0.5088 GB, free: 50.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004645/0.5254, allocations: 2.158 MB / 0.5109 GB, free: 49.81 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/0.5386, allocations: 10.72 MB / 0.5213 GB, free: 42.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003882/0.5425, allocations: 1.231 MB / 0.5225 GB, free: 41.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005694/0.5431, allocations: 417 kB / 0.5229 GB, free: 41.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003163/0.5463, allocations: 3 MB / 0.5259 GB, free: 39.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.5463, allocations: 37.53 kB / 0.5259 GB, free: 39.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.605e-06/0.5463, allocations: 0 / 0.5259 GB, free: 39.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01034/0.5567, allocations: 3.754 MB / 0.5296 GB, free: 36.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.5567, allocations: 85.67 kB / 0.5297 GB, free: 36.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.558, allocations: 1.19 MB / 0.5308 GB, free: 35.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.558, allocations: 41.64 kB / 0.5309 GB, free: 35.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004836/0.5585, allocations: 0.9395 MB / 0.5318 GB, free: 34.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.5587, allocations: 217.2 kB / 0.532 GB, free: 34.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002887/0.559, allocations: 319.1 kB / 0.5323 GB, free: 33.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.32e-05/0.559, allocations: 305.1 kB / 0.5326 GB, free: 33.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005097/0.5596, allocations: 415.7 kB / 0.533 GB, free: 33.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008344/0.5604, allocations: 1.254 MB / 0.5342 GB, free: 31.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.5618, allocations: 1.806 MB / 0.536 GB, free: 29.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.5618, allocations: 8 kB / 0.536 GB, free: 29.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002051/0.5639, allocations: 1.73 MB / 0.5377 GB, free: 27.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.5639, allocations: 20.06 kB / 0.5377 GB, free: 27.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/0.564, allocations: 28 kB / 0.5377 GB, free: 27.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001968/0.5642, allocations: 88.83 kB / 0.5378 GB, free: 27.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000959/0.5651, allocations: 359.3 kB / 0.5381 GB, free: 26.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.5664, allocations: 1.693 MB / 0.5398 GB, free: 25.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008318/0.5672, allocations: 63.98 kB / 0.5398 GB, free: 25.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-05/0.5673, allocations: 88 kB / 0.5399 GB, free: 24.96 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.0008554/0.5682, allocations: 0.6441 MB / 0.5406 GB, free: 24.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.5683, allocations: 118.6 kB / 0.5407 GB, free: 24.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000983/0.5693, allocations: 0.7068 MB / 0.5414 GB, free: 23.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.5693, allocations: 6.625 kB / 0.5414 GB, free: 23.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5693, allocations: 4 kB / 0.5414 GB, free: 23.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.5693, allocations: 7.984 kB / 0.5414 GB, free: 23.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002687/0.572, allocations: 2.231 MB / 0.5436 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.572, allocations: 4 kB / 0.5436 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.5724, allocations: 99.83 kB / 0.5437 GB, free: 21.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001531/0.5725, allocations: 73.23 kB / 0.5437 GB, free: 20.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.5726, allocations: 16 kB / 0.5437 GB, free: 20.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.5737, allocations: 1.749 MB / 0.5454 GB, free: 19.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.5737, allocations: 8.734 kB / 0.5455 GB, free: 19.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.5749, allocations: 1.099 MB / 0.5465 GB, free: 17.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.575, allocations: 183.6 kB / 0.5467 GB, free: 17.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.749e-05/0.5751, allocations: 16 kB / 0.5467 GB, free: 17.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003349/0.5755, allocations: 23.98 kB / 0.5467 GB, free: 17.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/0.5755, allocations: 51.88 kB / 0.5468 GB, free: 17.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.5756, allocations: 22.44 kB / 0.5468 GB, free: 17.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007456/0.5763, allocations: 0.7558 MB / 0.5476 GB, free: 16.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5763, allocations: 4 kB / 0.5476 GB, free: 16.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001065/0.5774, allocations: 296 kB / 0.5478 GB, free: 16.5 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.0002023/0.5776, allocations: 135.7 kB / 0.548 GB, free: 16.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.5788, allocations: 1.091 MB / 0.549 GB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5789, allocations: 0 / 0.549 GB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004084/0.5793, allocations: 410.3 kB / 0.5494 GB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000949/0.5802, allocations: 172 kB / 0.5496 GB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.5836, allocations: 3.491 MB / 0.553 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008103/0.5844, allocations: 1.458 MB / 0.5544 GB, free: 9.633 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008059/0.5853, allocations: 411 kB / 0.5548 GB, free: 9.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.5854, allocations: 75.44 kB / 0.5549 GB, free: 9.156 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.5854, allocations: 0 / 0.5549 GB, free: 9.156 MB / 382.1 MB Notification: Performance of Templates: time 0.0151/0.6005, allocations: 10.02 MB / 0.5647 GB, free: 15.21 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