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.001048/0.001047, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.183/1.183, allocations: 227.2 MB / 245 MB, free: 7.574 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008441/0.0008441, allocations: 96 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3209/0.3209, allocations: 45.23 MB / 394.7 MB, free: 31.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002633/0.0002632, allocations: 8 kB / 468.4 MB, free: 7.746 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2965, allocations: 63.25 MB / 0.5192 GB, free: 43.85 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1337/0.4302, allocations: 109.5 MB / 0.6261 GB, free: 12.13 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.4305, allocations: 80.75 kB / 0.6262 GB, free: 12.05 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.463/0.8935, allocations: 78.57 MB / 0.7029 GB, free: 97.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8936, allocations: 1.312 kB / 0.7029 GB, free: 97.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001548/0.8937, allocations: 71.53 kB / 0.703 GB, free: 97.75 MB / 0.4948 GB 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.00858/0.9023, allocations: 3.875 MB / 0.7068 GB, free: 96.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.9023, allocations: 7.844 kB / 0.7068 GB, free: 96.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01516/0.9175, allocations: 4.319 MB / 0.711 GB, free: 95.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01063/0.9282, allocations: 3.825 MB / 0.7147 GB, free: 95.45 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002765/0.9285, allocations: 281.2 kB / 0.715 GB, free: 95.44 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001361/0.9299, allocations: 368.2 kB / 0.7153 GB, free: 95.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01242/0.9423, allocations: 9.158 MB / 0.7243 GB, free: 92.75 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00012/0.9424, allocations: 64.14 kB / 0.7244 GB, free: 92.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004032/0.9429, allocations: 182.2 kB / 0.7245 GB, free: 92.75 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000938/0.9438, allocations: 0.884 MB / 0.7254 GB, free: 92.74 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01229/0.9561, allocations: 7.321 MB / 0.7325 GB, free: 92.62 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03828/0.9944, allocations: 44.13 MB / 0.7756 GB, free: 59.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007671/1.002, allocations: 3.501 MB / 0.7791 GB, free: 58.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008983/1.011, allocations: 7.19 MB / 0.7861 GB, free: 54.37 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/1.011, allocations: 50.25 kB / 0.7861 GB, free: 54.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=151): time 4.839e-06/1.011, allocations: 0 / 0.7861 GB, free: 54.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=188): time 0.05221/1.063, allocations: 19.34 MB / 0.805 GB, free: 47.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/1.064, allocations: 203.6 kB / 0.8052 GB, free: 47.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003984/1.068, allocations: 3.312 MB / 0.8084 GB, free: 46.28 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002885/1.068, allocations: 53.45 kB / 0.8085 GB, free: 46.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001261/1.069, allocations: 2.831 MB / 0.8113 GB, free: 44.03 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006059/1.07, allocations: 0.7142 MB / 0.812 GB, free: 43.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/1.07, allocations: 115.1 kB / 0.8121 GB, free: 43.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002297/1.07, allocations: 0.5498 MB / 0.8126 GB, free: 43.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002292/1.072, allocations: 1.979 MB / 0.8145 GB, free: 42.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003458/1.076, allocations: 5.531 MB / 0.8199 GB, free: 36.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00351/1.079, allocations: 3.254 MB / 0.8231 GB, free: 35.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.893e-05/1.08, allocations: 32.97 kB / 0.8231 GB, free: 35.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=765) (initialization): time 0.01385/1.093, allocations: 8.565 MB / 0.8315 GB, free: 28.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.542e-05/1.093, allocations: 63.23 kB / 0.8316 GB, free: 28.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.293e-05/1.094, allocations: 124 kB / 0.8317 GB, free: 28.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005142/1.099, allocations: 1.502 MB / 0.8331 GB, free: 27.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003613/1.102, allocations: 1.288 MB / 0.8344 GB, free: 26.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0104/1.113, allocations: 8.405 MB / 0.8426 GB, free: 19.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004357/1.117, allocations: 305.3 kB / 0.8429 GB, free: 18.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009566/1.118, allocations: 357.8 kB / 0.8432 GB, free: 18.65 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.00312/1.121, allocations: 1.9 MB / 0.8451 GB, free: 16.97 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005694/1.122, allocations: 335.7 kB / 0.8454 GB, free: 16.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00784/1.13, allocations: 3.668 MB / 0.849 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.586e-05/1.13, allocations: 23.94 kB / 0.849 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/1.13, allocations: 11.84 kB / 0.849 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/1.13, allocations: 6.422 kB / 0.849 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/1.145, allocations: 7.946 MB / 0.8568 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/1.145, allocations: 0 / 0.8568 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/1.146, allocations: 235.7 kB / 0.857 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004807/1.151, allocations: 1.278 MB / 0.8583 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001635/1.151, allocations: 34.34 kB / 0.8583 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01007/1.161, allocations: 7.666 MB / 0.8658 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.161, allocations: 8.062 kB / 0.8658 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01134/1.172, allocations: 6.114 MB / 0.8718 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/1.174, allocations: 380.6 kB / 0.8721 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006201/1.174, allocations: 28 kB / 0.8722 GB, free: 7.363 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/1.176, allocations: 92.58 kB / 0.8723 GB, free: 7.273 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003901/1.176, allocations: 105.2 kB / 0.8724 GB, free: 7.168 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/1.177, allocations: 56.55 kB / 0.8724 GB, free: 7.117 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004064/1.181, allocations: 2.297 MB / 0.8747 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.7e-07/1.181, allocations: 3.938 kB / 0.8747 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004999/1.186, allocations: 0.9772 MB / 0.8756 GB, free: 3.855 MB / 0.5105 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.0004448/1.186, allocations: 175.1 kB / 0.8758 GB, free: 3.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007653/1.194, allocations: 4.958 MB / 0.8806 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/1.194, allocations: 4.188 kB / 0.8806 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002496/1.196, allocations: 1.621 MB / 0.8822 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/1.198, allocations: 367.2 kB / 0.8826 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01445/1.213, allocations: 9.704 MB / 0.892 GB, free: 3.027 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2491/1.462, allocations: 3.046 MB / 0.895 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005674/1.468, allocations: 1.814 MB / 0.8968 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006475/1.468, allocations: 221.1 kB / 0.897 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.512e-06/1.468, allocations: 0 / 0.897 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.06218/1.531, allocations: 35.41 MB / 0.9316 GB, free: 111.1 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