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.00132/0.00132, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001395/0.001395, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.417/1.417, allocations: 230.3 MB / 258 MB, free: 8.266 MB / 206.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.2212/0.2212, allocations: 46.89 MB / 361.3 MB, free: 4.469 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 0.002173/0.002173, allocations: 79.86 kB / 0.4971 GB, free: 7.598 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3556, allocations: 66.03 MB / 0.5615 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01247/0.368, allocations: 10.44 MB / 0.5717 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008915/0.3769, allocations: 3.934 MB / 0.5756 GB, free: 6.207 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00221/0.3791, allocations: 75.62 kB / 0.5756 GB, free: 6.133 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004537/0.3837, allocations: 2.098 MB / 0.5777 GB, free: 4.027 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005552/0.3892, allocations: 1.728 MB / 0.5794 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001892/0.3911, allocations: 0.6901 MB / 0.5801 GB, free: 1.602 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006703/0.3978, allocations: 4.004 MB / 0.584 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003101/0.4009, allocations: 1.938 MB / 0.5859 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00257/0.4035, allocations: 1.324 MB / 0.5871 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003548/0.407, allocations: 2.005 MB / 0.5891 GB, free: 8.258 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007799/0.4078, allocations: 268 kB / 0.5894 GB, free: 7.996 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002464/0.4103, allocations: 1.221 MB / 0.5906 GB, free: 6.773 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00193/0.4122, allocations: 1.706 MB / 0.5922 GB, free: 5.062 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002606/0.4148, allocations: 1.879 MB / 0.5941 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008765/0.4236, allocations: 6.189 MB / 0.6001 GB, free: 12.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.4236, allocations: 0 / 0.6001 GB, free: 12.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4236, allocations: 0 / 0.6001 GB, free: 12.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000169/0.4238, allocations: 4 kB / 0.6001 GB, free: 12.96 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.01024/0.434, allocations: 4.245 MB / 0.6043 GB, free: 8.656 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.4341, allocations: 8.031 kB / 0.6043 GB, free: 8.648 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01683/0.4509, allocations: 2.459 MB / 0.6067 GB, free: 6.184 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006899/0.4578, allocations: 2.335 MB / 0.6089 GB, free: 3.789 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002108/0.458, allocations: 205.3 kB / 0.6091 GB, free: 3.586 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009662/0.459, allocations: 279.8 kB / 0.6094 GB, free: 3.312 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0171/0.4761, allocations: 8.587 MB / 0.6178 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00012/0.4762, allocations: 47.62 kB / 0.6178 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003662/0.4765, allocations: 127.8 kB / 0.618 GB, free: 9.918 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002996/0.4795, allocations: 1.743 MB / 0.6197 GB, free: 8.176 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01556/0.4951, allocations: 7.284 MB / 0.6268 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04516/0.5403, allocations: 33.98 MB / 0.66 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008759/0.549, allocations: 2.902 MB / 0.6628 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002327/0.5514, allocations: 1.579 MB / 0.6643 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01128/0.5626, allocations: 6.519 MB / 0.6707 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.431e-05/0.5627, allocations: 51.5 kB / 0.6707 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=151): time 4.177e-06/0.5627, allocations: 4 kB / 0.6708 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=188): time 0.07/0.6327, allocations: 19.48 MB / 0.6898 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.6328, allocations: 197.2 kB / 0.69 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0057/0.6385, allocations: 3.739 MB / 0.6936 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002713/0.6388, allocations: 53.7 kB / 0.6937 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002432/0.6412, allocations: 2.917 MB / 0.6965 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009201/0.6422, allocations: 0.7481 MB / 0.6972 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001637/0.6438, allocations: 1.215 MB / 0.6984 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.644, allocations: 313.3 kB / 0.6987 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003332/0.6473, allocations: 2.21 MB / 0.7009 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006364/0.6537, allocations: 5.774 MB / 0.7065 GB, free: 12.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01089/0.6646, allocations: 8.612 MB / 0.7149 GB, free: 1.734 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.318e-05/0.6646, allocations: 36 kB / 0.715 GB, free: 1.699 MB / 0.545 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01791/0.6825, allocations: 9.176 MB / 0.7239 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.122e-05/0.6826, allocations: 64.25 kB / 0.724 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001346/0.6828, allocations: 124 kB / 0.7241 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005646/0.6884, allocations: 1.657 MB / 0.7257 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004137/0.6925, allocations: 1.326 MB / 0.727 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.345/1.038, allocations: 9.826 MB / 0.7366 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005777/1.043, allocations: 313.9 kB / 0.7369 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008408/1.044, allocations: 362.1 kB / 0.7373 GB, free: 148.6 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.003335/1.048, allocations: 1.892 MB / 0.7391 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006332/1.048, allocations: 349.1 kB / 0.7394 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008055/1.056, allocations: 4.125 MB / 0.7435 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.281e-05/1.056, allocations: 21.48 kB / 0.7435 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/1.056, allocations: 14.75 kB / 0.7435 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/1.056, allocations: 13.72 kB / 0.7435 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01462/1.071, allocations: 8.447 MB / 0.7518 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/1.071, allocations: 0 / 0.7518 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/1.072, allocations: 253.4 kB / 0.752 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004624/1.077, allocations: 1.443 MB / 0.7534 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001849/1.077, allocations: 31.69 kB / 0.7534 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01083/1.088, allocations: 9.102 MB / 0.7623 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.088, allocations: 6.938 kB / 0.7623 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01015/1.098, allocations: 6.749 MB / 0.7689 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009677/1.099, allocations: 326.9 kB / 0.7692 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003567/1.099, allocations: 28 kB / 0.7693 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/1.101, allocations: 91.88 kB / 0.7694 GB, free: 128.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000335/1.101, allocations: 113.1 kB / 0.7695 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001422/1.101, allocations: 55.98 kB / 0.7695 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002684/1.104, allocations: 2.315 MB / 0.7718 GB, free: 126 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.104, allocations: 2.734 kB / 0.7718 GB, free: 126 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004585/1.108, allocations: 0.9808 MB / 0.7727 GB, free: 125 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.0004143/1.109, allocations: 160.1 kB / 0.7729 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00677/1.115, allocations: 5.22 MB / 0.778 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/1.115, allocations: 0 / 0.778 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001916/1.117, allocations: 1.67 MB / 0.7796 GB, free: 118 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/1.12, allocations: 394.8 kB / 0.78 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/1.132, allocations: 8.726 MB / 0.7885 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002264/1.134, allocations: 2.957 MB / 0.7914 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003344/1.137, allocations: 1.807 MB / 0.7932 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005119/1.138, allocations: 223.4 kB / 0.7934 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.573e-06/1.138, allocations: 0 / 0.7934 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.06055/1.198, allocations: 40.52 MB / 0.833 GB, free: 63.68 MB / 0.5606 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.0.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.281228185631335]