Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001327/0.001327, allocations: 75.73 kB / 21.24 MB, free: 400 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.001408/0.001408, allocations: 168.6 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 177.2 MB / 204.9 MB, free: 9.039 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 51.83 kB / 325.6 MB, free: 280 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08773/0.08927, allocations: 53.34 MB / 378.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2): time 0.0157/0.105, allocations: 13.01 MB / 391.9 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009404/0.1144, allocations: 4.628 MB / 396.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.1157, allocations: 111.5 kB / 396.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00566/0.1214, allocations: 3.095 MB / 399.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005079/0.1265, allocations: 2.599 MB / 402.3 MB, free: 8.145 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.1283, allocations: 0.9945 MB / 403.3 MB, free: 7.148 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008523/0.1368, allocations: 7.048 MB / 410.4 MB, free: 92 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004107/0.1409, allocations: 3.563 MB / 414 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004395/0.1453, allocations: 2.254 MB / 416.2 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004976/0.1503, allocations: 3.36 MB / 419.6 MB, free: 6.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001041/0.1513, allocations: 487.9 kB / 420 MB, free: 6.348 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002634/0.154, allocations: 1.381 MB / 421.4 MB, free: 4.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00293/0.1569, allocations: 2.914 MB / 424.3 MB, free: 2.043 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003084/0.16, allocations: 2.38 MB / 426.7 MB, free: 15.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01204/0.172, allocations: 10.45 MB / 437.2 MB, free: 5.152 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.172, allocations: 0 / 437.2 MB, free: 5.152 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.172, allocations: 0 / 437.2 MB, free: 5.152 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002177/0.1723, allocations: 0 / 437.2 MB, free: 5.152 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.01462/0.1869, allocations: 7.353 MB / 444.5 MB, free: 13.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.1869, allocations: 12.03 kB / 444.5 MB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0164/0.2033, allocations: 4.08 MB / 448.6 MB, free: 9.621 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009648/0.213, allocations: 4.063 MB / 452.7 MB, free: 5.504 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002715/0.2132, allocations: 324.4 kB / 453 MB, free: 5.184 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001088/0.2143, allocations: 435.6 kB / 453.4 MB, free: 4.758 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02642/0.2407, allocations: 15.8 MB / 469.2 MB, free: 4.012 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001599/0.2409, allocations: 63.5 kB / 469.3 MB, free: 3.949 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000592/0.2415, allocations: 203.8 kB / 469.5 MB, free: 3.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005274/0.2468, allocations: 3.216 MB / 472.7 MB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2044/0.4512, allocations: 14.1 MB / 486.8 MB, free: 72.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04913/0.5003, allocations: 53.58 MB / 0.5277 GB, free: 23.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01135/0.5116, allocations: 5.532 MB / 0.5331 GB, free: 17.76 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00346/0.5151, allocations: 3.339 MB / 0.5364 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01637/0.5315, allocations: 12.04 MB / 0.5481 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.5315, allocations: 60.56 kB / 0.5482 GB, free: 2.508 MB / 430.1 MB Notification: Performance of pre-optimization done (n=289): time 6.432e-06/0.5315, allocations: 0 / 0.5482 GB, free: 2.508 MB / 430.1 MB Notification: Performance of matching and sorting (n=339): time 0.1536/0.6851, allocations: 43.39 MB / 0.5906 GB, free: 7.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/0.6852, allocations: 214 kB / 0.5908 GB, free: 7.246 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006884/0.6921, allocations: 5.207 MB / 0.5959 GB, free: 2.09 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006361/0.6928, allocations: 77.69 kB / 0.5959 GB, free: 2.008 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003343/0.6961, allocations: 4.553 MB / 0.6004 GB, free: 13.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001575/0.6977, allocations: 1.318 MB / 0.6017 GB, free: 12.08 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002728/0.7004, allocations: 1.857 MB / 0.6035 GB, free: 10.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.7005, allocations: 301.1 kB / 0.6038 GB, free: 9.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007051/0.7076, allocations: 4.8 MB / 0.6085 GB, free: 5.102 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01113/0.7187, allocations: 9.844 MB / 0.6181 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0201/0.7388, allocations: 15.56 MB / 0.6333 GB, free: 6.777 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001122/0.7389, allocations: 52 kB / 0.6333 GB, free: 6.727 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.04622/0.7851, allocations: 19.49 MB / 0.6523 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.7853, allocations: 80 kB / 0.6524 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002015/0.7855, allocations: 172 kB / 0.6526 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02491/0.8104, allocations: 5.933 MB / 0.6584 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01038/0.8207, allocations: 2.105 MB / 0.6604 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2181/1.039, allocations: 25.66 MB / 0.6855 GB, free: 174.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006907/1.046, allocations: 0.5552 MB / 0.686 GB, free: 174.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001064/1.047, allocations: 0.513 MB / 0.6865 GB, free: 174.5 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.004042/1.051, allocations: 3.094 MB / 0.6896 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007882/1.052, allocations: 490.1 kB / 0.69 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02851/1.08, allocations: 12.86 MB / 0.7026 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.746e-05/1.08, allocations: 63.55 kB / 0.7027 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/1.08, allocations: 9 kB / 0.7027 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.574e-05/1.08, allocations: 14.62 kB / 0.7027 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04135/1.122, allocations: 22.21 MB / 0.7244 GB, free: 155.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.419e-05/1.122, allocations: 4.688 kB / 0.7244 GB, free: 155.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002926/1.125, allocations: 0.5836 MB / 0.7249 GB, free: 154.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01893/1.144, allocations: 4.959 MB / 0.7298 GB, free: 149.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005621/1.144, allocations: 67.66 kB / 0.7298 GB, free: 149.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02172/1.166, allocations: 20.88 MB / 0.7502 GB, free: 128.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/1.166, allocations: 11.94 kB / 0.7502 GB, free: 128.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03179/1.198, allocations: 17.4 MB / 0.7672 GB, free: 111.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001393/1.199, allocations: 437.7 kB / 0.7677 GB, free: 111.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009654/1.2, allocations: 59.3 kB / 0.7677 GB, free: 111.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00272/1.203, allocations: 263.6 kB / 0.768 GB, free: 110.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006304/1.203, allocations: 205.4 kB / 0.7682 GB, free: 110.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002598/1.204, allocations: 81.88 kB / 0.7682 GB, free: 110.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003324/1.207, allocations: 2.997 MB / 0.7712 GB, free: 107.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.207, allocations: 0 / 0.7712 GB, free: 107.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006738/1.214, allocations: 1.727 MB / 0.7728 GB, free: 105.9 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.0006091/1.214, allocations: 201.7 kB / 0.773 GB, free: 105.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01295/1.227, allocations: 10.48 MB / 0.7833 GB, free: 95.29 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/1.227, allocations: 8.062 kB / 0.7833 GB, free: 95.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004525/1.232, allocations: 3.791 MB / 0.787 GB, free: 91.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003027/1.235, allocations: 0.5166 MB / 0.7875 GB, free: 91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02045/1.255, allocations: 16.3 MB / 0.8034 GB, free: 74.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004583/1.26, allocations: 4.108 MB / 0.8074 GB, free: 70.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005574/1.265, allocations: 2.916 MB / 0.8103 GB, free: 67.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001271/1.267, allocations: 336.4 kB / 0.8106 GB, free: 67.22 MB / 0.545 GB Notification: Performance of SimCode: time 1.323e-06/1.267, allocations: 0 / 0.8106 GB, free: 67.22 MB / 0.545 GB Notification: Performance of Templates: time 0.286/1.553, allocations: 72.08 MB / 0.881 GB, free: 175.1 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 7.69655120105017]