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.001111/0.001111, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00116/0.001161, allocations: 93.45 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2012/0.2012, allocations: 45.14 MB / 383.7 MB, free: 284 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.95e-05/1.942e-05, allocations: 4 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1259, allocations: 63.24 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4629/0.5888, allocations: 108.8 MB / 0.6106 GB, free: 10.11 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.5891, allocations: 79.02 kB / 0.6106 GB, free: 10.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.202/0.7911, allocations: 77.1 MB / 0.6859 GB, free: 5.098 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.7912, allocations: 0 / 0.6859 GB, free: 5.098 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002334/0.7914, allocations: 72 kB / 0.686 GB, free: 5.027 MB / 474.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.01348/0.8049, allocations: 3.603 MB / 0.6895 GB, free: 1.367 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.277e-05/0.805, allocations: 12.02 kB / 0.6895 GB, free: 1.355 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01816/0.8231, allocations: 4.324 MB / 0.6938 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01125/0.8344, allocations: 3.82 MB / 0.6975 GB, free: 9.137 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001971/0.8347, allocations: 116 kB / 0.6976 GB, free: 9.023 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001969/0.8367, allocations: 215.9 kB / 0.6978 GB, free: 8.812 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01132/0.848, allocations: 5.132 MB / 0.7028 GB, free: 3.676 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02028/0.8683, allocations: 8.221 MB / 0.7109 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001933/0.8686, allocations: 67.41 kB / 0.7109 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005553/0.8691, allocations: 28 kB / 0.7109 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001266/0.8704, allocations: 0.8883 MB / 0.7118 GB, free: 9.457 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3936/1.264, allocations: 43.42 MB / 0.7542 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003909/1.268, allocations: 2.631 MB / 0.7568 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002204/1.27, allocations: 1.483 MB / 0.7582 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/1.271, allocations: 0.8662 MB / 0.7591 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/1.271, allocations: 49.2 kB / 0.7591 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=160): time 4.598e-06/1.271, allocations: 0 / 0.7591 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=196): time 0.03936/1.311, allocations: 15.47 MB / 0.7742 GB, free: 111 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/1.311, allocations: 203.2 kB / 0.7744 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00382/1.315, allocations: 2.884 MB / 0.7772 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002439/1.315, allocations: 29.45 kB / 0.7773 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001434/1.316, allocations: 2.868 MB / 0.7801 GB, free: 109 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006173/1.317, allocations: 0.7216 MB / 0.7808 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/1.317, allocations: 0 / 0.7808 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002831/1.317, allocations: 0.5678 MB / 0.7813 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002248/1.32, allocations: 1.91 MB / 0.7832 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003654/1.323, allocations: 5.557 MB / 0.7886 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003749/1.327, allocations: 3.242 MB / 0.7918 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.191e-05/1.327, allocations: 39.44 kB / 0.7918 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=797) (initialization): time 0.0138/1.341, allocations: 7.875 MB / 0.7995 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.1e-05/1.341, allocations: 63.97 kB / 0.7996 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001109/1.341, allocations: 131.2 kB / 0.7997 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004578/1.346, allocations: 1.473 MB / 0.8011 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003766/1.35, allocations: 1.346 MB / 0.8024 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/1.36, allocations: 7.737 MB / 0.81 GB, free: 97.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005618/1.365, allocations: 206.7 kB / 0.8102 GB, free: 97.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001088/1.366, allocations: 366.6 kB / 0.8106 GB, free: 97.54 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 596 * 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 (729): * Single equations (assignments): 725 * 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.0009822/1.367, allocations: 437.3 kB / 0.811 GB, free: 97.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005894/1.368, allocations: 311.1 kB / 0.8113 GB, free: 97.01 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007979/1.376, allocations: 3.537 MB / 0.8147 GB, free: 95.85 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.982e-05/1.376, allocations: 22.66 kB / 0.8147 GB, free: 95.85 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/1.376, allocations: 7.906 kB / 0.8147 GB, free: 95.85 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.008e-05/1.376, allocations: 10.86 kB / 0.8148 GB, free: 95.85 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01433/1.39, allocations: 7.509 MB / 0.8221 GB, free: 93.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/1.391, allocations: 0.875 kB / 0.8221 GB, free: 93.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/1.392, allocations: 254 kB / 0.8223 GB, free: 93.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004229/1.396, allocations: 1.225 MB / 0.8235 GB, free: 92.93 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001901/1.396, allocations: 3.25 kB / 0.8235 GB, free: 92.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00883/1.405, allocations: 6.888 MB / 0.8303 GB, free: 89.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.405, allocations: 4.562 kB / 0.8303 GB, free: 89.28 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009089/1.414, allocations: 6.061 MB / 0.8362 GB, free: 84.07 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009047/1.415, allocations: 360.4 kB / 0.8365 GB, free: 83.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003161/1.415, allocations: 4 kB / 0.8365 GB, free: 83.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/1.417, allocations: 57.17 kB / 0.8366 GB, free: 83.67 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002547/1.417, allocations: 124.6 kB / 0.8367 GB, free: 83.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/1.417, allocations: 51.84 kB / 0.8368 GB, free: 83.54 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002642/1.42, allocations: 1.92 MB / 0.8386 GB, free: 81.88 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/1.42, allocations: 0 / 0.8386 GB, free: 81.88 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0046/1.424, allocations: 0.8397 MB / 0.8394 GB, free: 81.05 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (138): * Single equations (assignments): 134 * 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.0004154/1.425, allocations: 151.8 kB / 0.8396 GB, free: 80.91 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006282/1.431, allocations: 4.704 MB / 0.8442 GB, free: 76.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.431, allocations: 2.562 kB / 0.8442 GB, free: 76.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001655/1.433, allocations: 1.564 MB / 0.8457 GB, free: 75.19 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/1.434, allocations: 305.2 kB / 0.846 GB, free: 74.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/1.445, allocations: 6.792 MB / 0.8526 GB, free: 68.88 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002573/1.447, allocations: 3.042 MB / 0.8556 GB, free: 66.55 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004112/1.452, allocations: 1.908 MB / 0.8575 GB, free: 65.36 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004921/1.452, allocations: 215.3 kB / 0.8577 GB, free: 65.15 MB / 0.5261 GB Notification: Performance of SimCode: time 2.094e-06/1.452, allocations: 0 / 0.8577 GB, free: 65.15 MB / 0.5261 GB Notification: Performance of Templates: time 0.05222/1.504, allocations: 32.25 MB / 0.8892 GB, free: 37.44 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