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.001768/0.001768, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 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.002163/0.002163, allocations: 159.7 kB / 24.49 MB, free: 3.453 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.413/1.413, allocations: 177.1 MB / 204.7 MB, free: 9.004 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 0.001955/0.001955, allocations: 70.86 kB / 325.5 MB, free: 232 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09357/0.09553, allocations: 53.39 MB / 378.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2): time 0.01556/0.1111, allocations: 13.02 MB / 391.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.1212, allocations: 4.628 MB / 396.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002297/0.1235, allocations: 107.5 kB / 396.7 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006444/0.1299, allocations: 3.095 MB / 399.8 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007133/0.1371, allocations: 2.607 MB / 402.4 MB, free: 7.965 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00269/0.1398, allocations: 0.9827 MB / 403.3 MB, free: 6.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01134/0.1511, allocations: 7.051 MB / 410.4 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005347/0.1564, allocations: 3.559 MB / 414 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0042/0.1606, allocations: 2.262 MB / 416.2 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005186/0.1658, allocations: 3.368 MB / 419.6 MB, free: 6.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001544/0.1674, allocations: 484 kB / 420.1 MB, free: 6.172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003393/0.1708, allocations: 1.377 MB / 421.4 MB, free: 4.793 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003759/0.1745, allocations: 2.914 MB / 424.4 MB, free: 1.871 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004037/0.1786, allocations: 2.376 MB / 426.7 MB, free: 15.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01332/0.1919, allocations: 10.45 MB / 437.2 MB, free: 4.984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.1919, allocations: 0 / 437.2 MB, free: 4.984 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.1919, allocations: 0 / 437.2 MB, free: 4.984 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000439/0.1923, allocations: 4 kB / 437.2 MB, free: 4.98 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.01678/0.2091, allocations: 7.365 MB / 444.5 MB, free: 13.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.2092, allocations: 15.98 kB / 444.6 MB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0167/0.2259, allocations: 4.072 MB / 448.6 MB, free: 9.441 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/0.236, allocations: 4.071 MB / 452.7 MB, free: 5.316 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003095/0.2363, allocations: 316.4 kB / 453 MB, free: 5.004 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001635/0.2379, allocations: 431.6 kB / 453.4 MB, free: 4.582 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02673/0.2646, allocations: 15.81 MB / 469.2 MB, free: 3.828 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001562/0.2648, allocations: 63.5 kB / 469.3 MB, free: 3.766 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005966/0.2654, allocations: 199.8 kB / 469.5 MB, free: 3.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005104/0.2705, allocations: 3.212 MB / 472.7 MB, free: 364 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.237/0.5075, allocations: 14.11 MB / 486.8 MB, free: 73.39 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05561/0.5631, allocations: 53.58 MB / 0.5277 GB, free: 24.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01167/0.5747, allocations: 5.535 MB / 0.5331 GB, free: 18.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003985/0.5787, allocations: 3.341 MB / 0.5364 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01744/0.5962, allocations: 12.04 MB / 0.5482 GB, free: 3.539 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.5962, allocations: 63.75 kB / 0.5482 GB, free: 3.473 MB / 430.1 MB Notification: Performance of pre-optimization done (n=289): time 6.062e-06/0.5962, allocations: 0 / 0.5482 GB, free: 3.473 MB / 430.1 MB Notification: Performance of matching and sorting (n=339): time 0.1552/0.7514, allocations: 43.38 MB / 0.5906 GB, free: 8.172 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/0.7516, allocations: 214 kB / 0.5908 GB, free: 7.918 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007104/0.7587, allocations: 5.206 MB / 0.5959 GB, free: 2.703 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000716/0.7594, allocations: 73.7 kB / 0.5959 GB, free: 2.625 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003411/0.7628, allocations: 4.553 MB / 0.6004 GB, free: 14.03 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001795/0.7646, allocations: 1.315 MB / 0.6017 GB, free: 12.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002826/0.7674, allocations: 1.853 MB / 0.6035 GB, free: 10.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.7675, allocations: 305.1 kB / 0.6038 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00719/0.7747, allocations: 4.8 MB / 0.6085 GB, free: 5.727 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01179/0.7865, allocations: 9.84 MB / 0.6181 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02137/0.8079, allocations: 15.55 MB / 0.6333 GB, free: 7.406 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001847/0.8081, allocations: 48 kB / 0.6333 GB, free: 7.359 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.05038/0.8585, allocations: 19.5 MB / 0.6524 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.8586, allocations: 80 kB / 0.6524 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002252/0.8588, allocations: 175.5 kB / 0.6526 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0247/0.8835, allocations: 5.941 MB / 0.6584 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007611/0.8911, allocations: 2.105 MB / 0.6605 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2546/1.146, allocations: 25.67 MB / 0.6855 GB, free: 176.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007833/1.154, allocations: 0.5605 MB / 0.6861 GB, free: 175.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001681/1.155, allocations: 0.5094 MB / 0.6866 GB, free: 175.9 MB / 0.545 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 (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.005037/1.16, allocations: 3.096 MB / 0.6896 GB, free: 174.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/1.161, allocations: 480.2 kB / 0.69 GB, free: 174.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02962/1.191, allocations: 12.86 MB / 0.7026 GB, free: 170.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.966e-05/1.191, allocations: 68.5 kB / 0.7027 GB, free: 170.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.702e-05/1.191, allocations: 7.906 kB / 0.7027 GB, free: 170.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.196e-05/1.191, allocations: 11.11 kB / 0.7027 GB, free: 170.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04413/1.235, allocations: 22.21 MB / 0.7244 GB, free: 156.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.357e-05/1.235, allocations: 4 kB / 0.7244 GB, free: 156.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003444/1.239, allocations: 0.5756 MB / 0.7249 GB, free: 156.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01916/1.258, allocations: 4.968 MB / 0.7298 GB, free: 151.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006523/1.258, allocations: 56 kB / 0.7298 GB, free: 151.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02254/1.281, allocations: 20.9 MB / 0.7503 GB, free: 130.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/1.281, allocations: 5.969 kB / 0.7503 GB, free: 130.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03273/1.314, allocations: 17.4 MB / 0.7673 GB, free: 113.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/1.315, allocations: 441.1 kB / 0.7677 GB, free: 113 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001117/1.316, allocations: 63.61 kB / 0.7677 GB, free: 112.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003119/1.319, allocations: 255.6 kB / 0.768 GB, free: 112.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000771/1.32, allocations: 207.4 kB / 0.7682 GB, free: 112.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002836/1.32, allocations: 87.98 kB / 0.7683 GB, free: 112.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003974/1.324, allocations: 2.997 MB / 0.7712 GB, free: 109.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/1.324, allocations: 0 / 0.7712 GB, free: 109.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008021/1.332, allocations: 1.722 MB / 0.7729 GB, free: 107.7 MB / 0.545 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.000815/1.333, allocations: 209.2 kB / 0.7731 GB, free: 107.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01529/1.348, allocations: 10.47 MB / 0.7833 GB, free: 97.05 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/1.348, allocations: 0 / 0.7833 GB, free: 97.05 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005077/1.354, allocations: 3.796 MB / 0.787 GB, free: 93.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003433/1.357, allocations: 0.5131 MB / 0.7875 GB, free: 92.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0229/1.38, allocations: 16.3 MB / 0.8034 GB, free: 76.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004959/1.385, allocations: 4.122 MB / 0.8074 GB, free: 72.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005932/1.391, allocations: 2.91 MB / 0.8103 GB, free: 69.33 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00136/1.392, allocations: 332.5 kB / 0.8106 GB, free: 69 MB / 0.545 GB Notification: Performance of SimCode: time 1.232e-06/1.392, allocations: 0 / 0.8106 GB, free: 69 MB / 0.545 GB Notification: Performance of Templates: time 0.3186/1.711, allocations: 72.07 MB / 0.881 GB, free: 175.9 MB / 0.545 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar2/Fourbar2.csv","/var/lib/jenkins1/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: 7.872107709059492]