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.001757/0.001757, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.00233/0.00233, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.599/1.599, allocations: 230.5 MB / 257.4 MB, free: 7.777 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.2291/0.2291, allocations: 46.94 MB / 360.8 MB, free: 3.953 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.002344/0.002344, allocations: 79.81 kB / 0.4966 GB, free: 7.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3395, allocations: 66.09 MB / 0.5612 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01268/0.3522, allocations: 9.099 MB / 0.5701 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008781/0.3609, allocations: 3.708 MB / 0.5737 GB, free: 7.117 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.3623, allocations: 71.62 kB / 0.5738 GB, free: 7.047 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004264/0.3665, allocations: 2.009 MB / 0.5757 GB, free: 5.031 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004859/0.3714, allocations: 1.728 MB / 0.5774 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.3731, allocations: 0.7018 MB / 0.5781 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005457/0.3786, allocations: 4.012 MB / 0.582 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002791/0.3814, allocations: 2.144 MB / 0.5841 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001971/0.3833, allocations: 1.324 MB / 0.5854 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002731/0.3861, allocations: 1.908 MB / 0.5873 GB, free: 9.133 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006008/0.3867, allocations: 264 kB / 0.5875 GB, free: 8.875 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002187/0.3888, allocations: 1.077 MB / 0.5886 GB, free: 7.797 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002108/0.391, allocations: 1.71 MB / 0.5902 GB, free: 6.082 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002075/0.393, allocations: 1.39 MB / 0.5916 GB, free: 4.684 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007898/0.4009, allocations: 6.201 MB / 0.5976 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.4009, allocations: 4 kB / 0.5976 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.4009, allocations: 0 / 0.5976 GB, free: 14.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002275/0.4012, allocations: 0 / 0.5976 GB, free: 14.46 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.01005/0.4112, allocations: 4.241 MB / 0.6018 GB, free: 10.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.553e-05/0.4113, allocations: 8.031 kB / 0.6018 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01657/0.4278, allocations: 2.459 MB / 0.6042 GB, free: 7.688 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006675/0.4345, allocations: 2.354 MB / 0.6065 GB, free: 5.273 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000196/0.4347, allocations: 197.3 kB / 0.6067 GB, free: 5.078 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009105/0.4356, allocations: 279.9 kB / 0.607 GB, free: 4.805 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01644/0.4521, allocations: 8.663 MB / 0.6154 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001483/0.4522, allocations: 47.69 kB / 0.6155 GB, free: 11.44 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004617/0.4527, allocations: 119.9 kB / 0.6156 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003151/0.4558, allocations: 1.743 MB / 0.6173 GB, free: 9.582 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01575/0.4716, allocations: 7.272 MB / 0.6244 GB, free: 2.305 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04433/0.5159, allocations: 31.59 MB / 0.6552 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008837/0.5248, allocations: 2.897 MB / 0.6581 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002385/0.5271, allocations: 1.588 MB / 0.6596 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01185/0.539, allocations: 6.101 MB / 0.6656 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.899e-05/0.539, allocations: 47.56 kB / 0.6656 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=151): time 4.789e-06/0.539, allocations: 0 / 0.6656 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=188): time 0.0693/0.6083, allocations: 19.53 MB / 0.6847 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001575/0.6085, allocations: 197.2 kB / 0.6849 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007161/0.6157, allocations: 3.558 MB / 0.6883 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004576/0.6161, allocations: 53.7 kB / 0.6884 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003179/0.6193, allocations: 2.942 MB / 0.6913 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001398/0.6207, allocations: 0.752 MB / 0.692 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00317/0.6239, allocations: 1.203 MB / 0.6932 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.624, allocations: 301.1 kB / 0.6935 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00451/0.6285, allocations: 2.214 MB / 0.6956 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008086/0.6366, allocations: 5.828 MB / 0.7013 GB, free: 500 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01261/0.6492, allocations: 8.602 MB / 0.7097 GB, free: 6.125 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001547/0.6494, allocations: 36 kB / 0.7098 GB, free: 6.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02219/0.6716, allocations: 9.151 MB / 0.7187 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001438/0.6717, allocations: 60 kB / 0.7188 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000201/0.6719, allocations: 124 kB / 0.7189 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005854/0.6778, allocations: 1.66 MB / 0.7205 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00447/0.6823, allocations: 1.326 MB / 0.7218 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.309/0.9912, allocations: 9.679 MB / 0.7312 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005193/0.9964, allocations: 315.2 kB / 0.7315 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001409/0.9978, allocations: 363.4 kB / 0.7319 GB, free: 151.2 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.004614/1.002, allocations: 1.891 MB / 0.7337 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007915/1.003, allocations: 321.3 kB / 0.734 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008755/1.012, allocations: 4.095 MB / 0.738 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.802e-05/1.012, allocations: 21.36 kB / 0.7381 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/1.012, allocations: 7.781 kB / 0.7381 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-05/1.012, allocations: 6.891 kB / 0.7381 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01429/1.026, allocations: 7.495 MB / 0.7454 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/1.026, allocations: 1.594 kB / 0.7454 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/1.028, allocations: 251.5 kB / 0.7456 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004681/1.032, allocations: 1.436 MB / 0.747 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002201/1.032, allocations: 31 kB / 0.7471 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01124/1.044, allocations: 8.968 MB / 0.7558 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/1.044, allocations: 7.969 kB / 0.7558 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/1.054, allocations: 6.716 MB / 0.7624 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008593/1.055, allocations: 289.6 kB / 0.7627 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004119/1.055, allocations: 31.97 kB / 0.7627 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/1.057, allocations: 91.88 kB / 0.7628 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003069/1.057, allocations: 115 kB / 0.7629 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/1.057, allocations: 51.36 kB / 0.7629 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002296/1.059, allocations: 2.044 MB / 0.7649 GB, free: 132.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.059, allocations: 0 / 0.7649 GB, free: 132.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004235/1.064, allocations: 0.9727 MB / 0.7659 GB, free: 131.5 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.0003695/1.064, allocations: 161.7 kB / 0.766 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00661/1.071, allocations: 5.217 MB / 0.7711 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.071, allocations: 0 / 0.7711 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002006/1.073, allocations: 1.68 MB / 0.7728 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002167/1.075, allocations: 332.4 kB / 0.7731 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/1.086, allocations: 8.714 MB / 0.7816 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002319/1.089, allocations: 2.413 MB / 0.784 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003377/1.092, allocations: 1.766 MB / 0.7857 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005087/1.093, allocations: 207.4 kB / 0.7859 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/1.093, allocations: 4 kB / 0.7859 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.05374/1.146, allocations: 37 MB / 0.822 GB, free: 74.62 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.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.48563039675355]