Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001884/0.001884, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002405/0.002405, allocations: 161.7 kB / 24.27 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.364/0.364, allocations: 34.27 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.572e-06/1.572e-06, allocations: 0 / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/2.93e-05, allocations: 5.547 kB / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01272/0.01275, allocations: 9.127 MB / 386.4 MB, free: 9.789 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00923/0.02198, allocations: 3.681 MB / 390.1 MB, free: 6.094 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001599/0.02358, allocations: 71.69 kB / 390.2 MB, free: 6.023 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004637/0.02822, allocations: 2.149 MB / 392.3 MB, free: 3.867 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005078/0.03329, allocations: 1.781 MB / 394.1 MB, free: 2.078 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.03528, allocations: 0.7599 MB / 394.9 MB, free: 1.316 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.007382/0.04266, allocations: 4.402 MB / 399.3 MB, free: 12.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004001/0.04666, allocations: 2.488 MB / 401.8 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003473/0.05013, allocations: 1.972 MB / 403.7 MB, free: 8.387 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003568/0.0537, allocations: 2.003 MB / 405.7 MB, free: 6.379 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007823/0.05448, allocations: 276 kB / 406 MB, free: 6.109 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002377/0.05686, allocations: 1.135 MB / 407.1 MB, free: 4.973 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002136/0.05899, allocations: 1.776 MB / 408.9 MB, free: 3.191 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002225/0.06122, allocations: 1.075 MB / 410 MB, free: 2.113 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00925/0.07047, allocations: 6.285 MB / 416.3 MB, free: 11.81 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.07048, allocations: 0 / 416.3 MB, free: 11.81 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.07048, allocations: 0 / 416.3 MB, free: 11.81 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002089/0.07069, allocations: 4 kB / 416.3 MB, free: 11.8 MB / 394.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.01048/0.08117, allocations: 4.265 MB / 420.5 MB, free: 7.484 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.08122, allocations: 12.03 kB / 420.6 MB, free: 7.473 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01699/0.09821, allocations: 2.967 MB / 423.5 MB, free: 4.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006733/0.1049, allocations: 2.353 MB / 425.9 MB, free: 2.098 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002271/0.1052, allocations: 189.3 kB / 426.1 MB, free: 1.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001044/0.1062, allocations: 276.5 kB / 426.3 MB, free: 1.641 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01982/0.126, allocations: 8.721 MB / 435 MB, free: 8.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002195/0.1263, allocations: 47.69 kB / 435.1 MB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006403/0.1269, allocations: 123.9 kB / 435.2 MB, free: 8.102 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005004/0.1319, allocations: 1.743 MB / 437 MB, free: 6.359 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1876/0.3195, allocations: 7.318 MB / 444.3 MB, free: 94.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03358/0.353, allocations: 31.95 MB / 476.2 MB, free: 72.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00781/0.3608, allocations: 2.992 MB / 479.2 MB, free: 72.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00194/0.3628, allocations: 1.612 MB / 480.8 MB, free: 71.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01032/0.3731, allocations: 6.401 MB / 487.2 MB, free: 68.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.3731, allocations: 51.38 kB / 487.3 MB, free: 68.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=153): time 5.35e-06/0.3731, allocations: 0 / 487.3 MB, free: 68.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=190): time 0.08509/0.4582, allocations: 27.82 MB / 0.503 GB, free: 55.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.726e-05/0.4583, allocations: 197.2 kB / 0.5032 GB, free: 55.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005097/0.4634, allocations: 3.643 MB / 0.5068 GB, free: 52.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004014/0.4638, allocations: 53.7 kB / 0.5068 GB, free: 51.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001481/0.4653, allocations: 2.895 MB / 0.5097 GB, free: 49.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008677/0.4662, allocations: 0.7434 MB / 0.5104 GB, free: 48.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001914/0.4681, allocations: 1.199 MB / 0.5115 GB, free: 47.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.765e-05/0.4681, allocations: 301.1 kB / 0.5118 GB, free: 46.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002988/0.4711, allocations: 2.37 MB / 0.5141 GB, free: 44.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004078/0.4752, allocations: 5.962 MB / 0.52 GB, free: 36.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007813/0.483, allocations: 8.918 MB / 0.5287 GB, free: 26.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001138/0.4831, allocations: 36 kB / 0.5287 GB, free: 26.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=781) (initialization): time 0.01904/0.5022, allocations: 10.55 MB / 0.539 GB, free: 15.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001451/0.5023, allocations: 60 kB / 0.5391 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000188/0.5025, allocations: 124 kB / 0.5392 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009739/0.5122, allocations: 2.966 MB / 0.5421 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004146/0.5164, allocations: 1.322 MB / 0.5434 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01675/0.5331, allocations: 12.18 MB / 0.5553 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005005/0.5381, allocations: 391.5 kB / 0.5556 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001064/0.5392, allocations: 355.9 kB / 0.556 GB, free: 14.01 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 567 * 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 (710): * Single equations (assignments): 706 * 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,46,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004202/0.5434, allocations: 1.892 MB / 0.5578 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/0.5445, allocations: 373.8 kB / 0.5582 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0146/0.5591, allocations: 5.244 MB / 0.5633 GB, free: 6.477 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.296e-05/0.5592, allocations: 20 kB / 0.5633 GB, free: 6.457 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.771e-05/0.5592, allocations: 12 kB / 0.5633 GB, free: 6.445 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.404e-05/0.5592, allocations: 11.91 kB / 0.5634 GB, free: 6.434 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02478/0.584, allocations: 9.217 MB / 0.5724 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-05/0.5841, allocations: 3.938 kB / 0.5724 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/0.5856, allocations: 263.6 kB / 0.5726 GB, free: 12.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01029/0.5959, allocations: 2.733 MB / 0.5753 GB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004349/0.5963, allocations: 31.98 kB / 0.5753 GB, free: 10.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02172/0.618, allocations: 11.49 MB / 0.5865 GB, free: 14.58 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.618, allocations: 0 / 0.5865 GB, free: 14.58 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01935/0.6374, allocations: 8.175 MB / 0.5945 GB, free: 6.375 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/0.6386, allocations: 301.8 kB / 0.5948 GB, free: 6.078 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009577/0.6396, allocations: 41.64 kB / 0.5948 GB, free: 6.043 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002379/0.6419, allocations: 171.8 kB / 0.595 GB, free: 5.875 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006313/0.6426, allocations: 117 kB / 0.5951 GB, free: 5.762 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000246/0.6428, allocations: 48 kB / 0.5952 GB, free: 5.715 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004775/0.6476, allocations: 2.103 MB / 0.5972 GB, free: 3.617 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6476, allocations: 0 / 0.5972 GB, free: 3.617 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006428/0.654, allocations: 1.104 MB / 0.5983 GB, free: 2.516 MB / 458.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 (129): * Single equations (assignments): 125 * 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,39,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007837/0.6548, allocations: 166.3 kB / 0.5985 GB, free: 2.348 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.1549/0.8097, allocations: 5.56 MB / 0.6039 GB, free: 133.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/0.8097, allocations: 2.844 kB / 0.6039 GB, free: 133.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002352/0.812, allocations: 1.861 MB / 0.6057 GB, free: 133.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002268/0.8143, allocations: 361.6 kB / 0.606 GB, free: 133.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/0.8262, allocations: 8.85 MB / 0.6147 GB, free: 129.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002496/0.8287, allocations: 2.42 MB / 0.6171 GB, free: 129.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00348/0.8322, allocations: 1.775 MB / 0.6188 GB, free: 129.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005773/0.8328, allocations: 217 kB / 0.619 GB, free: 129.1 MB / 458.7 MB Notification: Performance of SimCode: time 1.362e-06/0.8328, allocations: 2.406 kB / 0.619 GB, free: 129.1 MB / 458.7 MB Notification: Performance of Templates: time 0.06656/0.8993, allocations: 39.54 MB / 0.6576 GB, free: 112.2 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 7.252516507986002]