Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005571/0.005571, allocations: 145.8 kB / 24.68 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8529/0.8529, allocations: 173.4 MB / 201.2 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.915e-06/2.915e-06, allocations: 4 kB / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.504e-05, allocations: 2.281 kB / 319.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.008708/0.008733, allocations: 11.78 MB / 331.5 MB, free: 10 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006514/0.01525, allocations: 4.643 MB / 336.1 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000943/0.01619, allocations: 107.4 kB / 336.2 MB, free: 5.238 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003404/0.01959, allocations: 4.295 MB / 340.5 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002902/0.0225, allocations: 2.278 MB / 342.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.02392, allocations: 1.215 MB / 344 MB, free: 13.42 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005018/0.02894, allocations: 6.642 MB / 350.7 MB, free: 6.77 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00312/0.03206, allocations: 4.587 MB / 355.2 MB, free: 2.113 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002806/0.03486, allocations: 3.286 MB / 358.5 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002566/0.03743, allocations: 3.11 MB / 361.6 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005697/0.038, allocations: 0.5039 MB / 362.1 MB, free: 11.2 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/0.03976, allocations: 1.584 MB / 363.7 MB, free: 9.613 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001514/0.04127, allocations: 2.786 MB / 366.5 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001312/0.04258, allocations: 1.757 MB / 368.3 MB, free: 5.059 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006334/0.04892, allocations: 9.756 MB / 378 MB, free: 11.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.04892, allocations: 0 / 378 MB, free: 11.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.04892, allocations: 4 kB / 378 MB, free: 11.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001139/0.04904, allocations: 0 / 378 MB, free: 11.27 MB / 346.7 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.006745/0.05578, allocations: 6.166 MB / 384.2 MB, free: 5.035 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.05582, allocations: 8.922 kB / 384.2 MB, free: 5.027 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00543/0.06125, allocations: 2.661 MB / 386.9 MB, free: 2.359 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004347/0.0656, allocations: 3.682 MB / 390.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.06574, allocations: 308.3 kB / 390.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005183/0.06626, allocations: 436.4 kB / 391.3 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01261/0.07887, allocations: 12.51 MB / 403.8 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.062e-05/0.07896, allocations: 47.58 kB / 403.8 MB, free: 0.582 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003283/0.07929, allocations: 187.9 kB / 404 MB, free: 408 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001737/0.08103, allocations: 2.035 MB / 406 MB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01213/0.09316, allocations: 10.56 MB / 416.6 MB, free: 3.781 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1931/0.2862, allocations: 40.99 MB / 457.6 MB, free: 91.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008766/0.295, allocations: 4.394 MB / 462 MB, free: 91.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001543/0.2966, allocations: 1.884 MB / 463.9 MB, free: 91.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006047/0.3026, allocations: 5.914 MB / 469.8 MB, free: 88.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.3026, allocations: 53.88 kB / 469.8 MB, free: 88.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 3.427e-06/0.3026, allocations: 4.844 kB / 469.8 MB, free: 88.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=223): time 0.03361/0.3362, allocations: 20.58 MB / 490.4 MB, free: 72.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.3363, allocations: 205.9 kB / 490.6 MB, free: 71.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003897/0.3402, allocations: 4.467 MB / 495.1 MB, free: 67.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.3403, allocations: 57.7 kB / 495.2 MB, free: 67.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.3414, allocations: 3.649 MB / 498.8 MB, free: 63.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004611/0.3418, allocations: 0.8636 MB / 499.7 MB, free: 63.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001/0.3428, allocations: 1.338 MB / 0.4893 GB, free: 61.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.228e-05/0.3429, allocations: 305.1 kB / 0.4896 GB, free: 61.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002057/0.3449, allocations: 2.359 MB / 0.4919 GB, free: 59.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00298/0.3479, allocations: 6.217 MB / 0.4979 GB, free: 51.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005646/0.3535, allocations: 9.177 MB / 0.5069 GB, free: 40.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.404e-05/0.3536, allocations: 40 kB / 0.5069 GB, free: 40.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.009054/0.3626, allocations: 9.507 MB / 0.5162 GB, free: 30.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.601e-05/0.3627, allocations: 63.98 kB / 0.5163 GB, free: 30.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.665e-05/0.3628, allocations: 132 kB / 0.5164 GB, free: 30.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002133/0.3649, allocations: 1.364 MB / 0.5177 GB, free: 29.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/0.3672, allocations: 1.478 MB / 0.5192 GB, free: 27.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006523/0.3737, allocations: 8.279 MB / 0.5273 GB, free: 19.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002929/0.3766, allocations: 403.5 kB / 0.5276 GB, free: 18.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003126/0.3769, allocations: 391.8 kB / 0.528 GB, free: 18.47 MB / 410.7 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.002695/0.3796, allocations: 2.489 MB / 0.5304 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004501/0.3801, allocations: 385.4 kB / 0.5308 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004186/0.3842, allocations: 4.075 MB / 0.5348 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.3843, allocations: 27.94 kB / 0.5348 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.3843, allocations: 8 kB / 0.5348 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.3843, allocations: 11.97 kB / 0.5348 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009704/0.394, allocations: 8.735 MB / 0.5434 GB, free: 2.645 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/0.394, allocations: 4 kB / 0.5434 GB, free: 2.641 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007049/0.3947, allocations: 327.5 kB / 0.5437 GB, free: 2.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001808/0.3965, allocations: 1.152 MB / 0.5448 GB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/0.3966, allocations: 43.98 kB / 0.5449 GB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006614/0.4032, allocations: 6.967 MB / 0.5517 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.4032, allocations: 8.75 kB / 0.5517 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0075/0.4107, allocations: 6.867 MB / 0.5584 GB, free: 3.098 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009254/0.4117, allocations: 404.9 kB / 0.5588 GB, free: 2.703 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000284/0.412, allocations: 47.92 kB / 0.5588 GB, free: 2.656 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009734/0.4129, allocations: 159.8 kB / 0.559 GB, free: 2.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002197/0.4131, allocations: 148.9 kB / 0.5591 GB, free: 2.355 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.886e-05/0.4132, allocations: 63.98 kB / 0.5592 GB, free: 2.293 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002941/0.4162, allocations: 2.648 MB / 0.5617 GB, free: 15.63 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4162, allocations: 0 / 0.5617 GB, free: 15.63 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003874/0.4201, allocations: 1.347 MB / 0.5631 GB, free: 14.29 MB / 442.7 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.0005287/0.4206, allocations: 266.5 kB / 0.5633 GB, free: 14.02 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006128/0.4267, allocations: 5.513 MB / 0.5687 GB, free: 8.527 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.4267, allocations: 4 kB / 0.5687 GB, free: 8.523 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001677/0.4284, allocations: 1.747 MB / 0.5704 GB, free: 6.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/0.4302, allocations: 489.6 kB / 0.5709 GB, free: 6.293 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01543/0.4456, allocations: 11.72 MB / 0.5823 GB, free: 10.46 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003042/0.4486, allocations: 3.328 MB / 0.5856 GB, free: 7.09 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009307/0.4496, allocations: 316.4 kB / 0.5859 GB, free: 6.777 MB / 458.7 MB Notification: Performance of SimCode: time 2.004e-06/0.4496, allocations: 0 / 0.5859 GB, free: 6.777 MB / 458.7 MB Notification: Performance of Templates: time 0.236/0.6856, allocations: 92.5 MB / 0.6762 GB, free: 138 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 9.677234599366784]