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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001163/0.001163, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009895/0.0009896, allocations: 84.97 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1754/0.1754, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.766e-05/2.767e-05, allocations: 4 kB / 460.4 MB, free: 70.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1172, allocations: 63.25 MB / 0.5114 GB, free: 6.801 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4793/0.5966, allocations: 109.4 MB / 0.6182 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.5969, allocations: 78.14 kB / 0.6183 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2073/0.8042, allocations: 78.61 MB / 0.6951 GB, free: 10.12 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.8043, allocations: 0 / 0.6951 GB, free: 10.12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002639/0.8045, allocations: 75.98 kB / 0.6951 GB, free: 10.05 MB / 490.7 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.01209/0.8166, allocations: 3.597 MB / 0.6987 GB, free: 6.395 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.8167, allocations: 15.97 kB / 0.6987 GB, free: 6.379 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01812/0.8348, allocations: 4.328 MB / 0.7029 GB, free: 2.039 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01099/0.8459, allocations: 3.808 MB / 0.7066 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003132/0.8462, allocations: 275.1 kB / 0.7069 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001933/0.8482, allocations: 363.8 kB / 0.7072 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02159/0.8698, allocations: 9.094 MB / 0.7161 GB, free: 3.434 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002909/0.8701, allocations: 67.34 kB / 0.7162 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001726/0.8719, allocations: 183.9 kB / 0.7163 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001484/0.8734, allocations: 0.8844 MB / 0.7172 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01562/0.889, allocations: 7.21 MB / 0.7242 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3914/1.28, allocations: 44.12 MB / 0.7673 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009227/1.29, allocations: 3.481 MB / 0.7707 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002155/1.292, allocations: 1.585 MB / 0.7723 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01148/1.303, allocations: 7.181 MB / 0.7793 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/1.304, allocations: 49.45 kB / 0.7793 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=151): time 4.138e-06/1.304, allocations: 0 / 0.7793 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=188): time 0.04448/1.348, allocations: 16.19 MB / 0.7951 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.116e-05/1.348, allocations: 206 kB / 0.7953 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004359/1.352, allocations: 3.274 MB / 0.7985 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002706/1.353, allocations: 51.83 kB / 0.7986 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001337/1.354, allocations: 2.838 MB / 0.8014 GB, free: 98.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005357/1.355, allocations: 0.7144 MB / 0.8021 GB, free: 98.21 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/1.355, allocations: 115 kB / 0.8022 GB, free: 98.21 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002302/1.355, allocations: 0.5498 MB / 0.8027 GB, free: 97.89 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002329/1.357, allocations: 1.932 MB / 0.8046 GB, free: 97.88 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003555/1.361, allocations: 5.476 MB / 0.8099 GB, free: 92.68 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003857/1.365, allocations: 3.246 MB / 0.8131 GB, free: 91.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.931e-05/1.365, allocations: 34.47 kB / 0.8131 GB, free: 91.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=765) (initialization): time 0.01468/1.38, allocations: 8.445 MB / 0.8214 GB, free: 89.29 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.106e-05/1.38, allocations: 59.53 kB / 0.8214 GB, free: 89.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001509/1.38, allocations: 127.4 kB / 0.8216 GB, free: 89.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004761/1.385, allocations: 1.455 MB / 0.823 GB, free: 89.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004125/1.389, allocations: 1.289 MB / 0.8242 GB, free: 88.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/1.4, allocations: 8.009 MB / 0.8321 GB, free: 84.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005014/1.405, allocations: 307.5 kB / 0.8324 GB, free: 84.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001001/1.406, allocations: 355.8 kB / 0.8327 GB, free: 84.82 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 572 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (697): * Single equations (assignments): 693 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009042/1.407, allocations: 0.561 MB / 0.8333 GB, free: 84.36 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007231/1.407, allocations: 333.9 kB / 0.8336 GB, free: 84.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007778/1.415, allocations: 3.597 MB / 0.8371 GB, free: 82.96 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.1e-05/1.415, allocations: 22.39 kB / 0.8371 GB, free: 82.96 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/1.415, allocations: 9 kB / 0.8371 GB, free: 82.96 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.119e-05/1.415, allocations: 7.594 kB / 0.8371 GB, free: 82.96 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01526/1.43, allocations: 7.871 MB / 0.8448 GB, free: 79.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.821e-05/1.431, allocations: 7.938 kB / 0.8448 GB, free: 79.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/1.432, allocations: 242.6 kB / 0.845 GB, free: 79.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004274/1.436, allocations: 1.23 MB / 0.8462 GB, free: 78.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002188/1.436, allocations: 32 kB / 0.8463 GB, free: 78.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009127/1.445, allocations: 7.294 MB / 0.8534 GB, free: 72.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.445, allocations: 0 / 0.8534 GB, free: 72.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009659/1.455, allocations: 6.012 MB / 0.8593 GB, free: 67.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/1.456, allocations: 377.7 kB / 0.8596 GB, free: 66.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003231/1.457, allocations: 28 kB / 0.8597 GB, free: 66.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/1.458, allocations: 88.47 kB / 0.8597 GB, free: 66.55 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002954/1.458, allocations: 106.7 kB / 0.8598 GB, free: 66.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/1.458, allocations: 52.81 kB / 0.8599 GB, free: 66.44 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003085/1.462, allocations: 2.269 MB / 0.8621 GB, free: 64.45 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/1.462, allocations: 3.938 kB / 0.8621 GB, free: 64.44 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004471/1.466, allocations: 0.9766 MB / 0.8631 GB, free: 63.48 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004281/1.466, allocations: 181.3 kB / 0.8632 GB, free: 63.31 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006402/1.473, allocations: 4.877 MB / 0.868 GB, free: 58.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.473, allocations: 0 / 0.868 GB, free: 58.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001796/1.475, allocations: 1.59 MB / 0.8696 GB, free: 57.38 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/1.477, allocations: 372.1 kB / 0.8699 GB, free: 57.07 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/1.487, allocations: 6.802 MB / 0.8766 GB, free: 51 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002391/1.49, allocations: 3.042 MB / 0.8795 GB, free: 48.67 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004227/1.494, allocations: 1.819 MB / 0.8813 GB, free: 47.53 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005408/1.494, allocations: 219.2 kB / 0.8815 GB, free: 47.32 MB / 0.5261 GB Notification: Performance of SimCode: time 1.102e-06/1.494, allocations: 4 kB / 0.8815 GB, free: 47.32 MB / 0.5261 GB Notification: Performance of Templates: time 0.05789/1.552, allocations: 35.29 MB / 0.916 GB, free: 14.16 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile (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) 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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches