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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008931/0.0008932, allocations: 97.45 kB / 15.69 MB, free: 484 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009005/0.0009004, allocations: 176.3 kB / 16.56 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.4 MB / 222.7 MB, free: 5.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.349/0.349, allocations: 43.54 MB / 314.5 MB, free: 8.746 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005026/0.0005027, allocations: 20 kB / 383.9 MB, free: 8.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1358, allocations: 58.85 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.2717/0.4076, allocations: 29.79 MB / 472.5 MB, free: 33.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0172/0.4248, allocations: 7.757 MB / 480.3 MB, free: 28.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006451/0.4313, allocations: 149.2 kB / 480.4 MB, free: 28.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003931/0.4353, allocations: 1.431 MB / 481.9 MB, free: 28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01275/0.448, allocations: 4.348 MB / 486.2 MB, free: 25.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002424/0.4505, allocations: 0.5656 MB / 486.8 MB, free: 25.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02214/0.4726, allocations: 13.86 MB / 0.4889 GB, free: 21.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006636/0.4793, allocations: 2.974 MB / 0.4918 GB, free: 20.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002128/0.4815, allocations: 0.9366 MB / 0.4927 GB, free: 20.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002084/0.4836, allocations: 1.277 MB / 0.494 GB, free: 19.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000463/0.4841, allocations: 124.2 kB / 0.4941 GB, free: 19.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002246/0.4863, allocations: 0.9219 MB / 0.495 GB, free: 19.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00177/0.4881, allocations: 1.396 MB / 0.4964 GB, free: 19.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009734/0.4891, allocations: 0.7256 MB / 0.4971 GB, free: 18.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006112/0.4952, allocations: 4.851 MB / 0.5018 GB, free: 16.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4952, allocations: 0 / 0.5018 GB, free: 16.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.4952, allocations: 0 / 0.5018 GB, free: 16.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001117/0.4954, allocations: 0 / 0.5018 GB, free: 16.64 MB / 382.1 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.008934/0.5043, allocations: 3.71 MB / 0.5054 GB, free: 14.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.5044, allocations: 17.52 kB / 0.5054 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07807/0.5824, allocations: 8.287 MB / 0.5135 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006424/0.5889, allocations: 2.599 MB / 0.5161 GB, free: 4.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.589, allocations: 192.9 kB / 0.5163 GB, free: 4.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007163/0.5898, allocations: 275.8 kB / 0.5165 GB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01451/0.6043, allocations: 8.576 MB / 0.5249 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001581/0.6045, allocations: 39.66 kB / 0.5249 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004249/0.6049, allocations: 131.9 kB / 0.5251 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003033/0.608, allocations: 1.735 MB / 0.5268 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01607/0.6241, allocations: 7.225 MB / 0.5338 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0465/0.6706, allocations: 34.06 MB / 0.5671 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008633/0.6793, allocations: 3.461 MB / 0.5705 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01434/0.6937, allocations: 7.295 MB / 0.5776 GB, free: 3.738 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/0.6938, allocations: 47.56 kB / 0.5776 GB, free: 3.684 MB / 446.1 MB Notification: Performance of pre-optimization done (n=151): time 6.552e-06/0.6938, allocations: 0 / 0.5776 GB, free: 3.684 MB / 446.1 MB Notification: Performance of matching and sorting (n=188): time 0.06776/0.7616, allocations: 19.67 MB / 0.5968 GB, free: 15.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/0.7618, allocations: 213.2 kB / 0.597 GB, free: 15.55 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006404/0.7682, allocations: 3.858 MB / 0.6008 GB, free: 11.7 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004287/0.7687, allocations: 53.7 kB / 0.6009 GB, free: 11.64 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002168/0.7708, allocations: 2.83 MB / 0.6036 GB, free: 8.773 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00118/0.772, allocations: 0.7134 MB / 0.6043 GB, free: 8.051 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/0.7723, allocations: 116 kB / 0.6044 GB, free: 7.938 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003506/0.7726, allocations: 0.55 MB / 0.605 GB, free: 7.379 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003192/0.7758, allocations: 2.073 MB / 0.607 GB, free: 5.301 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005524/0.7814, allocations: 5.601 MB / 0.6125 GB, free: 13.92 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005207/0.7866, allocations: 3.343 MB / 0.6157 GB, free: 10.58 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.08e-05/0.7867, allocations: 36 kB / 0.6158 GB, free: 10.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.02036/0.8071, allocations: 8.67 MB / 0.6242 GB, free: 1.867 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001252/0.8073, allocations: 60 kB / 0.6243 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002279/0.8075, allocations: 128 kB / 0.6244 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005187/0.8127, allocations: 1.45 MB / 0.6258 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2744/1.087, allocations: 1.297 MB / 0.6271 GB, free: 137.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/1.099, allocations: 8.879 MB / 0.6358 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004776/1.104, allocations: 306.6 kB / 0.6361 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005859/1.104, allocations: 366.4 kB / 0.6364 GB, free: 136.1 MB / 494.1 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 (695): * Single equations (assignments): 691 * 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 {(2,100.0%) 43} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003095/1.108, allocations: 1.889 MB / 0.6383 GB, free: 135.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005835/1.108, allocations: 333.8 kB / 0.6386 GB, free: 135.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007419/1.116, allocations: 3.79 MB / 0.6423 GB, free: 134 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.521e-05/1.116, allocations: 23.83 kB / 0.6423 GB, free: 134 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/1.116, allocations: 13.67 kB / 0.6423 GB, free: 134 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/1.116, allocations: 7.172 kB / 0.6423 GB, free: 134 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01462/1.13, allocations: 8.209 MB / 0.6503 GB, free: 131.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/1.13, allocations: 8.281 kB / 0.6503 GB, free: 131.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/1.132, allocations: 247.4 kB / 0.6506 GB, free: 131.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004479/1.136, allocations: 1.212 MB / 0.6518 GB, free: 130.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/1.136, allocations: 33.69 kB / 0.6518 GB, free: 130.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/1.147, allocations: 8.177 MB / 0.6598 GB, free: 127 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.148, allocations: 5.312 kB / 0.6598 GB, free: 127 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/1.16, allocations: 6.353 MB / 0.666 GB, free: 124.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001969/1.162, allocations: 0.6225 MB / 0.6666 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004084/1.162, allocations: 29 kB / 0.6666 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/1.164, allocations: 84.14 kB / 0.6667 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003377/1.164, allocations: 115.8 kB / 0.6668 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/1.164, allocations: 58.61 kB / 0.6669 GB, free: 124.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004336/1.168, allocations: 2.423 MB / 0.6692 GB, free: 123.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.168, allocations: 0 / 0.6692 GB, free: 123.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004956/1.173, allocations: 0.9867 MB / 0.6702 GB, free: 123.2 MB / 494.1 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 (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.0004339/1.174, allocations: 180.2 kB / 0.6704 GB, free: 123.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006818/1.181, allocations: 5.176 MB / 0.6754 GB, free: 121.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.181, allocations: 0 / 0.6754 GB, free: 121.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001981/1.183, allocations: 1.74 MB / 0.6771 GB, free: 120.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/1.184, allocations: 367 kB / 0.6775 GB, free: 120.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/1.196, allocations: 9.867 MB / 0.6871 GB, free: 114.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002375/1.198, allocations: 3.051 MB / 0.6901 GB, free: 112.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003623/1.202, allocations: 1.819 MB / 0.6919 GB, free: 110.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004813/1.202, allocations: 230.1 kB / 0.6921 GB, free: 110.7 MB / 494.1 MB Notification: Performance of SimCode: time 6.41e-07/1.202, allocations: 0 / 0.6921 GB, free: 110.7 MB / 494.1 MB Notification: Performance of Templates: time 0.04728/1.249, allocations: 36.23 MB / 0.7275 GB, free: 75.48 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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