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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007994/0.0007994, allocations: 84.44 kB / 20.69 MB, free: 3.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007601/0.0007601, allocations: 169.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7427/0.7427, allocations: 158.6 MB / 185.7 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1173/0.1173, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 408.1 MB, free: 1.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.648e-05/1.777e-05, allocations: 6.078 kB / 408.1 MB, free: 1.727 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.00673/0.006747, allocations: 9.158 MB / 417.3 MB, free: 8.523 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004495/0.01124, allocations: 3.67 MB / 420.9 MB, free: 4.84 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005692/0.01181, allocations: 71.62 kB / 421 MB, free: 4.77 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001919/0.01373, allocations: 2.129 MB / 423.1 MB, free: 2.633 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001926/0.01566, allocations: 1.804 MB / 424.9 MB, free: 0.8203 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000819/0.01647, allocations: 0.7599 MB / 425.7 MB, free: 60 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002699/0.01917, allocations: 4.175 MB / 429.9 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001622/0.0208, allocations: 2.428 MB / 432.3 MB, free: 9.387 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001738/0.02253, allocations: 1.999 MB / 434.3 MB, free: 7.383 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001556/0.02409, allocations: 2.015 MB / 436.3 MB, free: 5.363 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002795/0.02437, allocations: 268 kB / 436.6 MB, free: 5.102 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.02545, allocations: 1.139 MB / 437.7 MB, free: 3.961 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008823/0.02633, allocations: 1.796 MB / 439.5 MB, free: 2.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007223/0.02705, allocations: 1.086 MB / 440.6 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00421/0.03126, allocations: 6.32 MB / 446.9 MB, free: 10.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.03126, allocations: 4 kB / 446.9 MB, free: 10.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.03127, allocations: 0 / 446.9 MB, free: 10.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.672e-05/0.03131, allocations: 4 kB / 446.9 MB, free: 10.72 MB / 426.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.004486/0.0358, allocations: 4.276 MB / 451.2 MB, free: 6.391 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.03583, allocations: 8.031 kB / 451.2 MB, free: 6.383 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007293/0.04313, allocations: 2.502 MB / 453.7 MB, free: 3.875 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003725/0.04685, allocations: 2.404 MB / 456.1 MB, free: 1.426 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.04698, allocations: 193.3 kB / 456.3 MB, free: 1.234 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006011/0.04758, allocations: 276.5 kB / 456.6 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008876/0.05645, allocations: 8.674 MB / 465.3 MB, free: 7.645 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.719e-05/0.05653, allocations: 35.7 kB / 465.3 MB, free: 7.609 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002314/0.05676, allocations: 127.9 kB / 465.4 MB, free: 7.484 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001543/0.0583, allocations: 1.739 MB / 467.2 MB, free: 5.734 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1674/0.2257, allocations: 7.269 MB / 474.4 MB, free: 93.38 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02343/0.2491, allocations: 31.79 MB / 0.4944 GB, free: 70.92 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004813/0.254, allocations: 2.979 MB / 0.4973 GB, free: 70.12 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.2553, allocations: 1.59 MB / 0.4988 GB, free: 69.48 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007779/0.2631, allocations: 6.253 MB / 0.5049 GB, free: 66.72 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.2632, allocations: 51.06 kB / 0.505 GB, free: 66.67 MB / 442.7 MB Notification: Performance of pre-optimization done (n=151): time 5.851e-06/0.2632, allocations: 3.406 kB / 0.505 GB, free: 66.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=188): time 0.03557/0.2987, allocations: 20.03 MB / 0.5245 GB, free: 59.92 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/0.2988, allocations: 201.2 kB / 0.5247 GB, free: 59.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003081/0.3019, allocations: 3.708 MB / 0.5283 GB, free: 56.56 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003497/0.3022, allocations: 53.7 kB / 0.5284 GB, free: 56.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008972/0.3031, allocations: 2.91 MB / 0.5312 GB, free: 53.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005592/0.3037, allocations: 0.7391 MB / 0.532 GB, free: 53.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008948/0.3046, allocations: 1.195 MB / 0.5331 GB, free: 51.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.815e-05/0.3046, allocations: 305.1 kB / 0.5334 GB, free: 51.53 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/0.3064, allocations: 2.206 MB / 0.5356 GB, free: 49.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002558/0.3089, allocations: 5.813 MB / 0.5412 GB, free: 41.72 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005101/0.314, allocations: 8.593 MB / 0.5496 GB, free: 31.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.689e-05/0.3141, allocations: 36 kB / 0.5497 GB, free: 31.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.0115/0.3256, allocations: 9.136 MB / 0.5586 GB, free: 22.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.091e-05/0.3256, allocations: 56 kB / 0.5586 GB, free: 22.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000107/0.3257, allocations: 136.1 kB / 0.5588 GB, free: 22.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002889/0.3286, allocations: 1.652 MB / 0.5604 GB, free: 20.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002476/0.3311, allocations: 1.322 MB / 0.5617 GB, free: 19.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007809/0.3389, allocations: 9.693 MB / 0.5711 GB, free: 9.246 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003196/0.3421, allocations: 351.5 kB / 0.5715 GB, free: 8.902 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007196/0.3428, allocations: 363.9 kB / 0.5718 GB, free: 8.547 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * 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 (714): * Single equations (assignments): 710 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,43,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002572/0.3454, allocations: 1.896 MB / 0.5737 GB, free: 6.645 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005241/0.3459, allocations: 317.9 kB / 0.574 GB, free: 6.332 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004709/0.3506, allocations: 4.088 MB / 0.578 GB, free: 2.223 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/0.3507, allocations: 20 kB / 0.578 GB, free: 2.203 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.3507, allocations: 8 kB / 0.578 GB, free: 2.195 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.3507, allocations: 7.969 kB / 0.578 GB, free: 2.188 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/0.3615, allocations: 7.597 MB / 0.5854 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/0.3615, allocations: 3.984 kB / 0.5854 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007517/0.3623, allocations: 247.6 kB / 0.5857 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002733/0.365, allocations: 1.428 MB / 0.5871 GB, free: 8.898 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001895/0.3652, allocations: 35.98 kB / 0.5871 GB, free: 8.863 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008686/0.3739, allocations: 9.017 MB / 0.5959 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.3739, allocations: 64 / 0.5959 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007715/0.3816, allocations: 6.676 MB / 0.6024 GB, free: 9.047 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/0.3829, allocations: 0.564 MB / 0.603 GB, free: 8.48 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003658/0.3833, allocations: 35.59 kB / 0.603 GB, free: 8.449 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009715/0.3842, allocations: 123.8 kB / 0.6031 GB, free: 8.328 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002593/0.3845, allocations: 117 kB / 0.6032 GB, free: 8.215 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.868e-05/0.3846, allocations: 51.98 kB / 0.6033 GB, free: 8.164 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002567/0.3871, allocations: 2.15 MB / 0.6054 GB, free: 6.02 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3871, allocations: 3.938 kB / 0.6054 GB, free: 6.016 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003747/0.3909, allocations: 1.07 MB / 0.6064 GB, free: 4.945 MB / 474.7 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005571/0.3914, allocations: 197.7 kB / 0.6066 GB, free: 4.75 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006317/0.3978, allocations: 5.196 MB / 0.6117 GB, free: 15.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.3978, allocations: 4.125 kB / 0.6117 GB, free: 15.56 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001946/0.3997, allocations: 1.664 MB / 0.6133 GB, free: 13.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/0.4016, allocations: 348.9 kB / 0.6137 GB, free: 13.56 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01206/0.4137, allocations: 9.036 MB / 0.6225 GB, free: 4.477 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003265/0.417, allocations: 2.409 MB / 0.6248 GB, free: 2.039 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008291/0.4178, allocations: 260.5 kB / 0.6251 GB, free: 1.785 MB / 490.7 MB Notification: Performance of SimCode: time 1.232e-06/0.4178, allocations: 0 / 0.6251 GB, free: 1.785 MB / 490.7 MB Notification: Performance of Templates: time 0.2243/0.6421, allocations: 70.81 MB / 0.6942 GB, free: 145.1 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.367306290194392]