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.001836/0.001836, allocations: 92.98 kB / 20.69 MB, free: 1.016 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.002183/0.002183, allocations: 161.1 kB / 23.95 MB, free: 4.148 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.454/1.454, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 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 1.994e-06/1.994e-06, allocations: 0 / 325 MB, free: 488 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.754e-05, allocations: 4.672 kB / 325 MB, free: 484 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2): time 0.01667/0.0167, allocations: 13.03 MB / 338.1 MB, free: 7.516 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01155/0.02825, allocations: 4.634 MB / 342.7 MB, free: 3.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002818/0.03107, allocations: 111.5 kB / 342.8 MB, free: 3.227 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006929/0.038, allocations: 3.231 MB / 346 MB, free: 15.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007591/0.04559, allocations: 2.687 MB / 348.7 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002559/0.04815, allocations: 1.096 MB / 349.8 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01136/0.05951, allocations: 7.807 MB / 357.6 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006473/0.06598, allocations: 4.101 MB / 361.7 MB, free: 212 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00645/0.07243, allocations: 3.371 MB / 365.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006432/0.07886, allocations: 3.585 MB / 368.7 MB, free: 9.234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001335/0.0802, allocations: 496 kB / 369.2 MB, free: 8.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003118/0.08332, allocations: 1.475 MB / 370.6 MB, free: 7.273 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00328/0.0866, allocations: 3.039 MB / 373.7 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003051/0.08965, allocations: 1.846 MB / 375.5 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0139/0.1036, allocations: 10.52 MB / 386 MB, free: 7.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.1036, allocations: 4 kB / 386 MB, free: 7.816 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1036, allocations: 0 / 386 MB, free: 7.816 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.00032/0.1039, allocations: 0 / 386 MB, free: 7.816 MB / 350.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.02009/0.124, allocations: 7.396 MB / 393.4 MB, free: 352 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.124, allocations: 11.98 kB / 393.4 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01862/0.1426, allocations: 4.094 MB / 397.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0108/0.1534, allocations: 4.028 MB / 401.6 MB, free: 8.141 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000392/0.1538, allocations: 320.4 kB / 401.9 MB, free: 7.824 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001947/0.1558, allocations: 440.1 kB / 402.3 MB, free: 7.395 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02996/0.1857, allocations: 15.8 MB / 418.1 MB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002015/0.1859, allocations: 63.47 kB / 418.2 MB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007091/0.1866, allocations: 211.7 kB / 418.4 MB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005837/0.1925, allocations: 3.216 MB / 421.6 MB, free: 3.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03123/0.2237, allocations: 14.11 MB / 435.7 MB, free: 5.031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2699/0.4936, allocations: 53.78 MB / 489.5 MB, free: 88.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01372/0.5074, allocations: 5.528 MB / 495 MB, free: 87.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004354/0.5117, allocations: 3.341 MB / 498.3 MB, free: 86.49 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01993/0.5316, allocations: 12.25 MB / 0.4986 GB, free: 81.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.444e-05/0.5317, allocations: 62.97 kB / 0.4987 GB, free: 81.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=289): time 7.384e-06/0.5317, allocations: 0 / 0.4987 GB, free: 81.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=339): time 0.1484/0.6801, allocations: 43.5 MB / 0.5412 GB, free: 44.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.64e-05/0.6802, allocations: 217.3 kB / 0.5414 GB, free: 44.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006042/0.6862, allocations: 5.376 MB / 0.5466 GB, free: 39.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008255/0.6871, allocations: 75.73 kB / 0.5467 GB, free: 39.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001804/0.6889, allocations: 4.51 MB / 0.5511 GB, free: 34.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00131/0.6902, allocations: 1.298 MB / 0.5524 GB, free: 33.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002326/0.6925, allocations: 1.83 MB / 0.5542 GB, free: 31.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.115e-05/0.6926, allocations: 305.1 kB / 0.5544 GB, free: 31.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005569/0.6981, allocations: 4.8 MB / 0.5591 GB, free: 26.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007595/0.7057, allocations: 9.848 MB / 0.5687 GB, free: 14.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01613/0.7219, allocations: 15.56 MB / 0.5839 GB, free: 12.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001696/0.722, allocations: 48 kB / 0.584 GB, free: 12.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.05291/0.7749, allocations: 19.49 MB / 0.603 GB, free: 8.836 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003292/0.7753, allocations: 80.19 kB / 0.6031 GB, free: 8.758 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004669/0.7757, allocations: 176 kB / 0.6033 GB, free: 8.586 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02618/0.8019, allocations: 5.936 MB / 0.6091 GB, free: 2.641 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008354/0.8103, allocations: 2.105 MB / 0.6111 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04008/0.8504, allocations: 25.73 MB / 0.6362 GB, free: 6.586 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008254/0.8586, allocations: 0.6203 MB / 0.6368 GB, free: 5.965 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001668/0.8603, allocations: 0.5078 MB / 0.6373 GB, free: 5.457 MB / 494.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.00689/0.8672, allocations: 3.09 MB / 0.6404 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001487/0.8687, allocations: 488.7 kB / 0.6408 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1993/1.068, allocations: 12.85 MB / 0.6534 GB, free: 169.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.572e-05/1.068, allocations: 55.2 kB / 0.6534 GB, free: 169.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.051e-05/1.068, allocations: 10.03 kB / 0.6534 GB, free: 169.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.872e-05/1.068, allocations: 15.38 kB / 0.6534 GB, free: 169.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04689/1.115, allocations: 22.3 MB / 0.6752 GB, free: 159.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.961e-05/1.115, allocations: 10.94 kB / 0.6752 GB, free: 159.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003121/1.118, allocations: 0.5762 MB / 0.6758 GB, free: 159.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02052/1.139, allocations: 4.964 MB / 0.6806 GB, free: 155.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000746/1.139, allocations: 59.45 kB / 0.6807 GB, free: 155.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02273/1.162, allocations: 20.94 MB / 0.7012 GB, free: 134.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/1.162, allocations: 7.938 kB / 0.7012 GB, free: 134.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03416/1.196, allocations: 17.39 MB / 0.7182 GB, free: 117.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001488/1.198, allocations: 476 kB / 0.7186 GB, free: 116.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001309/1.199, allocations: 62.38 kB / 0.7187 GB, free: 116.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003798/1.203, allocations: 307.5 kB / 0.719 GB, free: 116.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008693/1.204, allocations: 205.4 kB / 0.7192 GB, free: 116.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000318/1.204, allocations: 83.98 kB / 0.7192 GB, free: 116.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004131/1.208, allocations: 3.126 MB / 0.7223 GB, free: 113.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 6e-08/1.208, allocations: 0 / 0.7223 GB, free: 113.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007706/1.216, allocations: 1.866 MB / 0.7241 GB, free: 111.3 MB / 494.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.0007934/1.217, allocations: 229.4 kB / 0.7243 GB, free: 111.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01365/1.23, allocations: 10.47 MB / 0.7346 GB, free: 100.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/1.23, allocations: 0 / 0.7346 GB, free: 100.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004707/1.235, allocations: 3.796 MB / 0.7383 GB, free: 96.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003602/1.239, allocations: 0.511 MB / 0.7388 GB, free: 96.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02077/1.259, allocations: 16.21 MB / 0.7546 GB, free: 80.15 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004036/1.264, allocations: 4.121 MB / 0.7586 GB, free: 76 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006261/1.27, allocations: 2.918 MB / 0.7615 GB, free: 73.08 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001734/1.272, allocations: 336.4 kB / 0.7618 GB, free: 72.75 MB / 494.1 MB Notification: Performance of SimCode: time 2.835e-06/1.272, allocations: 4 kB / 0.7618 GB, free: 72.75 MB / 494.1 MB Notification: Performance of Templates: time 0.3092/1.581, allocations: 73.78 MB / 0.8338 GB, free: 159 MB / 494.1 MB " [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.092714872211218]