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.001265/0.001265, allocations: 200.7 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 226.5 MB / 245.4 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008702/0.0008697, allocations: 102.9 kB / 297.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3911/0.3911, allocations: 44.81 MB / 394.3 MB, free: 35.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002606/0.0002607, allocations: 12 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3523, allocations: 62.96 MB / 0.5184 GB, free: 37.56 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1511/0.5035, allocations: 109.5 MB / 0.6253 GB, free: 11.78 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.5038, allocations: 87.94 kB / 0.6254 GB, free: 11.7 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5101/1.014, allocations: 77.04 MB / 0.7006 GB, free: 102.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.178e-06/1.014, allocations: 0.75 kB / 0.7006 GB, free: 102.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002436/1.014, allocations: 69.62 kB / 0.7007 GB, free: 102.1 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.01326/1.027, allocations: 3.767 MB / 0.7044 GB, free: 100.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/1.028, allocations: 9.219 kB / 0.7044 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01545/1.043, allocations: 3.51 MB / 0.7078 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00847/1.052, allocations: 3.174 MB / 0.7109 GB, free: 99.53 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004193/1.052, allocations: 277.2 kB / 0.7112 GB, free: 99.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001963/1.054, allocations: 360.3 kB / 0.7115 GB, free: 99.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01832/1.072, allocations: 9.123 MB / 0.7204 GB, free: 95.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001635/1.073, allocations: 56.09 kB / 0.7205 GB, free: 95.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005426/1.073, allocations: 182.2 kB / 0.7207 GB, free: 95.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001213/1.074, allocations: 0.8877 MB / 0.7215 GB, free: 95.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01234/1.087, allocations: 7.248 MB / 0.7286 GB, free: 93.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0419/1.129, allocations: 44.11 MB / 0.7717 GB, free: 58.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007705/1.136, allocations: 3.493 MB / 0.7751 GB, free: 57.13 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001951/1.138, allocations: 1.603 MB / 0.7767 GB, free: 56.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009791/1.148, allocations: 7.131 MB / 0.7836 GB, free: 52.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/1.148, allocations: 54.44 kB / 0.7837 GB, free: 52.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=151): time 5.27e-06/1.148, allocations: 0 / 0.7837 GB, free: 52.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=188): time 0.05277/1.201, allocations: 19.08 MB / 0.8023 GB, free: 37.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.615e-05/1.201, allocations: 209.2 kB / 0.8025 GB, free: 37.15 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00499/1.206, allocations: 3.709 MB / 0.8061 GB, free: 33.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004264/1.207, allocations: 53.7 kB / 0.8062 GB, free: 33.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001518/1.208, allocations: 2.833 MB / 0.8089 GB, free: 30.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000835/1.209, allocations: 0.7169 MB / 0.8096 GB, free: 29.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/1.209, allocations: 116 kB / 0.8098 GB, free: 29.74 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002487/1.209, allocations: 0.5539 MB / 0.8103 GB, free: 29.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002512/1.212, allocations: 1.983 MB / 0.8122 GB, free: 27.19 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004142/1.216, allocations: 5.556 MB / 0.8177 GB, free: 19.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007741/1.224, allocations: 8.207 MB / 0.8257 GB, free: 9.891 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.541e-05/1.224, allocations: 36 kB / 0.8257 GB, free: 9.855 MB / 490.7 MB Notification: Performance of matching and sorting (n=765) (initialization): time 0.01644/1.24, allocations: 8.568 MB / 0.8341 GB, free: 1.277 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001167/1.241, allocations: 60.97 kB / 0.8341 GB, free: 1.219 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001816/1.241, allocations: 124 kB / 0.8342 GB, free: 1.098 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005229/1.246, allocations: 1.485 MB / 0.8357 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004527/1.251, allocations: 1.287 MB / 0.837 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/1.263, allocations: 8.136 MB / 0.8449 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004998/1.268, allocations: 307.5 kB / 0.8452 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001086/1.269, allocations: 352 kB / 0.8455 GB, free: 5.418 MB / 0.4948 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 () * Number of clocked 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.003999/1.273, allocations: 1.899 MB / 0.8474 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007645/1.274, allocations: 335.7 kB / 0.8477 GB, free: 3.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008681/1.283, allocations: 3.669 MB / 0.8513 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.043e-05/1.283, allocations: 23.91 kB / 0.8513 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-05/1.283, allocations: 8 kB / 0.8513 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-05/1.283, allocations: 7.969 kB / 0.8513 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01758/1.301, allocations: 7.957 MB / 0.8591 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.578e-05/1.301, allocations: 0 / 0.8591 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/1.302, allocations: 239.7 kB / 0.8593 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004694/1.307, allocations: 1.277 MB / 0.8606 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002532/1.307, allocations: 35.77 kB / 0.8606 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01096/1.318, allocations: 7.403 MB / 0.8678 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.318, allocations: 4.031 kB / 0.8678 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01125/1.329, allocations: 6.046 MB / 0.8737 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/1.33, allocations: 380.7 kB / 0.8741 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004532/1.331, allocations: 24 kB / 0.8741 GB, free: 7.918 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/1.332, allocations: 95.89 kB / 0.8742 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003405/1.333, allocations: 109.1 kB / 0.8743 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/1.333, allocations: 51.98 kB / 0.8744 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004271/1.337, allocations: 2.293 MB / 0.8766 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.31e-07/1.337, allocations: 4 kB / 0.8766 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005632/1.343, allocations: 0.9765 MB / 0.8776 GB, free: 4.406 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 () * 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 (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.0005202/1.343, allocations: 182 kB / 0.8777 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.2803/1.623, allocations: 4.955 MB / 0.8826 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.623, allocations: 0.5 kB / 0.8826 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003441/1.627, allocations: 1.622 MB / 0.8842 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003181/1.63, allocations: 384 kB / 0.8845 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01646/1.647, allocations: 9.749 MB / 0.8941 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003541/1.65, allocations: 2.96 MB / 0.8969 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006061/1.656, allocations: 1.819 MB / 0.8987 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000822/1.657, allocations: 223.3 kB / 0.8989 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of SimCode: time 3.377e-06/1.657, allocations: 0 / 0.8989 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.07718/1.734, allocations: 35.51 MB / 0.9336 GB, free: 129.4 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/jenkins1/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