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.001461/0.001461, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.00169/0.00169, allocations: 194 kB / 18.77 MB, free: 4.742 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.418/1.418, allocations: 222.9 MB / 242.4 MB, free: 15.48 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.2368/0.2368, allocations: 44.19 MB / 336.8 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 64.61 kB / 408.4 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1595, allocations: 60.83 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.03496/0.1945, allocations: 26.14 MB / 495.3 MB, free: 4.602 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01994/0.2145, allocations: 6.382 MB / 0.4899 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008955/0.2235, allocations: 103.8 kB / 0.49 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00361/0.2272, allocations: 1.367 MB / 0.4914 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003234/0.2305, allocations: 0.8488 MB / 0.4922 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.2319, allocations: 479.3 kB / 0.4927 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003789/0.2357, allocations: 2.291 MB / 0.4949 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002817/0.2385, allocations: 1.644 MB / 0.4965 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/0.2401, allocations: 0.6034 MB / 0.4971 GB, free: 6.816 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/0.2422, allocations: 0.9425 MB / 0.498 GB, free: 5.871 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005576/0.2428, allocations: 100 kB / 0.4981 GB, free: 5.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001882/0.2447, allocations: 0.6006 MB / 0.4987 GB, free: 5.172 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001068/0.2458, allocations: 0.7052 MB / 0.4994 GB, free: 4.465 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.247, allocations: 0.8001 MB / 0.5002 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002497/0.2495, allocations: 1.941 MB / 0.5021 GB, free: 1.715 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2495, allocations: 0 / 0.5021 GB, free: 1.715 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2495, allocations: 0 / 0.5021 GB, free: 1.715 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.185e-05/0.2495, allocations: 0 / 0.5021 GB, free: 1.715 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.2779/0.5274, allocations: 1.999 MB / 0.504 GB, free: 52.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.5275, allocations: 9.219 kB / 0.504 GB, free: 52.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/0.5289, allocations: 265.7 kB / 0.5043 GB, free: 52.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002563/0.5314, allocations: 1.062 MB / 0.5053 GB, free: 51.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.5316, allocations: 97.23 kB / 0.5054 GB, free: 51.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002488/0.5318, allocations: 123.8 kB / 0.5055 GB, free: 51.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006778/0.5386, allocations: 2.987 MB / 0.5084 GB, free: 50.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.749e-05/0.5387, allocations: 15.55 kB / 0.5085 GB, free: 50.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.5389, allocations: 60.59 kB / 0.5085 GB, free: 50.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007432/0.5396, allocations: 440.8 kB / 0.5089 GB, free: 50.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005162/0.5448, allocations: 2.169 MB / 0.511 GB, free: 49.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01483/0.5596, allocations: 10.72 MB / 0.5215 GB, free: 42.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003865/0.5636, allocations: 1.228 MB / 0.5227 GB, free: 41.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005679/0.5642, allocations: 408.1 kB / 0.5231 GB, free: 41.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003725/0.5679, allocations: 3.004 MB / 0.526 GB, free: 39.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.568, allocations: 37.56 kB / 0.5261 GB, free: 39.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.554e-06/0.568, allocations: 0 / 0.5261 GB, free: 39.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01045/0.5784, allocations: 3.749 MB / 0.5297 GB, free: 36.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.5785, allocations: 85.67 kB / 0.5298 GB, free: 36.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.5798, allocations: 1.197 MB / 0.531 GB, free: 35.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.5799, allocations: 37.64 kB / 0.531 GB, free: 35.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004184/0.5803, allocations: 0.9355 MB / 0.5319 GB, free: 34.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.5804, allocations: 221.2 kB / 0.5322 GB, free: 34.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003142/0.5807, allocations: 315.1 kB / 0.5325 GB, free: 33.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.366e-05/0.5808, allocations: 301.1 kB / 0.5327 GB, free: 33.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005143/0.5813, allocations: 423.7 kB / 0.5331 GB, free: 33.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008702/0.5822, allocations: 1.254 MB / 0.5344 GB, free: 31.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001466/0.5837, allocations: 1.808 MB / 0.5361 GB, free: 29.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.5837, allocations: 8 kB / 0.5361 GB, free: 29.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.00213/0.5858, allocations: 1.726 MB / 0.5378 GB, free: 27.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.5859, allocations: 19.84 kB / 0.5378 GB, free: 27.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.483e-05/0.5859, allocations: 32.91 kB / 0.5379 GB, free: 27.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001988/0.5861, allocations: 84.83 kB / 0.538 GB, free: 27.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009242/0.5871, allocations: 363.3 kB / 0.5383 GB, free: 27.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.5882, allocations: 1.693 MB / 0.54 GB, free: 25.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008394/0.5891, allocations: 67.98 kB / 0.54 GB, free: 25.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.869e-05/0.5892, allocations: 84 kB / 0.5401 GB, free: 25.1 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.0007668/0.5899, allocations: 0.6479 MB / 0.5407 GB, free: 24.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.5901, allocations: 114.7 kB / 0.5408 GB, free: 24.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009796/0.591, allocations: 0.7133 MB / 0.5415 GB, free: 23.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.5911, allocations: 8 kB / 0.5415 GB, free: 23.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5911, allocations: 0 / 0.5415 GB, free: 23.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.872e-06/0.5911, allocations: 3.984 kB / 0.5416 GB, free: 23.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002703/0.5938, allocations: 2.243 MB / 0.5437 GB, free: 21.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.5938, allocations: 4 kB / 0.5437 GB, free: 21.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000333/0.5941, allocations: 92.58 kB / 0.5438 GB, free: 21.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001664/0.5943, allocations: 64.81 kB / 0.5439 GB, free: 21.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/0.5944, allocations: 16 kB / 0.5439 GB, free: 21.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/0.5955, allocations: 1.751 MB / 0.5456 GB, free: 19.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.5955, allocations: 4 kB / 0.5456 GB, free: 19.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.5967, allocations: 1.111 MB / 0.5467 GB, free: 18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/0.5969, allocations: 175.7 kB / 0.5469 GB, free: 17.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.597, allocations: 16 kB / 0.5469 GB, free: 17.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/0.5973, allocations: 23.98 kB / 0.5469 GB, free: 17.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.592e-05/0.5974, allocations: 55.88 kB / 0.547 GB, free: 17.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/0.5975, allocations: 20 kB / 0.547 GB, free: 17.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007955/0.5983, allocations: 0.7558 MB / 0.5477 GB, free: 16.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5983, allocations: 0 / 0.5477 GB, free: 16.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001345/0.5996, allocations: 303.8 kB / 0.548 GB, free: 16.64 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.0002081/0.5998, allocations: 135.1 kB / 0.5481 GB, free: 16.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.6012, allocations: 1.089 MB / 0.5492 GB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.6012, allocations: 3.938 kB / 0.5492 GB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000424/0.6017, allocations: 408.7 kB / 0.5496 GB, free: 14.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009369/0.6026, allocations: 179 kB / 0.5498 GB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003826/0.6064, allocations: 3.626 MB / 0.5533 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007995/0.6073, allocations: 1.455 MB / 0.5547 GB, free: 9.633 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.6075, allocations: 83.44 kB / 0.5548 GB, free: 9.551 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.6075, allocations: 0 / 0.5548 GB, free: 9.551 MB / 382.1 MB Notification: Performance of Templates: time 0.02755/0.635, allocations: 22.34 MB / 0.5766 GB, free: 3.25 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/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_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches