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.001355/0.001355, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001406/0.001406, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 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.39/1.39, allocations: 230.6 MB / 258.2 MB, free: 7.781 MB / 206.1 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.2185/0.2185, allocations: 46.96 MB / 361.6 MB, free: 4.043 MB / 286.1 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 0.002012/0.002012, allocations: 71.89 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3594, allocations: 66.03 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01252/0.3719, allocations: 9.099 MB / 0.5707 GB, free: 11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008516/0.3804, allocations: 3.697 MB / 0.5743 GB, free: 7.293 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002073/0.3825, allocations: 71.69 kB / 0.5744 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004775/0.3873, allocations: 2.028 MB / 0.5764 GB, free: 5.188 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004786/0.3921, allocations: 1.724 MB / 0.578 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.3937, allocations: 0.7018 MB / 0.5787 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005678/0.3994, allocations: 4.001 MB / 0.5826 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002843/0.4023, allocations: 2.156 MB / 0.5847 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002239/0.4045, allocations: 1.328 MB / 0.586 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002962/0.4075, allocations: 2.009 MB / 0.588 GB, free: 9.188 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006334/0.4081, allocations: 264 kB / 0.5883 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002095/0.4102, allocations: 1.092 MB / 0.5893 GB, free: 7.836 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001834/0.412, allocations: 1.702 MB / 0.591 GB, free: 6.129 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001685/0.4137, allocations: 1.39 MB / 0.5923 GB, free: 4.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00763/0.4213, allocations: 6.205 MB / 0.5984 GB, free: 14.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4214, allocations: 0 / 0.5984 GB, free: 14.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.586e-06/0.4214, allocations: 8 kB / 0.5984 GB, free: 14.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001315/0.4215, allocations: 0 / 0.5984 GB, free: 14.5 MB / 446.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.00848/0.43, allocations: 4.237 MB / 0.6025 GB, free: 10.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.43, allocations: 15.97 kB / 0.6026 GB, free: 10.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01525/0.4453, allocations: 2.459 MB / 0.605 GB, free: 7.723 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006452/0.4517, allocations: 2.346 MB / 0.6073 GB, free: 5.316 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/0.4519, allocations: 201.3 kB / 0.6074 GB, free: 5.117 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007235/0.4526, allocations: 279.8 kB / 0.6077 GB, free: 4.844 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01593/0.4685, allocations: 8.666 MB / 0.6162 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001105/0.4687, allocations: 39.69 kB / 0.6162 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003501/0.469, allocations: 127.8 kB / 0.6163 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002992/0.472, allocations: 1.739 MB / 0.618 GB, free: 9.621 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01453/0.4865, allocations: 7.272 MB / 0.6251 GB, free: 2.344 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04961/0.5361, allocations: 31.58 MB / 0.656 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008987/0.5451, allocations: 2.897 MB / 0.6588 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002376/0.5475, allocations: 1.588 MB / 0.6604 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01225/0.5597, allocations: 6.093 MB / 0.6663 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.853e-05/0.5598, allocations: 59.48 kB / 0.6664 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=151): time 4.289e-06/0.5598, allocations: 0 / 0.6664 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of matching and sorting (n=188): time 0.0644/0.6242, allocations: 19.54 MB / 0.6854 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.6243, allocations: 197.5 kB / 0.6856 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004651/0.629, allocations: 3.562 MB / 0.6891 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002524/0.6293, allocations: 53.7 kB / 0.6892 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002269/0.6315, allocations: 2.938 MB / 0.692 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008133/0.6323, allocations: 0.752 MB / 0.6928 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001665/0.634, allocations: 1.211 MB / 0.6939 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.6341, allocations: 305.1 kB / 0.6942 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003354/0.6375, allocations: 2.206 MB / 0.6964 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006526/0.644, allocations: 5.828 MB / 0.7021 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01125/0.6553, allocations: 8.606 MB / 0.7105 GB, free: 6.164 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001248/0.6554, allocations: 36 kB / 0.7105 GB, free: 6.129 MB / 0.545 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02283/0.6782, allocations: 9.143 MB / 0.7195 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.6783, allocations: 64.03 kB / 0.7195 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002053/0.6785, allocations: 124 kB / 0.7196 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006369/0.6849, allocations: 1.653 MB / 0.7212 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004896/0.6898, allocations: 1.329 MB / 0.7225 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01608/0.7059, allocations: 9.678 MB / 0.732 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2628/0.9687, allocations: 312.8 kB / 0.7323 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/0.9697, allocations: 366.8 kB / 0.7326 GB, free: 151.1 MB / 0.5606 GB 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.003201/0.9729, allocations: 1.895 MB / 0.7345 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005302/0.9734, allocations: 316.7 kB / 0.7348 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008161/0.9816, allocations: 4.097 MB / 0.7388 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.19e-05/0.9816, allocations: 19.16 kB / 0.7388 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-05/0.9816, allocations: 7.812 kB / 0.7388 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.742e-05/0.9817, allocations: 7.594 kB / 0.7388 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01437/0.996, allocations: 7.507 MB / 0.7462 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.041e-05/0.9961, allocations: 0 / 0.7462 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/0.9974, allocations: 253.5 kB / 0.7464 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004803/1.002, allocations: 1.428 MB / 0.7478 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002063/1.002, allocations: 38.77 kB / 0.7478 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01046/1.013, allocations: 8.968 MB / 0.7566 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/1.013, allocations: 3.938 kB / 0.7566 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009775/1.023, allocations: 6.719 MB / 0.7632 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008588/1.023, allocations: 272.6 kB / 0.7634 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003403/1.024, allocations: 31.88 kB / 0.7634 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/1.025, allocations: 95.31 kB / 0.7635 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000319/1.025, allocations: 121.1 kB / 0.7637 GB, free: 134 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/1.025, allocations: 53.84 kB / 0.7637 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002218/1.028, allocations: 2.04 MB / 0.7657 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.028, allocations: 0 / 0.7657 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004002/1.032, allocations: 0.9697 MB / 0.7666 GB, free: 130.9 MB / 0.5606 GB 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.0004319/1.032, allocations: 164.2 kB / 0.7668 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00642/1.039, allocations: 5.217 MB / 0.7719 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/1.039, allocations: 0 / 0.7719 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001877/1.04, allocations: 1.676 MB / 0.7735 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/1.042, allocations: 338.4 kB / 0.7739 GB, free: 123.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/1.054, allocations: 8.708 MB / 0.7824 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002212/1.056, allocations: 2.417 MB / 0.7847 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003175/1.059, allocations: 1.773 MB / 0.7865 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004855/1.06, allocations: 207.4 kB / 0.7866 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.252e-06/1.06, allocations: 2.297 kB / 0.7867 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.05522/1.115, allocations: 39.52 MB / 0.8252 GB, free: 71.49 MB / 0.5606 GB " [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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins1/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.021090098001878]