Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.001868/0.001868, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.002264/0.002264, allocations: 212.6 kB / 24.49 MB, free: 3.934 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.429/1.429, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 51.94 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2223, allocations: 53.37 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01482/0.2371, allocations: 11.74 MB / 444.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009121/0.2462, allocations: 4.659 MB / 448.7 MB, free: 6.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009976/0.2472, allocations: 103.5 kB / 448.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007467/0.2547, allocations: 4.05 MB / 452.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004347/0.259, allocations: 2.194 MB / 455.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002096/0.2611, allocations: 1.107 MB / 456.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006997/0.2681, allocations: 6.063 MB / 462.3 MB, free: 8.684 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004615/0.2727, allocations: 4.076 MB / 466.3 MB, free: 4.543 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002814/0.2756, allocations: 2.185 MB / 468.5 MB, free: 2.352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003828/0.2794, allocations: 3.089 MB / 471.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008081/0.2802, allocations: 500 kB / 472.1 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002573/0.2828, allocations: 1.537 MB / 473.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002466/0.2852, allocations: 2.638 MB / 476.3 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002306/0.2875, allocations: 2.183 MB / 478.4 MB, free: 8.387 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009848/0.2974, allocations: 9.555 MB / 488 MB, free: 14.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2974, allocations: 0 / 488 MB, free: 14.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2974, allocations: 4 kB / 488 MB, free: 14.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001247/0.2975, allocations: 7.875 kB / 488 MB, free: 14.79 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.01155/0.3091, allocations: 6.085 MB / 494.1 MB, free: 8.633 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.3091, allocations: 8.031 kB / 494.1 MB, free: 8.625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/0.3203, allocations: 2.568 MB / 496.7 MB, free: 6.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00876/0.3291, allocations: 3.694 MB / 0.4886 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002511/0.3293, allocations: 312.3 kB / 0.4889 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008623/0.3302, allocations: 447.6 kB / 0.4894 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02118/0.3514, allocations: 12.48 MB / 0.5016 GB, free: 4.312 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001343/0.3515, allocations: 59.58 kB / 0.5016 GB, free: 4.254 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004971/0.352, allocations: 187.9 kB / 0.5018 GB, free: 4.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003257/0.3553, allocations: 2.031 MB / 0.5038 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02008/0.3753, allocations: 10.56 MB / 0.5141 GB, free: 7.461 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2394/0.6147, allocations: 40.62 MB / 0.5538 GB, free: 71.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01145/0.6262, allocations: 4.251 MB / 0.5579 GB, free: 71.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001884/0.628, allocations: 1.881 MB / 0.5597 GB, free: 70.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00899/0.637, allocations: 5.694 MB / 0.5653 GB, free: 68.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.637, allocations: 55.58 kB / 0.5654 GB, free: 68.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 4.358e-06/0.6371, allocations: 0 / 0.5654 GB, free: 68.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.05749/0.6945, allocations: 19.68 MB / 0.5846 GB, free: 52.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.6946, allocations: 205.9 kB / 0.5848 GB, free: 52.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003981/0.6986, allocations: 4.286 MB / 0.589 GB, free: 48.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001464/0.6987, allocations: 68.75 kB / 0.589 GB, free: 48.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001243/0.7, allocations: 3.672 MB / 0.5926 GB, free: 44.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000477/0.7004, allocations: 0.8809 MB / 0.5935 GB, free: 44.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001287/0.7017, allocations: 1.346 MB / 0.5948 GB, free: 42.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.071e-05/0.7018, allocations: 301.1 kB / 0.5951 GB, free: 42.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00269/0.7045, allocations: 2.371 MB / 0.5974 GB, free: 40.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003848/0.7083, allocations: 6.216 MB / 0.6035 GB, free: 31.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006993/0.7153, allocations: 9.175 MB / 0.6124 GB, free: 20.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.191e-05/0.7153, allocations: 40 kB / 0.6125 GB, free: 20.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01316/0.7285, allocations: 9.53 MB / 0.6218 GB, free: 11.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.23e-05/0.7286, allocations: 60 kB / 0.6218 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.47e-05/0.7287, allocations: 139.5 kB / 0.622 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003757/0.7324, allocations: 1.37 MB / 0.6233 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00383/0.7362, allocations: 1.474 MB / 0.6247 GB, free: 8.348 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009474/0.7457, allocations: 8.236 MB / 0.6328 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003861/0.7496, allocations: 348.8 kB / 0.6331 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005151/0.7501, allocations: 396 kB / 0.6335 GB, free: 15.29 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (804): * Single equations (assignments): 800 * 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,40,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00352/0.7536, allocations: 2.486 MB / 0.6359 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005974/0.7542, allocations: 393.4 kB / 0.6363 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008893/0.7631, allocations: 4.079 MB / 0.6403 GB, free: 8.309 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.917e-05/0.7631, allocations: 11.91 kB / 0.6403 GB, free: 8.297 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.7631, allocations: 0 / 0.6403 GB, free: 8.297 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006871/0.7638, allocations: 353.2 kB / 0.6406 GB, free: 7.949 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004471/0.7643, allocations: 36 kB / 0.6406 GB, free: 7.914 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/0.7658, allocations: 111 kB / 0.6408 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003324/0.7661, allocations: 157.6 kB / 0.6409 GB, free: 7.652 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00957/0.7757, allocations: 4.537 MB / 0.6453 GB, free: 3.148 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008204/0.7839, allocations: 5.775 MB / 0.651 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002083/0.786, allocations: 1.414 MB / 0.6524 GB, free: 11.94 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003973/0.79, allocations: 2.515 MB / 0.6548 GB, free: 9.41 MB / 478.1 MB Notification: Performance of Backend: time 5.11e-07/0.79, allocations: 0 / 0.6548 GB, free: 9.41 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009491/0.7994, allocations: 4.537 MB / 0.6592 GB, free: 4.902 MB / 478.1 MB Notification: Performance of SimCode: time 0.01811/0.8176, allocations: 11.09 MB / 0.6701 GB, free: 9.75 MB / 494.1 MB Notification: Performance of Templates: time 0.1053/0.9229, allocations: 59.85 MB / 0.7285 GB, free: 14.48 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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: 6.615359183997498]