Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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.00179/0.00179, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 14.72 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.002107/0.002107, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 14.72 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 1.527/1.527, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.1 MB " [Timeout remaining time 178] 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.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 51.92 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2884, allocations: 52.14 MB / 420.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2): time 0.01874/0.3071, allocations: 15.12 MB / 436 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01194/0.3191, allocations: 4.861 MB / 440.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002846/0.3219, allocations: 91.75 kB / 440.9 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006368/0.3283, allocations: 3.22 MB / 444.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007363/0.3356, allocations: 2.627 MB / 446.8 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002327/0.338, allocations: 0.9827 MB / 447.8 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01011/0.3481, allocations: 6.981 MB / 454.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00489/0.353, allocations: 3.213 MB / 458 MB, free: 9.875 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004238/0.3572, allocations: 2.231 MB / 460.2 MB, free: 7.637 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005461/0.3627, allocations: 3.52 MB / 463.7 MB, free: 4.105 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001329/0.364, allocations: 484 kB / 464.2 MB, free: 3.633 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003197/0.3672, allocations: 1.549 MB / 465.7 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003471/0.3707, allocations: 2.941 MB / 468.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004428/0.3751, allocations: 3.246 MB / 471.9 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01388/0.389, allocations: 10.48 MB / 482.4 MB, free: 1.348 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.389, allocations: 8 kB / 482.4 MB, free: 1.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.389, allocations: 0 / 482.4 MB, free: 1.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002775/0.3893, allocations: 0 / 482.4 MB, free: 1.34 MB / 382.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.01871/0.408, allocations: 7.474 MB / 489.9 MB, free: 9.773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.408, allocations: 16.02 kB / 489.9 MB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01603/0.424, allocations: 3.974 MB / 493.9 MB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01025/0.4343, allocations: 4.186 MB / 498.1 MB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003438/0.4346, allocations: 316.4 kB / 498.4 MB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001926/0.4366, allocations: 431.7 kB / 498.8 MB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03109/0.4676, allocations: 15.72 MB / 0.5025 GB, free: 148 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002546/0.4679, allocations: 67.45 kB / 0.5025 GB, free: 80 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001044/0.4689, allocations: 199.9 kB / 0.5027 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005372/0.4743, allocations: 3.22 MB / 0.5059 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02958/0.5039, allocations: 14.13 MB / 0.5196 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3121/0.816, allocations: 57.6 MB / 0.5759 GB, free: 62.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01174/0.8278, allocations: 6.249 MB / 0.582 GB, free: 59.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003785/0.8315, allocations: 3.329 MB / 0.5853 GB, free: 57.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01734/0.8489, allocations: 14.66 MB / 0.5996 GB, free: 43.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/0.8489, allocations: 60.03 kB / 0.5996 GB, free: 43.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=289): time 6.141e-06/0.8489, allocations: 3.938 kB / 0.5996 GB, free: 43.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=339): time 0.1263/0.9753, allocations: 42.65 MB / 0.6413 GB, free: 1.246 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/0.9753, allocations: 213.3 kB / 0.6415 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007804/0.9832, allocations: 5.489 MB / 0.6468 GB, free: 11.63 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007365/0.9839, allocations: 73.7 kB / 0.6469 GB, free: 11.55 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003567/0.9875, allocations: 4.536 MB / 0.6513 GB, free: 7.199 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001839/0.9893, allocations: 1.314 MB / 0.6526 GB, free: 5.875 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003046/0.9923, allocations: 1.861 MB / 0.6544 GB, free: 4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.9925, allocations: 313.1 kB / 0.6547 GB, free: 3.691 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00755/1, allocations: 4.804 MB / 0.6594 GB, free: 14.88 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01235/1.012, allocations: 9.805 MB / 0.669 GB, free: 2.637 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02178/1.034, allocations: 15.57 MB / 0.6842 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001373/1.034, allocations: 48 kB / 0.6843 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of matching and sorting (n=1189) (initialization): time 0.04712/1.081, allocations: 19.55 MB / 0.7034 GB, free: 12.95 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001219/1.082, allocations: 80 kB / 0.7034 GB, free: 12.88 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000224/1.082, allocations: 172.1 kB / 0.7036 GB, free: 12.71 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02264/1.104, allocations: 5.941 MB / 0.7094 GB, free: 6.754 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008215/1.113, allocations: 2.117 MB / 0.7115 GB, free: 4.633 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2649/1.378, allocations: 26.15 MB / 0.737 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007783/1.385, allocations: 0.5608 MB / 0.7375 GB, free: 174.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001923/1.387, allocations: 0.5098 MB / 0.738 GB, free: 174.7 MB / 0.5294 GB 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 (1098): * Single equations (assignments): 1090 * 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.005831/1.393, allocations: 3.095 MB / 0.7411 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/1.394, allocations: 0.5193 MB / 0.7416 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02779/1.422, allocations: 12.9 MB / 0.7542 GB, free: 169.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000108/1.422, allocations: 60.84 kB / 0.7542 GB, free: 169.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.812e-05/1.422, allocations: 13.97 kB / 0.7542 GB, free: 169.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.334e-05/1.422, allocations: 13.5 kB / 0.7543 GB, free: 169.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04517/1.467, allocations: 24.47 MB / 0.7782 GB, free: 152.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.275e-05/1.467, allocations: 8 kB / 0.7782 GB, free: 152.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003165/1.471, allocations: 0.5768 MB / 0.7787 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01758/1.488, allocations: 4.972 MB / 0.7836 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007475/1.489, allocations: 70.05 kB / 0.7836 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02169/1.511, allocations: 21.34 MB / 0.8045 GB, free: 125.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/1.511, allocations: 17.31 kB / 0.8045 GB, free: 125.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03017/1.541, allocations: 17.45 MB / 0.8215 GB, free: 108.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/1.542, allocations: 0.5603 MB / 0.8221 GB, free: 107.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001023/1.543, allocations: 55.98 kB / 0.8221 GB, free: 107.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002681/1.546, allocations: 263.2 kB / 0.8224 GB, free: 107.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007791/1.547, allocations: 193.6 kB / 0.8226 GB, free: 107.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002719/1.547, allocations: 87.98 kB / 0.8227 GB, free: 107.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004029/1.551, allocations: 3.398 MB / 0.826 GB, free: 103.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.551, allocations: 0 / 0.826 GB, free: 103.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006893/1.558, allocations: 1.762 MB / 0.8277 GB, free: 102.2 MB / 0.5294 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 (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.0006127/1.559, allocations: 211 kB / 0.8279 GB, free: 102 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01318/1.572, allocations: 10.49 MB / 0.8382 GB, free: 91.55 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/1.572, allocations: 0 / 0.8382 GB, free: 91.55 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004604/1.576, allocations: 3.795 MB / 0.8419 GB, free: 87.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003512/1.58, allocations: 0.6113 MB / 0.8425 GB, free: 87.15 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02076/1.601, allocations: 16.37 MB / 0.8584 GB, free: 70.71 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00388/1.605, allocations: 4.62 MB / 0.863 GB, free: 66.05 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006132/1.611, allocations: 2.966 MB / 0.8658 GB, free: 63.08 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001181/1.612, allocations: 359.4 kB / 0.8662 GB, free: 62.73 MB / 0.5294 GB Notification: Performance of SimCode: time 1.994e-06/1.612, allocations: 0 / 0.8662 GB, free: 62.73 MB / 0.5294 GB Notification: Performance of Templates: time 0.3578/1.97, allocations: 76.68 MB / 0.9411 GB, free: 183 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar2/Fourbar2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.354044427163899]