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.001529/0.001529, 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.00169/0.00169, 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.668/1.668, allocations: 230.6 MB / 258.2 MB, free: 7.75 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.001535/0.001535, allocations: 51.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2986, allocations: 53.36 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01716/0.3158, allocations: 11.75 MB / 444.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01437/0.3302, allocations: 4.651 MB / 448.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003745/0.3339, allocations: 103.5 kB / 448.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009098/0.343, allocations: 4.058 MB / 452.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008398/0.3514, allocations: 2.191 MB / 455.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003623/0.355, allocations: 1.107 MB / 456.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01176/0.3668, allocations: 6.071 MB / 462.3 MB, free: 8.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007181/0.374, allocations: 4.061 MB / 466.3 MB, free: 4.551 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005572/0.3795, allocations: 2.189 MB / 468.5 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006784/0.3863, allocations: 3.081 MB / 471.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002303/0.3886, allocations: 0.4922 MB / 472.1 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0048/0.3934, allocations: 1.537 MB / 473.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004415/0.3979, allocations: 2.641 MB / 476.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00656/0.4044, allocations: 2.179 MB / 478.4 MB, free: 8.395 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01726/0.4217, allocations: 9.559 MB / 488 MB, free: 14.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.246e-05/0.4217, allocations: 0 / 488 MB, free: 14.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.238e-06/0.4217, allocations: 0 / 488 MB, free: 14.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005224/0.4222, allocations: 3.938 kB / 488 MB, free: 14.8 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.02236/0.4446, allocations: 6.092 MB / 494.1 MB, free: 8.641 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.169e-05/0.4446, allocations: 8.031 kB / 494.1 MB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01222/0.4569, allocations: 2.571 MB / 496.7 MB, free: 6.055 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01258/0.4694, allocations: 3.69 MB / 0.4886 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004281/0.4699, allocations: 312.3 kB / 0.4889 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002521/0.4724, allocations: 443.7 kB / 0.4894 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03141/0.5038, allocations: 12.49 MB / 0.5015 GB, free: 4.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002101/0.504, allocations: 55.59 kB / 0.5016 GB, free: 4.266 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006134/0.5046, allocations: 187.9 kB / 0.5018 GB, free: 4.082 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003663/0.5083, allocations: 2.035 MB / 0.5038 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02678/0.5351, allocations: 10.56 MB / 0.5141 GB, free: 7.469 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4068/0.9419, allocations: 40.63 MB / 0.5538 GB, free: 71.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01274/0.9546, allocations: 4.247 MB / 0.5579 GB, free: 71.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002432/0.957, allocations: 1.876 MB / 0.5597 GB, free: 70.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01179/0.9688, allocations: 5.701 MB / 0.5653 GB, free: 68.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.9689, allocations: 56.02 kB / 0.5654 GB, free: 68.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 5.109e-06/0.9689, allocations: 0 / 0.5654 GB, free: 68.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.0654/1.034, allocations: 19.69 MB / 0.5846 GB, free: 52.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/1.034, allocations: 201.9 kB / 0.5848 GB, free: 52.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005617/1.04, allocations: 4.299 MB / 0.589 GB, free: 48.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005072/1.041, allocations: 61.7 kB / 0.589 GB, free: 48.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002203/1.043, allocations: 3.664 MB / 0.5926 GB, free: 44.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001051/1.044, allocations: 0.881 MB / 0.5935 GB, free: 44.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001663/1.045, allocations: 1.349 MB / 0.5948 GB, free: 42.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.343e-05/1.046, allocations: 305.1 kB / 0.5951 GB, free: 42.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002995/1.049, allocations: 2.367 MB / 0.5974 GB, free: 40 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004944/1.053, allocations: 6.217 MB / 0.6035 GB, free: 31.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009851/1.063, allocations: 9.175 MB / 0.6124 GB, free: 20.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001578/1.063, allocations: 43.5 kB / 0.6125 GB, free: 20.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01833/1.082, allocations: 9.515 MB / 0.6218 GB, free: 11.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/1.082, allocations: 68.12 kB / 0.6218 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001457/1.082, allocations: 136 kB / 0.6219 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004049/1.086, allocations: 1.374 MB / 0.6233 GB, free: 9.801 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004959/1.091, allocations: 1.474 MB / 0.6247 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/1.102, allocations: 8.232 MB / 0.6328 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006786/1.108, allocations: 347.7 kB / 0.6331 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001584/1.11, allocations: 391.5 kB / 0.6335 GB, free: 15.28 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.006489/1.116, allocations: 2.495 MB / 0.6359 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001413/1.118, allocations: 393.4 kB / 0.6363 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009922/1.128, allocations: 4.079 MB / 0.6403 GB, free: 8.289 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.484e-05/1.128, allocations: 24 kB / 0.6403 GB, free: 8.266 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-05/1.128, allocations: 8 kB / 0.6403 GB, free: 8.258 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.268e-05/1.128, allocations: 7.969 kB / 0.6403 GB, free: 8.25 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02298/1.151, allocations: 8.615 MB / 0.6487 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.029e-05/1.151, allocations: 12.09 kB / 0.6487 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001749/1.153, allocations: 327.5 kB / 0.649 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004256/1.157, allocations: 1.152 MB / 0.6502 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003589/1.157, allocations: 44.73 kB / 0.6502 GB, free: 14.03 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01183/1.169, allocations: 6.943 MB / 0.657 GB, free: 6.984 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.177e-05/1.169, allocations: 7.938 kB / 0.657 GB, free: 6.977 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01473/1.184, allocations: 6.895 MB / 0.6637 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002137/1.186, allocations: 361.4 kB / 0.6641 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005547/1.186, allocations: 40 kB / 0.6641 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001803/1.188, allocations: 115.8 kB / 0.6642 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004447/1.189, allocations: 148.7 kB / 0.6644 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000175/1.189, allocations: 67.98 kB / 0.6644 GB, free: 15.29 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004858/1.194, allocations: 2.511 MB / 0.6669 GB, free: 12.76 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.194, allocations: 4 kB / 0.6669 GB, free: 12.76 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008272/1.202, allocations: 1.191 MB / 0.668 GB, free: 11.57 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (173): * Single equations (assignments): 169 * 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,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008387/1.203, allocations: 226 kB / 0.6683 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01144/1.214, allocations: 5.524 MB / 0.6737 GB, free: 5.828 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-05/1.214, allocations: 4.812 kB / 0.6737 GB, free: 5.824 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00336/1.218, allocations: 1.746 MB / 0.6754 GB, free: 4.066 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004015/1.222, allocations: 488.6 kB / 0.6758 GB, free: 3.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02171/1.243, allocations: 11.29 MB / 0.6869 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00531/1.249, allocations: 3.345 MB / 0.6901 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004793/1.254, allocations: 1.896 MB / 0.692 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008236/1.254, allocations: 251.4 kB / 0.6922 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of SimCode: time 9.82e-07/1.254, allocations: 0 / 0.6922 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of Templates: time 0.09483/1.349, allocations: 46.25 MB / 0.7374 GB, free: 4.961 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 -s cvode -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: 8.159411772008752]