Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.001494/0.001494, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 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.003149/0.003149, allocations: 165.4 kB / 25.02 MB, free: 8.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 158.6 MB / 186.8 MB, free: 2.871 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 250.4 MB, free: 3.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.717e-05/4.893e-05, allocations: 2.312 kB / 250.4 MB, free: 3.926 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01704/0.01709, allocations: 11.83 MB / 262.2 MB, free: 8.035 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01225/0.02935, allocations: 4.636 MB / 266.8 MB, free: 3.387 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002756/0.0321, allocations: 103.4 kB / 266.9 MB, free: 3.285 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009533/0.04163, allocations: 4.357 MB / 271.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007738/0.04937, allocations: 2.29 MB / 273.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003386/0.05276, allocations: 1.228 MB / 274.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01026/0.06302, allocations: 6.319 MB / 281.1 MB, free: 5.051 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008752/0.07177, allocations: 4.725 MB / 285.9 MB, free: 264 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008561/0.08033, allocations: 3.298 MB / 289.1 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00645/0.08678, allocations: 3.133 MB / 292.3 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00202/0.0888, allocations: 0.5078 MB / 292.8 MB, free: 9.305 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004412/0.09321, allocations: 1.588 MB / 294.4 MB, free: 7.715 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00497/0.09818, allocations: 2.798 MB / 297.2 MB, free: 4.91 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004922/0.1031, allocations: 1.769 MB / 298.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1634/0.2665, allocations: 9.803 MB / 308.7 MB, free: 30.96 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.818e-06/0.2665, allocations: 1.094 kB / 308.7 MB, free: 30.96 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.2665, allocations: 0 / 308.7 MB, free: 30.96 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0005073/0.267, allocations: 1.906 kB / 308.7 MB, free: 30.96 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.02677/0.2938, allocations: 6.204 MB / 315 MB, free: 28.59 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.256e-05/0.2939, allocations: 12.3 kB / 315 MB, free: 28.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01708/0.311, allocations: 3.274 MB / 318.2 MB, free: 28.21 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01125/0.3222, allocations: 3.812 MB / 322.1 MB, free: 27.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004167/0.3226, allocations: 307.2 kB / 322.4 MB, free: 27.47 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002718/0.3253, allocations: 441.9 kB / 322.8 MB, free: 27.45 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0318/0.3571, allocations: 12.59 MB / 335.4 MB, free: 20.14 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003411/0.3575, allocations: 44.73 kB / 335.4 MB, free: 20.12 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002333/0.3598, allocations: 192.1 kB / 335.6 MB, free: 19.97 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003372/0.3632, allocations: 2.043 MB / 337.6 MB, free: 17.95 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02255/0.3857, allocations: 10.61 MB / 348.3 MB, free: 7.523 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07315/0.4589, allocations: 41.35 MB / 389.6 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01679/0.4757, allocations: 4.378 MB / 394 MB, free: 9.293 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004263/0.48, allocations: 1.938 MB / 395.9 MB, free: 7.344 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01703/0.497, allocations: 6.064 MB / 402 MB, free: 1.312 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.535e-05/0.4971, allocations: 51.88 kB / 402 MB, free: 1.254 MB / 330.7 MB Notification: Performance of pre-optimization done (n=181): time 6.332e-06/0.4971, allocations: 0 / 402 MB, free: 1.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=227): time 0.09392/0.591, allocations: 25.77 MB / 427.8 MB, free: 7.566 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001805/0.5912, allocations: 205.9 kB / 428 MB, free: 7.324 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01164/0.6028, allocations: 4.522 MB / 432.5 MB, free: 2.781 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006423/0.6035, allocations: 57.7 kB / 432.6 MB, free: 2.719 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004232/0.6077, allocations: 3.63 MB / 436.2 MB, free: 15.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001907/0.6096, allocations: 0.877 MB / 437.1 MB, free: 14.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004716/0.6143, allocations: 1.329 MB / 438.4 MB, free: 12.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.6145, allocations: 304.9 kB / 438.7 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005786/0.6203, allocations: 2.543 MB / 441.3 MB, free: 10.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009894/0.6302, allocations: 6.363 MB / 447.6 MB, free: 1.902 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1655/0.7957, allocations: 9.506 MB / 457.1 MB, free: 128.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001441/0.7958, allocations: 35.69 kB / 457.2 MB, free: 128.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.02142/0.8172, allocations: 10.66 MB / 467.8 MB, free: 124.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.8174, allocations: 65.41 kB / 467.9 MB, free: 124.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002636/0.8176, allocations: 131.7 kB / 468 MB, free: 124.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006523/0.8242, allocations: 2.148 MB / 470.2 MB, free: 124.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00484/0.829, allocations: 1.482 MB / 471.7 MB, free: 122.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01272/0.8417, allocations: 9.808 MB / 481.5 MB, free: 114.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0065/0.8482, allocations: 464.6 kB / 481.9 MB, free: 114.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001429/0.8497, allocations: 386 kB / 482.3 MB, free: 113.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (801): * Single equations (assignments): 797 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005763/0.8554, allocations: 2.49 MB / 484.8 MB, free: 111.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001372/0.8568, allocations: 449.6 kB / 485.2 MB, free: 111.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009956/0.8667, allocations: 4.974 MB / 490.2 MB, free: 106.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.89e-05/0.8668, allocations: 24 kB / 490.2 MB, free: 106.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.032e-05/0.8668, allocations: 19.92 kB / 490.2 MB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.218e-05/0.8668, allocations: 11.28 kB / 490.3 MB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02279/0.8896, allocations: 10.19 MB / 0.4887 GB, free: 96.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.932e-05/0.8896, allocations: 4 kB / 0.4887 GB, free: 96.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001609/0.8913, allocations: 359.4 kB / 0.4891 GB, free: 95.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005941/0.8972, allocations: 1.913 MB / 0.4909 GB, free: 93.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003812/0.8976, allocations: 45.72 kB / 0.491 GB, free: 93.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01093/0.9085, allocations: 8.404 MB / 0.4992 GB, free: 85.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.27e-05/0.9085, allocations: 15.92 kB / 0.4992 GB, free: 85.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0129/0.9214, allocations: 8.148 MB / 0.5072 GB, free: 77.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002562/0.924, allocations: 0.7298 MB / 0.5079 GB, free: 76.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001321/0.9253, allocations: 47.98 kB / 0.5079 GB, free: 76.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002859/0.9282, allocations: 217.5 kB / 0.5081 GB, free: 76.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005023/0.9287, allocations: 160 kB / 0.5083 GB, free: 76.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001978/0.9289, allocations: 68.86 kB / 0.5083 GB, free: 76.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.005619/0.9345, allocations: 2.698 MB / 0.511 GB, free: 73.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.9345, allocations: 0 / 0.511 GB, free: 73.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.008795/0.9433, allocations: 1.376 MB / 0.5123 GB, free: 72 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (179): * Single equations (assignments): 175 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001/0.9443, allocations: 268.7 kB / 0.5126 GB, free: 71.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009711/0.954, allocations: 5.876 MB / 0.5183 GB, free: 65.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.574e-05/0.954, allocations: 5.312 kB / 0.5183 GB, free: 65.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002819/0.9568, allocations: 1.936 MB / 0.5202 GB, free: 63.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004586/0.9614, allocations: 0.5166 MB / 0.5207 GB, free: 63.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02309/0.9845, allocations: 11.61 MB / 0.532 GB, free: 51.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007892/0.9924, allocations: 3.362 MB / 0.5353 GB, free: 48.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.005328/0.9977, allocations: 1.919 MB / 0.5372 GB, free: 46.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00143/0.9992, allocations: 268.5 kB / 0.5375 GB, free: 46.07 MB / 378.7 MB Notification: Performance of SimCode: time 1.954e-06/0.9992, allocations: 0 / 0.5375 GB, free: 46.07 MB / 378.7 MB Notification: Performance of Templates: time 0.2528/1.252, allocations: 43.4 MB / 0.5798 GB, free: 122.1 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.324433507048525]