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.001906/0.001906, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.002402/0.002402, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.449/1.449, allocations: 177.2 MB / 204.9 MB, free: 9.07 MB / 190.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.001616/0.001616, allocations: 46.06 kB / 325.6 MB, free: 300 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08984/0.09146, allocations: 53.35 MB / 378.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01442/0.1059, allocations: 11.75 MB / 390.7 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009871/0.1157, allocations: 4.647 MB / 395.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.1174, allocations: 107.4 kB / 395.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00754/0.1249, allocations: 4.054 MB / 399.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005102/0.13, allocations: 2.191 MB / 401.7 MB, free: 8.887 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002292/0.1323, allocations: 1.104 MB / 402.8 MB, free: 7.781 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007972/0.1403, allocations: 6.064 MB / 408.8 MB, free: 1.707 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004797/0.1451, allocations: 4.05 MB / 412.9 MB, free: 13.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003074/0.1482, allocations: 2.189 MB / 415.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004217/0.1524, allocations: 2.874 MB / 417.9 MB, free: 8.508 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009513/0.1533, allocations: 0.4999 MB / 418.4 MB, free: 8.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002764/0.1561, allocations: 1.518 MB / 419.9 MB, free: 6.488 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002607/0.1587, allocations: 2.641 MB / 422.6 MB, free: 3.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002752/0.1614, allocations: 2.172 MB / 424.8 MB, free: 1.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01098/0.1724, allocations: 9.555 MB / 434.3 MB, free: 8.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.1724, allocations: 0 / 434.3 MB, free: 8.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1724, allocations: 0 / 434.3 MB, free: 8.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002212/0.1727, allocations: 0 / 434.3 MB, free: 8.066 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.01333/0.186, allocations: 6.1 MB / 440.4 MB, free: 1.898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.186, allocations: 12.03 kB / 440.4 MB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01174/0.1978, allocations: 2.696 MB / 443.1 MB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008712/0.2065, allocations: 3.702 MB / 446.8 MB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002836/0.2068, allocations: 308.3 kB / 447.1 MB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00124/0.208, allocations: 447.6 kB / 447.6 MB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02308/0.2311, allocations: 12.5 MB / 460.1 MB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000148/0.2312, allocations: 59.58 kB / 460.1 MB, free: 13.37 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004848/0.2317, allocations: 187.9 kB / 460.3 MB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003347/0.2351, allocations: 2.031 MB / 462.3 MB, free: 11.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02231/0.2574, allocations: 10.55 MB / 472.9 MB, free: 0.5859 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2139/0.4713, allocations: 40.77 MB / 0.5016 GB, free: 48.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/0.4825, allocations: 4.396 MB / 0.5059 GB, free: 46.6 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001974/0.4845, allocations: 1.885 MB / 0.5078 GB, free: 45.56 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008111/0.4926, allocations: 5.739 MB / 0.5134 GB, free: 39.94 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.4926, allocations: 55.5 kB / 0.5134 GB, free: 39.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=179): time 4.048e-06/0.4926, allocations: 0 / 0.5134 GB, free: 39.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=223): time 0.05918/0.5518, allocations: 20.35 MB / 0.5333 GB, free: 19.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.5519, allocations: 213.8 kB / 0.5335 GB, free: 19.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004418/0.5563, allocations: 4.278 MB / 0.5377 GB, free: 15.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001678/0.5565, allocations: 57.7 kB / 0.5377 GB, free: 15.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.5578, allocations: 3.679 MB / 0.5413 GB, free: 11.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004741/0.5582, allocations: 0.877 MB / 0.5422 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00128/0.5595, allocations: 1.355 MB / 0.5435 GB, free: 9.566 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.019e-05/0.5595, allocations: 301.1 kB / 0.5438 GB, free: 9.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002653/0.5622, allocations: 2.367 MB / 0.5461 GB, free: 6.898 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004184/0.5664, allocations: 6.221 MB / 0.5522 GB, free: 14.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01113/0.5775, allocations: 9.174 MB / 0.5611 GB, free: 3.758 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-05/0.5776, allocations: 36 kB / 0.5612 GB, free: 3.723 MB / 446.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01731/0.5949, allocations: 9.522 MB / 0.5705 GB, free: 10.19 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.697e-05/0.595, allocations: 67.97 kB / 0.5705 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001386/0.5951, allocations: 132 kB / 0.5707 GB, free: 9.996 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004358/0.5995, allocations: 1.366 MB / 0.572 GB, free: 8.625 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004484/0.604, allocations: 1.474 MB / 0.5734 GB, free: 7.148 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01292/0.6169, allocations: 8.231 MB / 0.5815 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004202/0.6211, allocations: 355.6 kB / 0.5818 GB, free: 14.47 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005767/0.6217, allocations: 388 kB / 0.5822 GB, free: 14.09 MB / 478.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.003709/0.6254, allocations: 2.497 MB / 0.5846 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006436/0.626, allocations: 396 kB / 0.585 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00881/0.6348, allocations: 4.072 MB / 0.589 GB, free: 7.109 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.911e-05/0.6348, allocations: 23.94 kB / 0.589 GB, free: 7.086 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/0.6349, allocations: 8 kB / 0.589 GB, free: 7.078 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.272e-05/0.6349, allocations: 11.97 kB / 0.589 GB, free: 7.066 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01801/0.6529, allocations: 8.631 MB / 0.5974 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.686e-05/0.6529, allocations: 7.938 kB / 0.5974 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/0.6544, allocations: 331.5 kB / 0.5978 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004064/0.6585, allocations: 1.148 MB / 0.5989 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001706/0.6587, allocations: 44 kB / 0.5989 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01162/0.6703, allocations: 6.94 MB / 0.6057 GB, free: 5.793 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/0.6703, allocations: 8 kB / 0.6057 GB, free: 5.785 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01406/0.6843, allocations: 6.888 MB / 0.6124 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/0.6858, allocations: 357.2 kB / 0.6128 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009465/0.6867, allocations: 40 kB / 0.6128 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002164/0.6889, allocations: 119.8 kB / 0.6129 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004558/0.6893, allocations: 152.8 kB / 0.6131 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002192/0.6896, allocations: 63.12 kB / 0.6131 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003879/0.6934, allocations: 2.519 MB / 0.6156 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.6934, allocations: 0 / 0.6156 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005125/0.6986, allocations: 1.187 MB / 0.6168 GB, free: 10.38 MB / 0.4981 GB 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.0005066/0.6991, allocations: 222.7 kB / 0.617 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008911/0.708, allocations: 5.53 MB / 0.6224 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.708, allocations: 0 / 0.6224 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002793/0.7108, allocations: 1.755 MB / 0.6241 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/0.7135, allocations: 480.6 kB / 0.6245 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01814/0.7317, allocations: 11.29 MB / 0.6356 GB, free: 7 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004545/0.7362, allocations: 3.349 MB / 0.6388 GB, free: 3.609 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.004539/0.7408, allocations: 1.896 MB / 0.6407 GB, free: 1.707 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007783/0.7415, allocations: 260.5 kB / 0.6409 GB, free: 1.453 MB / 0.5138 GB Notification: Performance of SimCode: time 1.092e-06/0.7415, allocations: 0 / 0.6409 GB, free: 1.453 MB / 0.5138 GB Notification: Performance of Templates: time 0.2574/0.9989, allocations: 38.07 MB / 0.6781 GB, free: 187.2 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 ida -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.587755072978325]