Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001815/0.001815, allocations: 113.1 kB / 21.85 MB, free: 64 kB / 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.002294/0.002294, allocations: 204.7 kB / 25.13 MB, free: 3.578 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.418/1.418, allocations: 230.4 MB / 258.7 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2326/0.2326, allocations: 46.94 MB / 362 MB, free: 4.215 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002381/0.002381, allocations: 76.11 kB / 0.4978 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3564, allocations: 66.08 MB / 0.5623 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.0128/0.3692, allocations: 10.32 MB / 0.5724 GB, free: 9.883 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008351/0.3776, allocations: 3.929 MB / 0.5762 GB, free: 5.945 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002077/0.3797, allocations: 71.69 kB / 0.5763 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004647/0.3843, allocations: 2.11 MB / 0.5784 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004899/0.3892, allocations: 1.716 MB / 0.5801 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001858/0.3911, allocations: 0.6978 MB / 0.5807 GB, free: 1.336 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006193/0.3973, allocations: 4.009 MB / 0.5847 GB, free: 13.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002974/0.4002, allocations: 2.155 MB / 0.5868 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00223/0.4025, allocations: 1.335 MB / 0.5881 GB, free: 9.773 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003158/0.4056, allocations: 2.001 MB / 0.59 GB, free: 7.766 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007369/0.4064, allocations: 268 kB / 0.5903 GB, free: 7.504 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003189/0.4095, allocations: 1.092 MB / 0.5913 GB, free: 6.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002629/0.4122, allocations: 1.706 MB / 0.593 GB, free: 4.699 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002841/0.415, allocations: 1.879 MB / 0.5948 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008434/0.4234, allocations: 6.202 MB / 0.6009 GB, free: 12.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.4235, allocations: 4 kB / 0.6009 GB, free: 12.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4235, allocations: 0 / 0.6009 GB, free: 12.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001672/0.4236, allocations: 0 / 0.6009 GB, free: 12.58 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.009463/0.4331, allocations: 4.237 MB / 0.605 GB, free: 8.285 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.4331, allocations: 16.03 kB / 0.6051 GB, free: 8.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01479/0.4479, allocations: 2.459 MB / 0.6075 GB, free: 5.805 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006067/0.454, allocations: 2.338 MB / 0.6097 GB, free: 3.406 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.4542, allocations: 201.3 kB / 0.6099 GB, free: 3.207 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007636/0.4549, allocations: 271.8 kB / 0.6102 GB, free: 2.941 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01479/0.4697, allocations: 8.666 MB / 0.6187 GB, free: 9.621 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001152/0.4698, allocations: 43.62 kB / 0.6187 GB, free: 9.578 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003478/0.4702, allocations: 127.9 kB / 0.6188 GB, free: 9.453 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002834/0.473, allocations: 1.735 MB / 0.6205 GB, free: 7.719 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01455/0.4876, allocations: 7.299 MB / 0.6276 GB, free: 424 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04588/0.5334, allocations: 33.87 MB / 0.6607 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00857/0.542, allocations: 2.908 MB / 0.6636 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00244/0.5445, allocations: 1.592 MB / 0.6651 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01184/0.5563, allocations: 6.496 MB / 0.6714 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.579e-05/0.5564, allocations: 55.5 kB / 0.6715 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=151): time 4.398e-06/0.5564, allocations: 0 / 0.6715 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=188): time 0.06172/0.6181, allocations: 19.54 MB / 0.6906 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.6182, allocations: 205.2 kB / 0.6908 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005429/0.6237, allocations: 3.743 MB / 0.6944 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003702/0.624, allocations: 53.7 kB / 0.6945 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002294/0.6263, allocations: 2.913 MB / 0.6973 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009828/0.6273, allocations: 0.7559 MB / 0.6981 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001635/0.6289, allocations: 1.207 MB / 0.6993 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.6291, allocations: 305.1 kB / 0.6995 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003519/0.6326, allocations: 2.21 MB / 0.7017 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006791/0.6394, allocations: 5.828 MB / 0.7074 GB, free: 11.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01149/0.6509, allocations: 8.608 MB / 0.7158 GB, free: 1.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001089/0.651, allocations: 36 kB / 0.7158 GB, free: 1.215 MB / 0.545 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01967/0.6706, allocations: 9.175 MB / 0.7248 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.039e-05/0.6707, allocations: 60 kB / 0.7249 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001444/0.6709, allocations: 124 kB / 0.725 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005627/0.6765, allocations: 1.661 MB / 0.7266 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004346/0.6808, allocations: 1.329 MB / 0.7279 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3519/1.033, allocations: 9.82 MB / 0.7375 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004505/1.037, allocations: 315.8 kB / 0.7378 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008897/1.038, allocations: 363.4 kB / 0.7381 GB, free: 149.4 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.002965/1.041, allocations: 1.895 MB / 0.74 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006414/1.042, allocations: 345.9 kB / 0.7403 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008205/1.05, allocations: 4.12 MB / 0.7443 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.263e-05/1.05, allocations: 21 kB / 0.7444 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.645e-05/1.05, allocations: 9 kB / 0.7444 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/1.05, allocations: 12.77 kB / 0.7444 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01493/1.065, allocations: 8.458 MB / 0.7526 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.076e-05/1.065, allocations: 3.812 kB / 0.7526 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/1.066, allocations: 260.2 kB / 0.7529 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004595/1.071, allocations: 1.425 MB / 0.7543 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000232/1.071, allocations: 31.42 kB / 0.7543 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/1.082, allocations: 9.111 MB / 0.7632 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.082, allocations: 3.938 kB / 0.7632 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01013/1.092, allocations: 6.754 MB / 0.7698 GB, free: 128.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009623/1.093, allocations: 313.7 kB / 0.7701 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004027/1.093, allocations: 28 kB / 0.7701 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/1.094, allocations: 95.88 kB / 0.7702 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003321/1.095, allocations: 112 kB / 0.7703 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/1.095, allocations: 63.2 kB / 0.7704 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002806/1.098, allocations: 2.315 MB / 0.7726 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.098, allocations: 0 / 0.7726 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004985/1.103, allocations: 0.9784 MB / 0.7736 GB, free: 124.3 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.0003926/1.103, allocations: 158.3 kB / 0.7738 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007545/1.111, allocations: 5.22 MB / 0.7788 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/1.111, allocations: 4 kB / 0.7789 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002088/1.113, allocations: 1.669 MB / 0.7805 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002295/1.115, allocations: 393.5 kB / 0.7809 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01359/1.129, allocations: 8.722 MB / 0.7894 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002535/1.131, allocations: 2.965 MB / 0.7923 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003511/1.135, allocations: 1.807 MB / 0.794 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005386/1.135, allocations: 223.4 kB / 0.7942 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.714e-06/1.135, allocations: 0 / 0.7942 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.06221/1.197, allocations: 40.51 MB / 0.8338 GB, free: 62.94 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.367796014994383]