Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 208.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.533/1.533, allocations: 230.6 MB / 258.3 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2314/0.2314, allocations: 46.94 MB / 361.6 MB, free: 4.086 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 75.88 kB / 0.4973 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2999, allocations: 66.03 MB / 0.5618 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01172/0.3116, allocations: 9.119 MB / 0.5707 GB, free: 11.22 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008419/0.32, allocations: 3.692 MB / 0.5743 GB, free: 7.516 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.3214, allocations: 71.62 kB / 0.5744 GB, free: 7.445 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004224/0.3256, allocations: 2.024 MB / 0.5764 GB, free: 5.414 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004808/0.3305, allocations: 1.724 MB / 0.5781 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.3321, allocations: 0.694 MB / 0.5787 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005692/0.3378, allocations: 4.017 MB / 0.5827 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002707/0.3405, allocations: 2.156 MB / 0.5848 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.3424, allocations: 1.32 MB / 0.5861 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002635/0.3451, allocations: 2.001 MB / 0.588 GB, free: 9.422 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005436/0.3456, allocations: 268 kB / 0.5883 GB, free: 9.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001973/0.3476, allocations: 1.092 MB / 0.5893 GB, free: 8.066 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001657/0.3492, allocations: 1.702 MB / 0.591 GB, free: 6.359 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001655/0.3509, allocations: 1.398 MB / 0.5924 GB, free: 4.953 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007554/0.3584, allocations: 6.202 MB / 0.5984 GB, free: 14.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3584, allocations: 0 / 0.5984 GB, free: 14.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3584, allocations: 0 / 0.5984 GB, free: 14.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001674/0.3586, allocations: 0 / 0.5984 GB, free: 14.73 MB / 446.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.008427/0.367, allocations: 4.241 MB / 0.6026 GB, free: 10.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.3671, allocations: 8.031 kB / 0.6026 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01655/0.3836, allocations: 2.455 MB / 0.605 GB, free: 7.961 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006502/0.3901, allocations: 2.362 MB / 0.6073 GB, free: 5.539 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/0.3903, allocations: 193.3 kB / 0.6075 GB, free: 5.348 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007586/0.3911, allocations: 275.9 kB / 0.6077 GB, free: 5.078 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01618/0.4073, allocations: 8.666 MB / 0.6162 GB, free: 11.76 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001342/0.4074, allocations: 43.64 kB / 0.6162 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003908/0.4078, allocations: 127.9 kB / 0.6163 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002939/0.4107, allocations: 1.727 MB / 0.618 GB, free: 9.863 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02105/0.4318, allocations: 7.287 MB / 0.6251 GB, free: 2.57 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06431/0.4961, allocations: 31.59 MB / 0.656 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01446/0.5105, allocations: 2.891 MB / 0.6588 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003796/0.5143, allocations: 1.592 MB / 0.6604 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01862/0.5329, allocations: 6.093 MB / 0.6663 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.829e-05/0.533, allocations: 47.56 kB / 0.6664 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=151): time 7.113e-06/0.533, allocations: 3.938 kB / 0.6664 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=188): time 0.1075/0.6405, allocations: 19.53 MB / 0.6854 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001608/0.6406, allocations: 205.2 kB / 0.6856 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007706/0.6483, allocations: 3.562 MB / 0.6891 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005396/0.6489, allocations: 53.7 kB / 0.6892 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002573/0.6515, allocations: 2.942 MB / 0.692 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001057/0.6525, allocations: 0.752 MB / 0.6928 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001821/0.6543, allocations: 1.207 MB / 0.6939 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.6545, allocations: 301.1 kB / 0.6942 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003543/0.658, allocations: 2.21 MB / 0.6964 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006579/0.6646, allocations: 5.832 MB / 0.7021 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01164/0.6762, allocations: 8.598 MB / 0.7105 GB, free: 6.402 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00013/0.6764, allocations: 36 kB / 0.7105 GB, free: 6.367 MB / 0.545 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02122/0.6976, allocations: 9.159 MB / 0.7195 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-05/0.6977, allocations: 60.19 kB / 0.7195 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001669/0.6979, allocations: 124 kB / 0.7196 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00626/0.7041, allocations: 1.657 MB / 0.7213 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004985/0.7091, allocations: 1.322 MB / 0.7225 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01615/0.7252, allocations: 9.678 MB / 0.732 GB, free: 256 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3057/1.031, allocations: 319 kB / 0.7323 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001378/1.032, allocations: 361.6 kB / 0.7326 GB, free: 151.9 MB / 0.5606 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.003673/1.036, allocations: 1.897 MB / 0.7345 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006252/1.037, allocations: 318.8 kB / 0.7348 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008784/1.045, allocations: 4.101 MB / 0.7388 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.461e-05/1.045, allocations: 7.594 kB / 0.7388 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.045, allocations: 0 / 0.7388 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007448/1.046, allocations: 281.7 kB / 0.7391 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004269/1.047, allocations: 27.62 kB / 0.7391 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/1.048, allocations: 89.08 kB / 0.7392 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/1.048, allocations: 149.2 kB / 0.7393 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008163/1.056, allocations: 4.475 MB / 0.7437 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005612/1.062, allocations: 5.349 MB / 0.7489 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001439/1.063, allocations: 1.318 MB / 0.7502 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002485/1.066, allocations: 2.048 MB / 0.7522 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of Backend: time 3.21e-07/1.066, allocations: 0 / 0.7522 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007013/1.073, allocations: 4.2 MB / 0.7563 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01055/1.083, allocations: 8.527 MB / 0.7646 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.0869/1.17, allocations: 51.11 MB / 0.8146 GB, free: 82.92 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.461169513997447]