Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009335/0.0009335, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007871/0.0007869, allocations: 86.22 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2113/0.2113, allocations: 43.48 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.054e-05/2.056e-05, allocations: 4 kB / 418.3 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1222, allocations: 58.87 MB / 477.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4849/0.6071, allocations: 106 MB / 0.5695 GB, free: 5.738 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.6075, allocations: 75.84 kB / 0.5695 GB, free: 5.703 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1997/0.8071, allocations: 75.23 MB / 0.643 GB, free: 2.613 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.8072, allocations: 0 / 0.643 GB, free: 2.613 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001602/0.8074, allocations: 76 kB / 0.6431 GB, free: 2.539 MB / 442.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.01091/0.8183, allocations: 3.593 MB / 0.6466 GB, free: 14.89 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.8184, allocations: 8.031 kB / 0.6466 GB, free: 14.88 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01827/0.8367, allocations: 4.328 MB / 0.6508 GB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01322/0.8499, allocations: 4.472 MB / 0.6552 GB, free: 6.004 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/0.8502, allocations: 119.9 kB / 0.6553 GB, free: 5.887 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001387/0.8516, allocations: 215.9 kB / 0.6555 GB, free: 5.676 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009297/0.8609, allocations: 5.136 MB / 0.6605 GB, free: 0.5352 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01285/0.8737, allocations: 8.226 MB / 0.6685 GB, free: 7.301 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000153/0.874, allocations: 67.39 kB / 0.6686 GB, free: 7.234 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004247/0.8744, allocations: 32 kB / 0.6686 GB, free: 7.203 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001309/0.8757, allocations: 0.8805 MB / 0.6695 GB, free: 6.324 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4085/1.284, allocations: 43.43 MB / 0.7119 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004076/1.288, allocations: 2.631 MB / 0.7145 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00216/1.291, allocations: 1.476 MB / 0.7159 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/1.292, allocations: 0.8734 MB / 0.7168 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/1.292, allocations: 52.08 kB / 0.7168 GB, free: 103 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=160): time 6.252e-06/1.292, allocations: 1.281 kB / 0.7168 GB, free: 103 MB / 0.4948 GB Notification: Performance of matching and sorting (n=196): time 0.03847/1.33, allocations: 15.53 MB / 0.732 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.759e-05/1.33, allocations: 206.2 kB / 0.7322 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0042/1.335, allocations: 2.901 MB / 0.735 GB, free: 100 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002926/1.335, allocations: 25.7 kB / 0.735 GB, free: 100 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001798/1.337, allocations: 2.869 MB / 0.7378 GB, free: 98.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007399/1.337, allocations: 0.7284 MB / 0.7386 GB, free: 98.17 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/1.338, allocations: 0 / 0.7386 GB, free: 98.17 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003629/1.338, allocations: 0.5651 MB / 0.7391 GB, free: 97.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002359/1.34, allocations: 1.903 MB / 0.741 GB, free: 97.84 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00426/1.345, allocations: 5.568 MB / 0.7464 GB, free: 93.08 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00387/1.348, allocations: 3.232 MB / 0.7496 GB, free: 93.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-05/1.349, allocations: 37.16 kB / 0.7496 GB, free: 93.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01517/1.364, allocations: 7.884 MB / 0.7573 GB, free: 91.35 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/1.364, allocations: 58.16 kB / 0.7573 GB, free: 91.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001775/1.364, allocations: 133.2 kB / 0.7575 GB, free: 91.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004888/1.369, allocations: 1.475 MB / 0.7589 GB, free: 91.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004702/1.374, allocations: 1.34 MB / 0.7602 GB, free: 90.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/1.384, allocations: 7.751 MB / 0.7678 GB, free: 87.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004999/1.389, allocations: 201.4 kB / 0.768 GB, free: 87.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001435/1.391, allocations: 372 kB / 0.7683 GB, free: 87.07 MB / 0.4948 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.002143/1.393, allocations: 437.5 kB / 0.7688 GB, free: 86.71 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009958/1.394, allocations: 308.6 kB / 0.769 GB, free: 86.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008958/1.403, allocations: 3.528 MB / 0.7725 GB, free: 85.39 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.437e-05/1.403, allocations: 23.56 kB / 0.7725 GB, free: 85.39 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.273e-05/1.403, allocations: 11.38 kB / 0.7725 GB, free: 85.39 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.303e-05/1.403, allocations: 13.41 kB / 0.7725 GB, free: 85.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01842/1.421, allocations: 7.515 MB / 0.7799 GB, free: 82.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.149e-05/1.421, allocations: 3.969 kB / 0.7799 GB, free: 82.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001334/1.423, allocations: 250.7 kB / 0.7801 GB, free: 82.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004374/1.427, allocations: 1.217 MB / 0.7813 GB, free: 82.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002714/1.427, allocations: 15.77 kB / 0.7813 GB, free: 82.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009757/1.437, allocations: 6.889 MB / 0.7881 GB, free: 78.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/1.437, allocations: 0 / 0.7881 GB, free: 78.15 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/1.448, allocations: 6.06 MB / 0.794 GB, free: 72.95 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002401/1.451, allocations: 0.5969 MB / 0.7946 GB, free: 72.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001232/1.452, allocations: 4 kB / 0.7946 GB, free: 72.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00228/1.454, allocations: 60.38 kB / 0.7946 GB, free: 72.34 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005035/1.455, allocations: 114.9 kB / 0.7947 GB, free: 72.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002198/1.455, allocations: 55.14 kB / 0.7948 GB, free: 72.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004801/1.46, allocations: 1.926 MB / 0.7967 GB, free: 70.55 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.81e-07/1.46, allocations: 0 / 0.7967 GB, free: 70.55 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007747/1.468, allocations: 0.8408 MB / 0.7975 GB, free: 69.72 MB / 0.4948 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.0007242/1.468, allocations: 140.7 kB / 0.7976 GB, free: 69.58 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00811/1.476, allocations: 4.713 MB / 0.8022 GB, free: 65.29 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/1.476, allocations: 0 / 0.8022 GB, free: 65.29 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002128/1.479, allocations: 1.573 MB / 0.8038 GB, free: 63.85 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/1.481, allocations: 301.9 kB / 0.804 GB, free: 63.59 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/1.497, allocations: 6.807 MB / 0.8107 GB, free: 57.53 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005648/1.503, allocations: 3.046 MB / 0.8137 GB, free: 55.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005751/1.509, allocations: 1.919 MB / 0.8155 GB, free: 54 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009626/1.51, allocations: 213.6 kB / 0.8157 GB, free: 53.79 MB / 0.4948 GB Notification: Performance of SimCode: time 2.024e-06/1.51, allocations: 0 / 0.8157 GB, free: 53.79 MB / 0.4948 GB Notification: Performance of Templates: time 0.06154/1.572, allocations: 32.23 MB / 0.8472 GB, free: 25.35 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches