Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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.001799/0.001799, allocations: 86.22 kB / 21.44 MB, free: 296 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.002102/0.002102, allocations: 165 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 298.9 MB, free: 8.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.005e-05/3.194e-05, allocations: 2.281 kB / 299 MB, free: 8.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2): time 0.01543/0.01547, allocations: 13.12 MB / 312.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01171/0.02717, allocations: 4.613 MB / 316.7 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003779/0.03095, allocations: 111.5 kB / 316.8 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008269/0.03922, allocations: 3.258 MB / 320.1 MB, free: 3.527 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009302/0.04852, allocations: 2.722 MB / 322.8 MB, free: 0.793 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1821/0.2306, allocations: 1.101 MB / 323.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0117/0.2423, allocations: 7.337 MB / 331.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007868/0.2502, allocations: 4.121 MB / 335.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009395/0.2596, allocations: 3.408 MB / 338.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006514/0.2661, allocations: 3.598 MB / 342.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002183/0.2683, allocations: 496 kB / 342.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004984/0.2733, allocations: 1.479 MB / 344.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00455/0.2778, allocations: 3.087 MB / 347.4 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003421/0.2813, allocations: 1.882 MB / 349.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01233/0.2936, allocations: 10.62 MB / 359.9 MB, free: 15.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/0.2936, allocations: 0 / 359.9 MB, free: 15.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2936, allocations: 0 / 359.9 MB, free: 15.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004776/0.2941, allocations: 0 / 359.9 MB, free: 15.32 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.02239/0.3165, allocations: 7.442 MB / 367.3 MB, free: 7.965 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.933e-05/0.3165, allocations: 15.98 kB / 367.4 MB, free: 7.949 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01868/0.3352, allocations: 4.085 MB / 371.4 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01286/0.3481, allocations: 4.158 MB / 375.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004959/0.3486, allocations: 316 kB / 375.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002708/0.3513, allocations: 435.4 kB / 376.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03375/0.385, allocations: 15.81 MB / 392.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000341/0.3854, allocations: 57.78 kB / 392.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001825/0.3872, allocations: 207.9 kB / 392.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00593/0.3931, allocations: 3.224 MB / 395.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03167/0.4248, allocations: 14.11 MB / 409.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08665/0.5114, allocations: 53.8 MB / 463.5 MB, free: 7.109 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0159/0.5273, allocations: 5.526 MB / 469.1 MB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006606/0.5339, allocations: 3.349 MB / 472.4 MB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02724/0.5612, allocations: 12.26 MB / 484.7 MB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.018e-05/0.5613, allocations: 64.55 kB / 484.7 MB, free: 1.949 MB / 430.1 MB Notification: Performance of pre-optimization done (n=289): time 1.018e-05/0.5613, allocations: 0 / 484.7 MB, free: 1.949 MB / 430.1 MB Notification: Performance of matching and sorting (n=339): time 0.3741/0.9354, allocations: 43.58 MB / 0.5159 GB, free: 120.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.528e-05/0.9354, allocations: 214 kB / 0.5161 GB, free: 120.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00577/0.9412, allocations: 5.485 MB / 0.5215 GB, free: 114.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008831/0.9421, allocations: 73.45 kB / 0.5216 GB, free: 114.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00166/0.9438, allocations: 4.525 MB / 0.526 GB, free: 110.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001079/0.9448, allocations: 1.293 MB / 0.5272 GB, free: 109.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002143/0.947, allocations: 1.833 MB / 0.529 GB, free: 107.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.843e-05/0.947, allocations: 309.1 kB / 0.5293 GB, free: 107.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005317/0.9523, allocations: 4.792 MB / 0.534 GB, free: 102.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0069/0.9592, allocations: 9.848 MB / 0.5436 GB, free: 90.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01429/0.9735, allocations: 15.55 MB / 0.5588 GB, free: 72.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001688/0.9737, allocations: 52 kB / 0.5589 GB, free: 72.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.04354/1.017, allocations: 19.48 MB / 0.5779 GB, free: 52.58 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.803e-05/1.017, allocations: 80 kB / 0.578 GB, free: 52.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001488/1.017, allocations: 172 kB / 0.5781 GB, free: 52.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0235/1.041, allocations: 5.941 MB / 0.5839 GB, free: 46.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007666/1.049, allocations: 2.102 MB / 0.586 GB, free: 44.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02935/1.078, allocations: 25.73 MB / 0.6111 GB, free: 18.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008045/1.086, allocations: 0.6203 MB / 0.6117 GB, free: 17.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001624/1.088, allocations: 0.5151 MB / 0.6122 GB, free: 17.21 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 791 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (1094): * Single equations (assignments): 1086 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006295/1.094, allocations: 3.098 MB / 0.6152 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001881/1.096, allocations: 488.7 kB / 0.6157 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03192/1.128, allocations: 12.86 MB / 0.6283 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.081e-05/1.128, allocations: 55.98 kB / 0.6283 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.139e-05/1.128, allocations: 8 kB / 0.6283 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.643e-05/1.128, allocations: 12.52 kB / 0.6283 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3061/1.434, allocations: 22.32 MB / 0.6501 GB, free: 133.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.567e-05/1.434, allocations: 9.938 kB / 0.6501 GB, free: 133.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003436/1.438, allocations: 0.5739 MB / 0.6507 GB, free: 133.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02038/1.458, allocations: 4.977 MB / 0.6556 GB, free: 132.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008176/1.459, allocations: 61.31 kB / 0.6556 GB, free: 132.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02366/1.482, allocations: 20.93 MB / 0.6761 GB, free: 122.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.482, allocations: 7.625 kB / 0.6761 GB, free: 122.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03607/1.518, allocations: 17.4 MB / 0.6931 GB, free: 105.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004125/1.523, allocations: 1.199 MB / 0.6942 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001728/1.524, allocations: 52 kB / 0.6943 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004471/1.529, allocations: 323.2 kB / 0.6946 GB, free: 104.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009416/1.53, allocations: 204.8 kB / 0.6948 GB, free: 104.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002929/1.53, allocations: 88.77 kB / 0.6949 GB, free: 104.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005048/1.535, allocations: 3.201 MB / 0.698 GB, free: 101.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/1.535, allocations: 4 kB / 0.698 GB, free: 101.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0117/1.547, allocations: 1.898 MB / 0.6999 GB, free: 99.19 MB / 446.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 (254): * Single equations (assignments): 246 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001292/1.548, allocations: 236.1 kB / 0.7001 GB, free: 98.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01541/1.563, allocations: 10.48 MB / 0.7103 GB, free: 88.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.567e-05/1.563, allocations: 4 kB / 0.7103 GB, free: 88.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005648/1.569, allocations: 3.791 MB / 0.714 GB, free: 84.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007415/1.577, allocations: 0.5251 MB / 0.7145 GB, free: 84.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03186/1.608, allocations: 16.25 MB / 0.7304 GB, free: 68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009222/1.618, allocations: 4.133 MB / 0.7344 GB, free: 63.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.008784/1.626, allocations: 2.926 MB / 0.7373 GB, free: 60.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00257/1.629, allocations: 340.4 kB / 0.7376 GB, free: 60.64 MB / 446.1 MB Notification: Performance of SimCode: time 2.124e-06/1.629, allocations: 0 / 0.7376 GB, free: 60.64 MB / 446.1 MB Notification: Performance of Templates: time 0.2932/1.922, allocations: 74.37 MB / 0.8103 GB, free: 130.5 MB / 446.1 MB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar2/Fourbar2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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.291591256856918]