Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001932/0.001932, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001852/0.001852, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 177 MB / 204.1 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2187/0.2187, allocations: 34.25 MB / 294.8 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 180] 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.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 442.7 MB, free: 5.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.848e-05, allocations: 4.812 kB / 442.7 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.2147/0.2147, allocations: 9.111 MB / 451.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007619/0.2223, allocations: 3.69 MB / 455.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00179/0.2241, allocations: 73.03 kB / 455.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004446/0.2286, allocations: 2.12 MB / 457.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00472/0.2333, allocations: 1.77 MB / 459.4 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.2351, allocations: 0.7545 MB / 460.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006526/0.2416, allocations: 4.4 MB / 464.6 MB, free: 8.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003442/0.245, allocations: 2.415 MB / 467 MB, free: 7.691 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003206/0.2483, allocations: 1.974 MB / 469 MB, free: 6.598 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002865/0.2511, allocations: 2.003 MB / 471 MB, free: 5.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006421/0.2518, allocations: 270.1 kB / 471.2 MB, free: 5.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002349/0.2541, allocations: 1.127 MB / 472.4 MB, free: 5.062 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001593/0.2557, allocations: 1.775 MB / 474.1 MB, free: 4.008 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001476/0.2572, allocations: 1.074 MB / 475.2 MB, free: 3.391 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007103/0.2643, allocations: 6.258 MB / 481.5 MB, free: 15.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.2643, allocations: 4 kB / 481.5 MB, free: 15.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2643, allocations: 3.938 kB / 481.5 MB, free: 15.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001949/0.2645, allocations: 0 / 481.5 MB, free: 15.11 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: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.01068/0.2752, allocations: 4.253 MB / 485.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.2752, allocations: 12.03 kB / 485.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01904/0.2943, allocations: 2.553 MB / 488.3 MB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006561/0.3008, allocations: 2.349 MB / 490.6 MB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002169/0.301, allocations: 193.3 kB / 490.8 MB, free: 5.641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001281/0.3023, allocations: 272.6 kB / 491.1 MB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01751/0.3198, allocations: 8.667 MB / 499.8 MB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001247/0.32, allocations: 55.58 kB / 499.8 MB, free: 12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000399/0.3204, allocations: 127.9 kB / 499.9 MB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0032/0.3236, allocations: 1.735 MB / 0.4899 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0155/0.339, allocations: 7.263 MB / 0.497 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04616/0.3852, allocations: 31.77 MB / 0.528 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009737/0.3949, allocations: 2.978 MB / 0.531 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00265/0.3976, allocations: 1.573 MB / 0.5325 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01245/0.41, allocations: 6.265 MB / 0.5386 GB, free: 7.246 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.116e-05/0.4101, allocations: 47.5 kB / 0.5387 GB, free: 7.191 MB / 446.1 MB Notification: Performance of pre-optimization done (n=151): time 5.06e-06/0.4101, allocations: 4 kB / 0.5387 GB, free: 7.188 MB / 446.1 MB Notification: Performance of matching and sorting (n=188): time 0.07113/0.4813, allocations: 19.75 MB / 0.5579 GB, free: 3.371 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/0.4814, allocations: 201.2 kB / 0.5581 GB, free: 3.133 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005698/0.4871, allocations: 3.644 MB / 0.5617 GB, free: 15.48 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004172/0.4875, allocations: 53.7 kB / 0.5617 GB, free: 15.42 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002552/0.4901, allocations: 2.911 MB / 0.5646 GB, free: 12.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001026/0.4911, allocations: 0.7365 MB / 0.5653 GB, free: 11.73 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001906/0.493, allocations: 1.195 MB / 0.5665 GB, free: 10.53 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.4931, allocations: 301.1 kB / 0.5668 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004397/0.4975, allocations: 2.143 MB / 0.5689 GB, free: 8.082 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009429/0.507, allocations: 5.766 MB / 0.5745 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01685/0.5238, allocations: 8.475 MB / 0.5828 GB, free: 6.301 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001634/0.524, allocations: 36 kB / 0.5828 GB, free: 6.266 MB / 494.1 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.03088/0.5549, allocations: 9.094 MB / 0.5917 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.555, allocations: 60 kB / 0.5917 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001774/0.5551, allocations: 124 kB / 0.5919 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006385/0.5615, allocations: 1.739 MB / 0.5936 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004759/0.5663, allocations: 1.333 MB / 0.5949 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01647/0.5828, allocations: 9.492 MB / 0.6041 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004867/0.5876, allocations: 355.6 kB / 0.6045 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000904/0.5885, allocations: 351.9 kB / 0.6048 GB, free: 15.62 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (714): * Single equations (assignments): 710 * Array equations: 3 * 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 {(2,43,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003422/0.5919, allocations: 1.896 MB / 0.6067 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008149/0.5928, allocations: 317.8 kB / 0.607 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01055/0.6033, allocations: 4.032 MB / 0.6109 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-05/0.6034, allocations: 27.98 kB / 0.6109 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.817e-05/0.6034, allocations: 12 kB / 0.6109 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.544e-05/0.6034, allocations: 7.969 kB / 0.6109 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0184/0.6218, allocations: 7.471 MB / 0.6182 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-05/0.6218, allocations: 0 / 0.6182 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00143/0.6233, allocations: 255.6 kB / 0.6185 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006197/0.6295, allocations: 1.503 MB / 0.6199 GB, free: 16 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003451/0.6298, allocations: 36.06 kB / 0.62 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0162/0.646, allocations: 8.813 MB / 0.6286 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/0.646, allocations: 4.031 kB / 0.6286 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0144/0.6604, allocations: 6.563 MB / 0.635 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/0.6614, allocations: 305.7 kB / 0.6353 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004263/0.6619, allocations: 31.98 kB / 0.6353 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001693/0.6636, allocations: 131.9 kB / 0.6354 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.215/0.8785, allocations: 107.9 kB / 0.6355 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001691/0.8787, allocations: 51.47 kB / 0.6356 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003805/0.8825, allocations: 2.107 MB / 0.6377 GB, free: 168.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.8825, allocations: 1.25 kB / 0.6377 GB, free: 168.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005965/0.8885, allocations: 1.052 MB / 0.6387 GB, free: 168.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.w) * 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 (130): * Single equations (assignments): 126 * Array equations: 3 * 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,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006266/0.8891, allocations: 174.5 kB / 0.6389 GB, free: 168 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009022/0.8981, allocations: 5.065 MB / 0.6438 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.8981, allocations: 0.5312 kB / 0.6438 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002358/0.9005, allocations: 1.61 MB / 0.6454 GB, free: 166 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/0.9027, allocations: 337.5 kB / 0.6457 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01319/0.9159, allocations: 8.546 MB / 0.654 GB, free: 162.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003204/0.9191, allocations: 2.417 MB / 0.6564 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003711/0.9228, allocations: 1.787 MB / 0.6581 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000633/0.9235, allocations: 208.2 kB / 0.6583 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.703e-06/0.9235, allocations: 0 / 0.6583 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.05505/0.9785, allocations: 34.62 MB / 0.6922 GB, free: 136.9 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.103279009461403]