Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00142/0.001419, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001687/0.001688, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.3 MB / 246.9 MB, free: 10.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2256/0.2256, allocations: 46.1 MB / 344.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 75.22 kB / 417.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1403, allocations: 62.43 MB / 479.9 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.02601/0.1663, allocations: 25.97 MB / 0.494 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01514/0.1815, allocations: 6.343 MB / 0.5002 GB, free: 5.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005713/0.1873, allocations: 107.8 kB / 0.5003 GB, free: 5.152 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003139/0.1905, allocations: 1.36 MB / 0.5017 GB, free: 3.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002978/0.1935, allocations: 0.8405 MB / 0.5025 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.1947, allocations: 479.2 kB / 0.5029 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002992/0.1977, allocations: 2.335 MB / 0.5052 GB, free: 144 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2913/0.4891, allocations: 1.622 MB / 0.5068 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/0.4907, allocations: 0.5973 MB / 0.5074 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001776/0.4925, allocations: 0.9426 MB / 0.5083 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002464/0.4928, allocations: 106.5 kB / 0.5084 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.4941, allocations: 0.5723 MB / 0.509 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009139/0.495, allocations: 0.6992 MB / 0.5097 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009786/0.496, allocations: 0.791 MB / 0.5104 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002722/0.4987, allocations: 1.928 MB / 0.5123 GB, free: 10.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4987, allocations: 1.094 kB / 0.5123 GB, free: 10.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4987, allocations: 0 / 0.5123 GB, free: 10.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.702e-05/0.4988, allocations: 0 / 0.5123 GB, free: 10.58 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.004561/0.5034, allocations: 1.989 MB / 0.5143 GB, free: 9.645 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.5034, allocations: 9.531 kB / 0.5143 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.5047, allocations: 264.3 kB / 0.5145 GB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002074/0.5068, allocations: 1.036 MB / 0.5155 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.167e-05/0.5069, allocations: 93.44 kB / 0.5156 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002212/0.5071, allocations: 131 kB / 0.5157 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006834/0.514, allocations: 3.003 MB / 0.5187 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.576e-05/0.5141, allocations: 11.41 kB / 0.5187 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001688/0.5142, allocations: 58.58 kB / 0.5187 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006877/0.5149, allocations: 434 kB / 0.5192 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005379/0.5203, allocations: 2.178 MB / 0.5213 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01215/0.5325, allocations: 10.73 MB / 0.5318 GB, free: 1.742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003819/0.5364, allocations: 1.248 MB / 0.533 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00052/0.5369, allocations: 406.2 kB / 0.5334 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003889/0.5408, allocations: 3.092 MB / 0.5364 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.414e-05/0.5409, allocations: 37.38 kB / 0.5364 GB, free: 14.47 MB / 398.1 MB Notification: Performance of pre-optimization done (n=51): time 3.266e-06/0.5409, allocations: 0 / 0.5364 GB, free: 14.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.0115/0.5524, allocations: 3.791 MB / 0.5401 GB, free: 12.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.5525, allocations: 84.83 kB / 0.5402 GB, free: 12.29 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001985/0.5545, allocations: 1.182 MB / 0.5414 GB, free: 11.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.796e-05/0.5546, allocations: 38.7 kB / 0.5414 GB, free: 11.6 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007916/0.5554, allocations: 0.9399 MB / 0.5423 GB, free: 10.78 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000222/0.5556, allocations: 217.6 kB / 0.5425 GB, free: 10.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004967/0.5561, allocations: 317.1 kB / 0.5428 GB, free: 10.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.578e-05/0.5562, allocations: 305.1 kB / 0.5431 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006993/0.5569, allocations: 419.3 kB / 0.5435 GB, free: 9.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.5582, allocations: 1.257 MB / 0.5447 GB, free: 8.559 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002108/0.5603, allocations: 1.822 MB / 0.5465 GB, free: 6.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.249e-05/0.5604, allocations: 8.625 kB / 0.5465 GB, free: 6.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003041/0.5634, allocations: 1.738 MB / 0.5482 GB, free: 6.012 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/0.5635, allocations: 16 kB / 0.5482 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.794e-05/0.5635, allocations: 32 kB / 0.5483 GB, free: 5.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002486/0.5638, allocations: 87.16 kB / 0.5484 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.5649, allocations: 359 kB / 0.5487 GB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.5665, allocations: 1.691 MB / 0.5503 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.5677, allocations: 64.17 kB / 0.5504 GB, free: 3.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/0.5678, allocations: 91.98 kB / 0.5505 GB, free: 3.598 MB / 398.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.001187/0.569, allocations: 0.6451 MB / 0.5511 GB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.5693, allocations: 114.6 kB / 0.5512 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/0.5696, allocations: 139.3 kB / 0.5514 GB, free: 2.723 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.5696, allocations: 4 kB / 0.5514 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.5696, allocations: 4 kB / 0.5514 GB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.5696, allocations: 3.984 kB / 0.5514 GB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004608/0.5742, allocations: 2.245 MB / 0.5536 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.5743, allocations: 4 kB / 0.5536 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004399/0.5747, allocations: 101.9 kB / 0.5537 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000238/0.575, allocations: 64.81 kB / 0.5537 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.342e-05/0.575, allocations: 24.19 kB / 0.5538 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/0.577, allocations: 1.738 MB / 0.5555 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.577, allocations: 12.06 kB / 0.5555 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.5788, allocations: 1.113 MB / 0.5566 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004082/0.5793, allocations: 175.7 kB / 0.5567 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002685/0.5795, allocations: 19.98 kB / 0.5567 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005104/0.5801, allocations: 23.98 kB / 0.5568 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.489e-05/0.5802, allocations: 51.05 kB / 0.5568 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/0.5802, allocations: 20 kB / 0.5568 GB, free: 12.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00136/0.5816, allocations: 0.7554 MB / 0.5576 GB, free: 12.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5816, allocations: 0 / 0.5576 GB, free: 12.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001817/0.5834, allocations: 296 kB / 0.5578 GB, free: 11.83 MB / 414.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.0002997/0.5837, allocations: 136.2 kB / 0.558 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002139/0.5858, allocations: 1.104 MB / 0.5591 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.5859, allocations: 4.188 kB / 0.5591 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006619/0.5865, allocations: 409.3 kB / 0.5595 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.5879, allocations: 179.3 kB / 0.5596 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006591/0.5945, allocations: 3.63 MB / 0.5632 GB, free: 6.398 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001745/0.5962, allocations: 1.451 MB / 0.5646 GB, free: 4.918 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003323/0.5966, allocations: 83.44 kB / 0.5647 GB, free: 4.836 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.5966, allocations: 0 / 0.5647 GB, free: 4.836 MB / 414.1 MB Notification: Performance of Templates: time 0.03724/0.6338, allocations: 22.2 MB / 0.5863 GB, free: 14.71 MB / 446.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches