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.001737/0.001737, allocations: 108.2 kB / 21.18 MB, free: 0.6992 MB / 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.002127/0.002127, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 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.51/1.51, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 55.92 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2974, allocations: 49.16 MB / 396.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01637/0.3138, allocations: 13.63 MB / 410 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01298/0.3268, allocations: 4.907 MB / 414.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003707/0.3305, allocations: 107.1 kB / 415 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009261/0.3397, allocations: 4.261 MB / 419.3 MB, free: 9.414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007417/0.3472, allocations: 2.213 MB / 421.5 MB, free: 7.824 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003379/0.3505, allocations: 1.111 MB / 422.6 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01109/0.3616, allocations: 5.641 MB / 428.2 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006751/0.3684, allocations: 4.078 MB / 432.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00514/0.3735, allocations: 2.205 MB / 434.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00624/0.3798, allocations: 3.1 MB / 437.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002028/0.3818, allocations: 0.4922 MB / 438.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004726/0.3865, allocations: 1.674 MB / 439.8 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004428/0.3909, allocations: 2.677 MB / 442.4 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006821/0.3978, allocations: 2.98 MB / 445.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01566/0.4134, allocations: 9.726 MB / 455.1 MB, free: 8.332 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.4134, allocations: 0 / 455.1 MB, free: 8.332 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.388e-06/0.4134, allocations: 4 kB / 455.2 MB, free: 8.328 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002831/0.4137, allocations: 0 / 455.2 MB, free: 8.328 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: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.01626/0.43, allocations: 6.319 MB / 461.5 MB, free: 1.941 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.43, allocations: 11.98 kB / 461.5 MB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002138/0.4322, allocations: 0.9325 MB / 462.4 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03695/0.4691, allocations: 6.051 MB / 468.5 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01161/0.4807, allocations: 4.738 MB / 473.2 MB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003193/0.481, allocations: 308.1 kB / 473.5 MB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001633/0.4827, allocations: 439.7 kB / 473.9 MB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02561/0.5083, allocations: 12.32 MB / 486.2 MB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001959/0.5085, allocations: 47.64 kB / 486.3 MB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000745/0.5092, allocations: 187.9 kB / 486.5 MB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003313/0.5125, allocations: 2.031 MB / 488.5 MB, free: 6.059 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02264/0.5352, allocations: 10.37 MB / 498.9 MB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06722/0.6024, allocations: 43.87 MB / 0.53 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01335/0.6157, allocations: 4.203 MB / 0.5341 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003255/0.619, allocations: 1.836 MB / 0.5359 GB, free: 8.449 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01399/0.633, allocations: 6.091 MB / 0.5419 GB, free: 2.324 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.499e-05/0.6331, allocations: 55.5 kB / 0.5419 GB, free: 2.262 MB / 462.1 MB Notification: Performance of pre-optimization done (n=179): time 7.525e-06/0.6331, allocations: 0 / 0.5419 GB, free: 2.262 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.2579/0.891, allocations: 19.39 MB / 0.5609 GB, free: 145 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.8911, allocations: 206 kB / 0.5611 GB, free: 144.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007957/0.899, allocations: 4.524 MB / 0.5655 GB, free: 143.6 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004668/0.8995, allocations: 57.45 kB / 0.5655 GB, free: 143.6 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002545/0.9021, allocations: 3.703 MB / 0.5691 GB, free: 141.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00119/0.9032, allocations: 0.8741 MB / 0.57 GB, free: 141.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001885/0.9051, allocations: 1.283 MB / 0.5713 GB, free: 140.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.969e-05/0.9052, allocations: 302.5 kB / 0.5715 GB, free: 140.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003814/0.909, allocations: 2.228 MB / 0.5737 GB, free: 139.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005861/0.9149, allocations: 5.975 MB / 0.5795 GB, free: 133.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01001/0.9249, allocations: 8.923 MB / 0.5883 GB, free: 126.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001812/0.9251, allocations: 37.16 kB / 0.5883 GB, free: 126.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.01675/0.9418, allocations: 9.04 MB / 0.5971 GB, free: 122.9 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001382/0.9419, allocations: 60.56 kB / 0.5972 GB, free: 122.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001924/0.9421, allocations: 143.8 kB / 0.5973 GB, free: 122.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003581/0.9457, allocations: 1.2 MB / 0.5985 GB, free: 122.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004555/0.9503, allocations: 1.416 MB / 0.5999 GB, free: 122.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/0.9605, allocations: 7.906 MB / 0.6076 GB, free: 114.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005399/0.9659, allocations: 337 kB / 0.6079 GB, free: 114.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001096/0.967, allocations: 380 kB / 0.6083 GB, free: 114.1 MB / 478.1 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 (766): * Single equations (assignments): 762 * 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,40,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004585/0.9716, allocations: 2.493 MB / 0.6107 GB, free: 111.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/0.9726, allocations: 433.1 kB / 0.6111 GB, free: 111.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007295/0.9799, allocations: 3.865 MB / 0.6149 GB, free: 107.4 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-05/0.98, allocations: 27.12 kB / 0.6149 GB, free: 107.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/0.98, allocations: 4 kB / 0.6149 GB, free: 107.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.163e-05/0.98, allocations: 15.95 kB / 0.615 GB, free: 107.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01962/0.9996, allocations: 9.914 MB / 0.6246 GB, free: 97.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.742e-05/0.9996, allocations: 4 kB / 0.6246 GB, free: 97.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001329/1.001, allocations: 336.1 kB / 0.625 GB, free: 97.01 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002961/1.004, allocations: 0.9762 MB / 0.6259 GB, free: 96.03 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001868/1.004, allocations: 44 kB / 0.626 GB, free: 95.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007689/1.012, allocations: 6.585 MB / 0.6324 GB, free: 89.29 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1.012, allocations: 8 kB / 0.6324 GB, free: 89.28 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009337/1.021, allocations: 6.609 MB / 0.6388 GB, free: 82.59 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002003/1.023, allocations: 0.6687 MB / 0.6395 GB, free: 81.92 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009386/1.024, allocations: 40.88 kB / 0.6395 GB, free: 81.88 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002007/1.026, allocations: 114.8 kB / 0.6396 GB, free: 81.77 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003373/1.026, allocations: 145 kB / 0.6398 GB, free: 81.63 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/1.027, allocations: 67.98 kB / 0.6398 GB, free: 81.56 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004615/1.031, allocations: 2.848 MB / 0.6426 GB, free: 78.71 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/1.031, allocations: 0 / 0.6426 GB, free: 78.71 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005969/1.037, allocations: 1.18 MB / 0.6438 GB, free: 77.54 MB / 478.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 (173): * Single equations (assignments): 169 * 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,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01094/1.048, allocations: 7.327 MB / 0.6509 GB, free: 70.12 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007988/1.056, allocations: 5.309 MB / 0.6561 GB, free: 64.83 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/1.056, allocations: 2.25 kB / 0.6561 GB, free: 64.83 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002252/1.058, allocations: 1.709 MB / 0.6578 GB, free: 63.11 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00471/1.063, allocations: 0.5709 MB / 0.6583 GB, free: 62.55 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06455/1.128, allocations: 51.75 MB / 0.7089 GB, free: 4.824 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00363/1.131, allocations: 3.875 MB / 0.7127 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004325/1.136, allocations: 1.942 MB / 0.7146 GB, free: 14.96 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00316/1.139, allocations: 2.292 MB / 0.7168 GB, free: 12.67 MB / 494.1 MB Notification: Performance of SimCode: time 9.92e-07/1.139, allocations: 0 / 0.7168 GB, free: 12.67 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4023/1.541, allocations: 89.99 MB / 0.8047 GB, free: 126.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.25/29.79, allocations: 3.812 kB / 0.8047 GB, free: 126.2 MB / 0.4981 GB " [Timeout remaining time 630] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins1/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/jenkins1/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: 33.27039589988999]