Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_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.001186/0.001186, allocations: 110.7 kB / 17.04 MB, free: 5.812 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.001158/0.001158, allocations: 196 kB / 17.97 MB, free: 5.027 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.517/1.517, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2044/0.2044, allocations: 43.52 MB / 314.7 MB, free: 484 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.001501/0.001501, allocations: 69.94 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1246, allocations: 57.78 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.008869/0.1335, allocations: 8.691 MB / 450.7 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007058/0.1406, allocations: 3.46 MB / 454.1 MB, free: 9.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008682/0.1415, allocations: 47.88 kB / 454.2 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002535/0.1441, allocations: 1.363 MB / 455.5 MB, free: 8.535 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002104/0.1462, allocations: 0.9417 MB / 456.5 MB, free: 7.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.1473, allocations: 0.5147 MB / 457 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00203/0.1493, allocations: 1.702 MB / 458.7 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/0.1512, allocations: 1.659 MB / 460.3 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008462/0.1521, allocations: 0.6698 MB / 461 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009893/0.1531, allocations: 0.8996 MB / 461.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001987/0.1533, allocations: 140 kB / 462 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009393/0.1543, allocations: 0.589 MB / 462.6 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005621/0.1548, allocations: 0.7325 MB / 463.4 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007657/0.1556, allocations: 0.8432 MB / 464.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00227/0.1579, allocations: 2.492 MB / 466.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1579, allocations: 0 / 466.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1579, allocations: 0 / 466.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.222e-05/0.158, allocations: 4 kB / 466.7 MB, free: 13.28 MB / 350.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.003214/0.1612, allocations: 2.013 MB / 468.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.1612, allocations: 11.89 kB / 468.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009929/0.1622, allocations: 266.5 kB / 469 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/0.1642, allocations: 1.137 MB / 470.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.247e-05/0.1643, allocations: 98.58 kB / 470.2 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/0.1645, allocations: 124 kB / 470.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004952/0.1694, allocations: 2.984 MB / 473.3 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.207e-05/0.1695, allocations: 11.94 kB / 473.3 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.1696, allocations: 55.97 kB / 473.4 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005862/0.1702, allocations: 442 kB / 473.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004335/0.1745, allocations: 2.156 MB / 476 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01236/0.1869, allocations: 10.7 MB / 486.7 MB, free: 8.719 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003596/0.1906, allocations: 1.222 MB / 487.9 MB, free: 7.477 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00056/0.1911, allocations: 411.2 kB / 488.3 MB, free: 7.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004032/0.1952, allocations: 3.001 MB / 491.3 MB, free: 3.816 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.1952, allocations: 39 kB / 491.3 MB, free: 3.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.284e-06/0.1952, allocations: 0 / 491.3 MB, free: 3.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.01124/0.2065, allocations: 3.772 MB / 495.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.504e-05/0.2066, allocations: 85.67 kB / 495.2 MB, free: 15.78 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.2083, allocations: 1.206 MB / 496.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.466e-05/0.2084, allocations: 41.7 kB / 496.5 MB, free: 14.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007026/0.2091, allocations: 0.9354 MB / 497.4 MB, free: 13.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.2093, allocations: 213.2 kB / 497.6 MB, free: 13.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003946/0.2097, allocations: 319 kB / 497.9 MB, free: 13.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.2098, allocations: 301.1 kB / 498.2 MB, free: 12.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000633/0.2104, allocations: 415.7 kB / 498.6 MB, free: 12.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/0.2117, allocations: 1.258 MB / 499.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001975/0.2136, allocations: 1.803 MB / 0.4899 GB, free: 8.449 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/0.2137, allocations: 12 kB / 0.4899 GB, free: 8.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002716/0.2164, allocations: 1.734 MB / 0.4916 GB, free: 6.691 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.2164, allocations: 20 kB / 0.4916 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.94e-05/0.2165, allocations: 28 kB / 0.4917 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00022/0.2167, allocations: 84.81 kB / 0.4917 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.2178, allocations: 363.3 kB / 0.4921 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/0.2194, allocations: 1.877 MB / 0.4939 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009521/0.2204, allocations: 68.05 kB / 0.494 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.691e-05/0.2205, allocations: 84 kB / 0.4941 GB, free: 4.039 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.000993/0.2215, allocations: 0.6564 MB / 0.4947 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.2217, allocations: 118.5 kB / 0.4948 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.2229, allocations: 0.7068 MB / 0.4955 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.2229, allocations: 4 kB / 0.4955 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2229, allocations: 4 kB / 0.4955 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.2229, allocations: 3.984 kB / 0.4955 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003509/0.2264, allocations: 2.227 MB / 0.4977 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.2264, allocations: 4.125 kB / 0.4977 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003787/0.2268, allocations: 103.8 kB / 0.4978 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001793/0.227, allocations: 65.31 kB / 0.4979 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.916e-05/0.2271, allocations: 19.94 kB / 0.4979 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/0.2287, allocations: 1.936 MB / 0.4998 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.2287, allocations: 11.88 kB / 0.4998 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.2302, allocations: 1.096 MB / 0.5009 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00041/0.2306, allocations: 219.6 kB / 0.5011 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.2307, allocations: 16 kB / 0.5011 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/0.2311, allocations: 28.05 kB / 0.5011 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.131e-05/0.2312, allocations: 43.83 kB / 0.5011 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.2312, allocations: 23.94 kB / 0.5012 GB, free: 12.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001009/0.2322, allocations: 0.7677 MB / 0.5019 GB, free: 11.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2323, allocations: 0 / 0.5019 GB, free: 11.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001393/0.2337, allocations: 308 kB / 0.5022 GB, free: 11.34 MB / 398.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.000227/0.2339, allocations: 123.2 kB / 0.5023 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.2356, allocations: 1.116 MB / 0.5034 GB, free: 10.08 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2356, allocations: 0 / 0.5034 GB, free: 10.08 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005421/0.2362, allocations: 411.9 kB / 0.5038 GB, free: 9.668 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009271/0.2371, allocations: 188.5 kB / 0.504 GB, free: 9.484 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004201/0.2413, allocations: 2.821 MB / 0.5067 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/0.2425, allocations: 1.455 MB / 0.5082 GB, free: 5.094 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008994/0.2434, allocations: 409.7 kB / 0.5086 GB, free: 4.691 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.2436, allocations: 83.44 kB / 0.5086 GB, free: 4.609 MB / 398.1 MB Notification: Performance of SimCode: time 1.162e-06/0.2436, allocations: 0 / 0.5086 GB, free: 4.609 MB / 398.1 MB Notification: Performance of Templates: time 0.02044/0.264, allocations: 10.49 MB / 0.5189 GB, free: 10.18 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches