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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 98.7 kB / 17.58 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 192.1 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 47.92 kB / 280.7 MB, free: 3.094 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08851/0.09, allocations: 46.64 MB / 327.4 MB, free: 4.383 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01443/0.1045, allocations: 13.52 MB / 340.9 MB, free: 6.789 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009872/0.1144, allocations: 4.862 MB / 345.8 MB, free: 1.91 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00247/0.117, allocations: 87.75 kB / 345.9 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007537/0.1245, allocations: 4.178 MB / 350 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00667/0.1312, allocations: 2.152 MB / 352.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002751/0.134, allocations: 1.107 MB / 353.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007705/0.1417, allocations: 5.639 MB / 358.9 MB, free: 4.707 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007132/0.1489, allocations: 5.328 MB / 364.3 MB, free: 15.31 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004326/0.1532, allocations: 2.158 MB / 366.4 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004559/0.1578, allocations: 2.874 MB / 369.3 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001737/0.1596, allocations: 0.4922 MB / 369.8 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004128/0.1637, allocations: 1.623 MB / 371.4 MB, free: 8.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003632/0.1674, allocations: 2.588 MB / 374 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0056/0.173, allocations: 2.968 MB / 377 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1688/0.3419, allocations: 9.448 MB / 386.4 MB, free: 25.19 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.3419, allocations: 1.375 kB / 386.4 MB, free: 25.19 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3419, allocations: 0 / 386.4 MB, free: 25.19 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003359/0.3423, allocations: 0 / 386.4 MB, free: 25.19 MB / 318.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.01942/0.3617, allocations: 6.23 MB / 392.6 MB, free: 22.85 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.3618, allocations: 9.5 kB / 392.7 MB, free: 22.85 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003063/0.3648, allocations: 0.9288 MB / 393.6 MB, free: 22.76 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03771/0.4026, allocations: 6.023 MB / 399.6 MB, free: 21.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01079/0.4134, allocations: 4.71 MB / 404.3 MB, free: 19.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002438/0.4137, allocations: 311.5 kB / 404.6 MB, free: 19.61 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002049/0.4157, allocations: 443.5 kB / 405 MB, free: 19.49 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02289/0.4387, allocations: 12.31 MB / 417.4 MB, free: 11.76 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002102/0.4389, allocations: 48.61 kB / 417.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006337/0.4396, allocations: 188.4 kB / 417.6 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00268/0.4423, allocations: 2.039 MB / 419.6 MB, free: 9.574 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02059/0.4629, allocations: 10.35 MB / 430 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06038/0.5233, allocations: 44.17 MB / 474.2 MB, free: 2.641 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01313/0.5365, allocations: 4.797 MB / 479 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00298/0.5395, allocations: 1.972 MB / 480.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01231/0.5518, allocations: 7.015 MB / 487.9 MB, free: 4.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.768e-05/0.5519, allocations: 47.56 kB / 488 MB, free: 4.449 MB / 382.1 MB Notification: Performance of pre-optimization done (n=179): time 7.324e-06/0.5519, allocations: 0 / 488 MB, free: 4.449 MB / 382.1 MB Notification: Performance of matching and sorting (n=223): time 0.06946/0.6214, allocations: 19.2 MB / 0.4953 GB, free: 1.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.6216, allocations: 205.9 kB / 0.4955 GB, free: 1.023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00941/0.631, allocations: 4.527 MB / 0.4999 GB, free: 12.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004822/0.6315, allocations: 53.7 kB / 0.5 GB, free: 12.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003067/0.6346, allocations: 3.574 MB / 0.5035 GB, free: 8.871 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001286/0.6359, allocations: 0.8297 MB / 0.5043 GB, free: 8.047 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003348/0.6393, allocations: 1.273 MB / 0.5055 GB, free: 6.766 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.526e-05/0.6394, allocations: 301.1 kB / 0.5058 GB, free: 6.469 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003975/0.6434, allocations: 2.226 MB / 0.508 GB, free: 4.238 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006347/0.6497, allocations: 5.977 MB / 0.5138 GB, free: 12.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01069/0.6604, allocations: 8.913 MB / 0.5225 GB, free: 2.262 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001361/0.6606, allocations: 36 kB / 0.5225 GB, free: 2.227 MB / 430.1 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.1679/0.8285, allocations: 9.041 MB / 0.5314 GB, free: 144.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.92e-05/0.8287, allocations: 60.88 kB / 0.5314 GB, free: 144.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000137/0.8288, allocations: 132.2 kB / 0.5316 GB, free: 144.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003415/0.8322, allocations: 1.209 MB / 0.5327 GB, free: 144 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00409/0.8363, allocations: 1.418 MB / 0.5341 GB, free: 143.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008875/0.8452, allocations: 8.029 MB / 0.542 GB, free: 139.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004471/0.8497, allocations: 351.9 kB / 0.5423 GB, free: 139.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005455/0.8503, allocations: 376.3 kB / 0.5427 GB, free: 139.6 MB / 430.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.003432/0.8537, allocations: 2.493 MB / 0.5451 GB, free: 138.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005879/0.8543, allocations: 407.7 kB / 0.5455 GB, free: 138.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006497/0.8608, allocations: 3.885 MB / 0.5493 GB, free: 137 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-05/0.8609, allocations: 23.83 kB / 0.5493 GB, free: 137 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.8609, allocations: 6.781 kB / 0.5493 GB, free: 137 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.96e-05/0.8609, allocations: 19.19 kB / 0.5493 GB, free: 137 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01613/0.8771, allocations: 10.18 MB / 0.5593 GB, free: 127.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/0.8771, allocations: 7.719 kB / 0.5593 GB, free: 127.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/0.8785, allocations: 347.4 kB / 0.5596 GB, free: 127.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002873/0.8814, allocations: 0.9842 MB / 0.5606 GB, free: 126.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001586/0.8816, allocations: 44 kB / 0.5606 GB, free: 126.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007254/0.8888, allocations: 6.65 MB / 0.5671 GB, free: 119.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.8889, allocations: 12 kB / 0.5671 GB, free: 119.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008713/0.8976, allocations: 6.61 MB / 0.5736 GB, free: 113.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001641/0.8993, allocations: 0.7236 MB / 0.5743 GB, free: 112.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005282/0.8998, allocations: 43.66 kB / 0.5743 GB, free: 112.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/0.9013, allocations: 107.8 kB / 0.5744 GB, free: 112.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003161/0.9017, allocations: 153 kB / 0.5746 GB, free: 112.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/0.9018, allocations: 56 kB / 0.5746 GB, free: 112.1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003752/0.9055, allocations: 2.856 MB / 0.5774 GB, free: 109.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.9056, allocations: 0 / 0.5774 GB, free: 109.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006177/0.9117, allocations: 1.172 MB / 0.5786 GB, free: 108.1 MB / 430.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.009357/0.9211, allocations: 7.333 MB / 0.5857 GB, free: 100.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008995/0.9301, allocations: 6.622 MB / 0.5922 GB, free: 94.12 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/0.9302, allocations: 448 / 0.5922 GB, free: 94.12 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002066/0.9323, allocations: 1.824 MB / 0.594 GB, free: 92.28 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003563/0.9358, allocations: 0.5776 MB / 0.5945 GB, free: 91.72 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06905/1.005, allocations: 59.84 MB / 0.653 GB, free: 23.53 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003986/1.009, allocations: 3.874 MB / 0.6568 GB, free: 19.62 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004532/1.013, allocations: 1.932 MB / 0.6586 GB, free: 17.69 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003211/1.017, allocations: 2.292 MB / 0.6609 GB, free: 15.39 MB / 430.1 MB Notification: Performance of SimCode: time 1.232e-06/1.017, allocations: 0 / 0.6609 GB, free: 15.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3097/1.326, allocations: 88.32 MB / 0.7471 GB, free: 117.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/12.36, allocations: 14.34 kB / 0.7471 GB, free: 117.5 MB / 446.1 MB (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 --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) 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) Reference file matches