Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001518/0.001518, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001982/0.001982, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.002/1.002, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2729/0.2729, allocations: 34.86 MB / 296.3 MB, free: 0.5352 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 0 / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.677e-05/3.906e-05, allocations: 2.312 kB / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01292/0.01296, allocations: 10.04 MB / 388.8 MB, free: 8.004 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006708/0.01967, allocations: 3.802 MB / 392.6 MB, free: 4.191 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.02078, allocations: 71.62 kB / 392.7 MB, free: 4.121 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00251/0.02329, allocations: 2.219 MB / 394.9 MB, free: 1.895 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003412/0.0267, allocations: 1.781 MB / 396.7 MB, free: 108 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.02796, allocations: 0.7677 MB / 397.5 MB, free: 15.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004414/0.03237, allocations: 4.397 MB / 401.8 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002865/0.03524, allocations: 2.511 MB / 404.4 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003267/0.0385, allocations: 2.456 MB / 406.8 MB, free: 5.902 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002511/0.04102, allocations: 2.018 MB / 408.8 MB, free: 3.879 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007949/0.04181, allocations: 275.9 kB / 409.1 MB, free: 3.609 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00194/0.04375, allocations: 1.123 MB / 410.2 MB, free: 2.484 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001622/0.04537, allocations: 1.784 MB / 412 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001797/0.04717, allocations: 1.079 MB / 413.1 MB, free: 15.61 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00507/0.05224, allocations: 4.243 MB / 417.3 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.05224, allocations: 0 / 417.3 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.05225, allocations: 0 / 417.3 MB, free: 11.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001055/0.05235, allocations: 0 / 417.3 MB, free: 11.36 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.006599/0.05895, allocations: 4.634 MB / 422 MB, free: 6.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.05899, allocations: 8.031 kB / 422 MB, free: 6.652 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01051/0.0695, allocations: 2.881 MB / 424.9 MB, free: 3.766 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003309/0.07281, allocations: 2.024 MB / 426.9 MB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.07294, allocations: 189.3 kB / 427.1 MB, free: 1.496 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004939/0.07343, allocations: 284.4 kB / 427.3 MB, free: 1.219 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00813/0.08156, allocations: 5.32 MB / 432.7 MB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.343e-05/0.08165, allocations: 39.69 kB / 432.7 MB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008105/0.08246, allocations: 123.9 kB / 432.8 MB, free: 10.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001965/0.08443, allocations: 1.684 MB / 434.5 MB, free: 9.188 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007423/0.09185, allocations: 2.724 MB / 437.2 MB, free: 6.453 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1971/0.289, allocations: 37.59 MB / 474.8 MB, free: 59.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004237/0.2932, allocations: 1.739 MB / 476.6 MB, free: 59.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008111/0.294, allocations: 0.4974 MB / 477.1 MB, free: 59.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005415/0.2995, allocations: 3.889 MB / 481 MB, free: 57.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.2995, allocations: 60.61 kB / 481 MB, free: 57.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=137): time 5.891e-06/0.2995, allocations: 0 / 481 MB, free: 57.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=169): time 0.0234/0.3229, allocations: 11.75 MB / 492.8 MB, free: 54.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.3229, allocations: 195.6 kB / 492.9 MB, free: 54.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003655/0.3266, allocations: 3.399 MB / 496.3 MB, free: 52.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002519/0.3269, allocations: 51.05 kB / 496.4 MB, free: 52.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001448/0.3283, allocations: 3.133 MB / 499.5 MB, free: 50.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005683/0.3289, allocations: 0.7065 MB / 0.4885 GB, free: 49.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001232/0.3301, allocations: 1.295 MB / 0.4898 GB, free: 49.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.085e-05/0.3301, allocations: 480.7 kB / 0.4902 GB, free: 48.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/0.3314, allocations: 0.6659 MB / 0.4909 GB, free: 48.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00297/0.3344, allocations: 6.178 MB / 0.4969 GB, free: 41.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00573/0.3401, allocations: 7.506 MB / 0.5042 GB, free: 32.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001889/0.3403, allocations: 41.22 kB / 0.5043 GB, free: 32.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.009881/0.3502, allocations: 5.647 MB / 0.5098 GB, free: 30.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.438e-05/0.3503, allocations: 66.97 kB / 0.5099 GB, free: 30.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001358/0.3504, allocations: 129.8 kB / 0.51 GB, free: 30.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002264/0.3527, allocations: 0.9023 MB / 0.5109 GB, free: 30.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003158/0.3558, allocations: 1.344 MB / 0.5122 GB, free: 30.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004499/0.3603, allocations: 3.924 MB / 0.516 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003949/0.3643, allocations: 358.4 kB / 0.5164 GB, free: 27.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006572/0.3649, allocations: 361.4 kB / 0.5167 GB, free: 27.88 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * 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 (730): * Single equations (assignments): 726 * 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,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001518/0.3665, allocations: 0.6469 MB / 0.5173 GB, free: 27.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005826/0.367, allocations: 367.7 kB / 0.5177 GB, free: 27.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002859/0.3699, allocations: 1.628 MB / 0.5193 GB, free: 26.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/0.3699, allocations: 21.25 kB / 0.5193 GB, free: 26.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.3699, allocations: 6.281 kB / 0.5193 GB, free: 26.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.3699, allocations: 6.891 kB / 0.5193 GB, free: 26.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008203/0.3781, allocations: 4.809 MB / 0.524 GB, free: 22.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.3782, allocations: 3.25 kB / 0.524 GB, free: 22.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006343/0.3788, allocations: 236.4 kB / 0.5242 GB, free: 22.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001864/0.3807, allocations: 0.7191 MB / 0.5249 GB, free: 22.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.3808, allocations: 24 kB / 0.525 GB, free: 22.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003197/0.384, allocations: 3.455 MB / 0.5283 GB, free: 19.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.384, allocations: 4 kB / 0.5283 GB, free: 19.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003524/0.3875, allocations: 2.644 MB / 0.5309 GB, free: 16.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005879/0.3881, allocations: 297.3 kB / 0.5312 GB, free: 16.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/0.3883, allocations: 27.14 kB / 0.5312 GB, free: 16.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006586/0.3889, allocations: 109.9 kB / 0.5313 GB, free: 16.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.3891, allocations: 102.3 kB / 0.5314 GB, free: 16.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.535e-05/0.3892, allocations: 47.33 kB / 0.5315 GB, free: 16.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001585/0.3908, allocations: 1.428 MB / 0.5329 GB, free: 14.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3908, allocations: 3.938 kB / 0.5329 GB, free: 14.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004262/0.395, allocations: 0.9551 MB / 0.5338 GB, free: 14.03 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (122): * Single equations (assignments): 118 * 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,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004335/0.3955, allocations: 178.9 kB / 0.534 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004273/0.3997, allocations: 3.031 MB / 0.5369 GB, free: 11.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.3998, allocations: 0 / 0.5369 GB, free: 11.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007496/0.4005, allocations: 0.7879 MB / 0.5377 GB, free: 10.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.4018, allocations: 359.5 kB / 0.538 GB, free: 10.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007645/0.4095, allocations: 6.572 MB / 0.5445 GB, free: 4.035 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007682/0.4103, allocations: 1.091 MB / 0.5455 GB, free: 3.242 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002089/0.4123, allocations: 1.561 MB / 0.5471 GB, free: 1.914 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003265/0.4127, allocations: 204.5 kB / 0.5473 GB, free: 1.715 MB / 410.7 MB Notification: Performance of SimCode: time 1.994e-06/0.4127, allocations: 0 / 0.5473 GB, free: 1.715 MB / 410.7 MB Notification: Performance of Templates: time 0.04619/0.4589, allocations: 29.85 MB / 0.5764 GB, free: 4.418 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.354541500099003]