Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001389/0.001389, allocations: 121.5 kB / 18.45 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001413/0.001413, allocations: 201.8 kB / 21.4 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.558/1.558, allocations: 227.4 MB / 251.6 MB, free: 48 kB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 71.88 kB / 365.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09223/0.0941, allocations: 50.55 MB / 416 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2): time 0.01688/0.111, allocations: 14.98 MB / 431 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01038/0.1214, allocations: 4.815 MB / 435.8 MB, free: 9.379 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002266/0.1237, allocations: 91.75 kB / 435.9 MB, free: 9.289 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006252/0.13, allocations: 3.161 MB / 439.1 MB, free: 6.117 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006661/0.1367, allocations: 2.512 MB / 441.6 MB, free: 3.598 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002297/0.139, allocations: 0.9827 MB / 442.6 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2097/0.3488, allocations: 7.033 MB / 449.6 MB, free: 7.375 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00665/0.3554, allocations: 4.331 MB / 453.9 MB, free: 6.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005799/0.3613, allocations: 2.214 MB / 456.2 MB, free: 6.707 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008982/0.3703, allocations: 3.229 MB / 459.4 MB, free: 6.371 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002781/0.3731, allocations: 482.2 kB / 459.9 MB, free: 6.371 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005278/0.3784, allocations: 1.472 MB / 461.3 MB, free: 6.371 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005342/0.3838, allocations: 2.839 MB / 464.2 MB, free: 6.082 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006373/0.3902, allocations: 3.221 MB / 467.4 MB, free: 4.914 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01608/0.4063, allocations: 10.39 MB / 477.8 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.4064, allocations: 0 / 477.8 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4064, allocations: 3.938 kB / 477.8 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003934/0.4068, allocations: 0 / 477.8 MB, free: 0.8164 MB / 366.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.02245/0.4293, allocations: 7.427 MB / 485.2 MB, free: 11.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.4293, allocations: 12.03 kB / 485.2 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01804/0.4474, allocations: 3.976 MB / 489.2 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01089/0.4583, allocations: 4.127 MB / 493.3 MB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003264/0.4587, allocations: 320.4 kB / 493.6 MB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002422/0.4611, allocations: 438.1 kB / 494.1 MB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03499/0.4961, allocations: 15.72 MB / 0.4978 GB, free: 5.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002778/0.4964, allocations: 58.39 kB / 0.4979 GB, free: 5.684 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001583/0.498, allocations: 207.8 kB / 0.4981 GB, free: 5.539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005826/0.5039, allocations: 3.215 MB / 0.5012 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03116/0.535, allocations: 14.13 MB / 0.515 GB, free: 4.453 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08505/0.6201, allocations: 57.59 MB / 0.5713 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.015/0.6352, allocations: 6.568 MB / 0.5777 GB, free: 3.238 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006049/0.6413, allocations: 3.688 MB / 0.5813 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02579/0.6671, allocations: 14.65 MB / 0.5956 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.616e-05/0.6672, allocations: 64.44 kB / 0.5957 GB, free: 388 kB / 494.1 MB Notification: Performance of pre-optimization done (n=289): time 6.372e-06/0.6672, allocations: 0 / 0.5957 GB, free: 388 kB / 494.1 MB Notification: Performance of matching and sorting (n=339): time 0.3959/1.063, allocations: 42.67 MB / 0.6373 GB, free: 165 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.536e-05/1.063, allocations: 211.5 kB / 0.6375 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00939/1.073, allocations: 5.478 MB / 0.6429 GB, free: 164.3 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0009426/1.074, allocations: 76.62 kB / 0.643 GB, free: 164.2 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002701/1.076, allocations: 4.53 MB / 0.6474 GB, free: 161.1 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001609/1.078, allocations: 1.311 MB / 0.6487 GB, free: 160.1 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002931/1.081, allocations: 1.874 MB / 0.6505 GB, free: 159.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.442e-05/1.081, allocations: 305.7 kB / 0.6508 GB, free: 158.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007364/1.088, allocations: 4.806 MB / 0.6555 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008276/1.097, allocations: 9.806 MB / 0.665 GB, free: 148.9 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01504/1.112, allocations: 15.56 MB / 0.6802 GB, free: 137.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001496/1.112, allocations: 49.94 kB / 0.6803 GB, free: 137.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1189) (initialization): time 0.0426/1.155, allocations: 19.6 MB / 0.6994 GB, free: 122.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/1.155, allocations: 80 kB / 0.6995 GB, free: 122.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002158/1.155, allocations: 175.8 kB / 0.6997 GB, free: 122 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02202/1.177, allocations: 5.939 MB / 0.7055 GB, free: 116.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007476/1.184, allocations: 2.113 MB / 0.7075 GB, free: 114 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02774/1.212, allocations: 26.15 MB / 0.7331 GB, free: 87.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009841/1.222, allocations: 0.558 MB / 0.7336 GB, free: 86.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00189/1.224, allocations: 0.5117 MB / 0.7341 GB, free: 86.47 MB / 0.5137 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.00629/1.23, allocations: 3.098 MB / 0.7371 GB, free: 83.37 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001322/1.232, allocations: 0.5161 MB / 0.7377 GB, free: 82.85 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02886/1.261, allocations: 12.93 MB / 0.7503 GB, free: 69.85 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.462e-05/1.261, allocations: 55.98 kB / 0.7503 GB, free: 69.79 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.026e-05/1.261, allocations: 8 kB / 0.7503 GB, free: 69.79 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.099e-05/1.261, allocations: 15.95 kB / 0.7504 GB, free: 69.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04779/1.309, allocations: 24.51 MB / 0.7743 GB, free: 44.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.207e-05/1.309, allocations: 4.625 kB / 0.7743 GB, free: 44.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003098/1.312, allocations: 0.586 MB / 0.7749 GB, free: 44.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01858/1.33, allocations: 4.965 MB / 0.7797 GB, free: 39.23 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000934/1.331, allocations: 56 kB / 0.7798 GB, free: 39.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02294/1.354, allocations: 21.37 MB / 0.8006 GB, free: 17.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/1.354, allocations: 11.88 kB / 0.8006 GB, free: 17.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0339/1.388, allocations: 17.48 MB / 0.8177 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002163/1.39, allocations: 0.56 MB / 0.8183 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001855/1.392, allocations: 52 kB / 0.8183 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003624/1.396, allocations: 264.7 kB / 0.8186 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001009/1.397, allocations: 194.5 kB / 0.8187 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003125/1.397, allocations: 84.88 kB / 0.8188 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.2674/1.665, allocations: 3.398 MB / 0.8221 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.51e-07/1.665, allocations: 1.375 kB / 0.8221 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01016/1.675, allocations: 1.734 MB / 0.8238 GB, free: 166.8 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.001033/1.676, allocations: 209 kB / 0.824 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0207/1.697, allocations: 10.97 MB / 0.8347 GB, free: 166.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-05/1.697, allocations: 5.375 kB / 0.8348 GB, free: 166.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006418/1.703, allocations: 4.1 MB / 0.8388 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004064/1.707, allocations: 0.6192 MB / 0.8394 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02766/1.735, allocations: 16.21 MB / 0.8552 GB, free: 157.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006083/1.741, allocations: 4.623 MB / 0.8597 GB, free: 156.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006587/1.748, allocations: 2.965 MB / 0.8626 GB, free: 156 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001577/1.749, allocations: 352.8 kB / 0.8629 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of SimCode: time 1.162e-06/1.749, allocations: 3.938 kB / 0.8629 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.1125/1.862, allocations: 76.7 MB / 0.9378 GB, free: 84.03 MB / 0.5294 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar2/Fourbar2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.008027371950448]