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.001753/0.001753, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002154/0.002154, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.457/1.457, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.2262/0.2262, allocations: 46.97 MB / 361.6 MB, free: 4.012 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.002097/0.002097, allocations: 71.88 kB / 0.4973 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3104, allocations: 66.03 MB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01203/0.3224, allocations: 9.099 MB / 0.5707 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008305/0.3307, allocations: 3.697 MB / 0.5743 GB, free: 7.285 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001523/0.3322, allocations: 71.62 kB / 0.5744 GB, free: 7.215 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004183/0.3364, allocations: 2.032 MB / 0.5764 GB, free: 5.176 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00467/0.3411, allocations: 1.724 MB / 0.5781 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.3428, allocations: 0.6901 MB / 0.5787 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005562/0.3484, allocations: 4.005 MB / 0.5826 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002725/0.3511, allocations: 2.159 MB / 0.5847 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001892/0.353, allocations: 1.324 MB / 0.586 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002671/0.3557, allocations: 1.998 MB / 0.588 GB, free: 9.195 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005141/0.3562, allocations: 268 kB / 0.5882 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001981/0.3582, allocations: 1.108 MB / 0.5893 GB, free: 7.824 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001672/0.3598, allocations: 1.694 MB / 0.591 GB, free: 6.125 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001565/0.3614, allocations: 1.394 MB / 0.5923 GB, free: 4.723 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00727/0.3687, allocations: 6.205 MB / 0.5984 GB, free: 14.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.3687, allocations: 3.984 kB / 0.5984 GB, free: 14.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3687, allocations: 0 / 0.5984 GB, free: 14.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001263/0.3688, allocations: 0 / 0.5984 GB, free: 14.49 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.009132/0.3779, allocations: 4.241 MB / 0.6025 GB, free: 10.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.378, allocations: 8.031 kB / 0.6026 GB, free: 10.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01676/0.3947, allocations: 2.455 MB / 0.605 GB, free: 7.727 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006548/0.4013, allocations: 2.358 MB / 0.6073 GB, free: 5.309 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001725/0.4015, allocations: 189.3 kB / 0.6074 GB, free: 5.121 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007184/0.4022, allocations: 283.9 kB / 0.6077 GB, free: 4.844 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01482/0.417, allocations: 8.659 MB / 0.6162 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001116/0.4171, allocations: 43.64 kB / 0.6162 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003609/0.4175, allocations: 131.9 kB / 0.6163 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00304/0.4205, allocations: 1.735 MB / 0.618 GB, free: 9.625 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01467/0.4352, allocations: 7.291 MB / 0.6251 GB, free: 2.328 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04193/0.4771, allocations: 31.59 MB / 0.656 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008855/0.486, allocations: 2.887 MB / 0.6588 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002311/0.4883, allocations: 1.592 MB / 0.6604 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01233/0.5006, allocations: 6.085 MB / 0.6663 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/0.5006, allocations: 47.5 kB / 0.6664 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=151): time 4.028e-06/0.5006, allocations: 4 kB / 0.6664 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of matching and sorting (n=188): time 0.06911/0.5697, allocations: 19.54 MB / 0.6854 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/0.5699, allocations: 209.2 kB / 0.6856 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005195/0.5751, allocations: 3.558 MB / 0.6891 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002849/0.5754, allocations: 57.7 kB / 0.6892 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002926/0.5783, allocations: 2.942 MB / 0.692 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009406/0.5792, allocations: 0.7442 MB / 0.6928 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001702/0.5809, allocations: 1.211 MB / 0.6939 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5811, allocations: 305.1 kB / 0.6942 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003577/0.5847, allocations: 2.202 MB / 0.6964 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006817/0.5915, allocations: 5.832 MB / 0.7021 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01218/0.6037, allocations: 8.601 MB / 0.7105 GB, free: 6.168 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-05/0.6037, allocations: 36.28 kB / 0.7105 GB, free: 6.133 MB / 0.545 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01949/0.6232, allocations: 9.154 MB / 0.7195 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.426e-05/0.6233, allocations: 57.03 kB / 0.7195 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001391/0.6235, allocations: 127.9 kB / 0.7196 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006248/0.6297, allocations: 1.657 MB / 0.7213 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004357/0.6341, allocations: 1.326 MB / 0.7225 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01587/0.6499, allocations: 9.674 MB / 0.732 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2394/0.8894, allocations: 313.7 kB / 0.7323 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007399/0.8901, allocations: 362.7 kB / 0.7326 GB, free: 151.1 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.002769/0.8929, allocations: 1.898 MB / 0.7345 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005378/0.8934, allocations: 318.5 kB / 0.7348 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008405/0.9018, allocations: 4.098 MB / 0.7388 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.509e-05/0.9019, allocations: 22.81 kB / 0.7388 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.9019, allocations: 8.562 kB / 0.7388 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.9019, allocations: 7.641 kB / 0.7388 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01397/0.9158, allocations: 7.498 MB / 0.7462 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/0.9159, allocations: 0.875 kB / 0.7462 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/0.9171, allocations: 251.8 kB / 0.7464 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005095/0.9222, allocations: 1.431 MB / 0.7478 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001443/0.9223, allocations: 38.97 kB / 0.7478 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01085/0.9332, allocations: 8.97 MB / 0.7566 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.9332, allocations: 0 / 0.7566 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/0.9435, allocations: 6.714 MB / 0.7632 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006405/0.9441, allocations: 284.8 kB / 0.7634 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003671/0.9445, allocations: 35.81 kB / 0.7635 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/0.9458, allocations: 87.89 kB / 0.7635 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002903/0.9461, allocations: 117.1 kB / 0.7637 GB, free: 134 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/0.9462, allocations: 55.48 kB / 0.7637 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002162/0.9484, allocations: 2.044 MB / 0.7657 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9484, allocations: 0 / 0.7657 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003794/0.9522, allocations: 0.9697 MB / 0.7666 GB, free: 130.9 MB / 0.5606 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.000327/0.9525, allocations: 164.1 kB / 0.7668 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005734/0.9583, allocations: 5.212 MB / 0.7719 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.9583, allocations: 0 / 0.7719 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001782/0.96, allocations: 1.683 MB / 0.7735 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/0.9618, allocations: 334 kB / 0.7739 GB, free: 123.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009918/0.9717, allocations: 8.707 MB / 0.7824 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002184/0.9739, allocations: 2.413 MB / 0.7847 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003169/0.977, allocations: 1.777 MB / 0.7865 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004668/0.9775, allocations: 211.4 kB / 0.7867 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of SimCode: time 7.42e-07/0.9775, allocations: 0 / 0.7867 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.05538/1.033, allocations: 39.52 MB / 0.8252 GB, free: 71.5 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 -s gbode -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.009141417991486]