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.00101/0.00101, allocations: 93.28 kB / 17.3 MB, free: 6.395 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.0009364/0.0009365, allocations: 177.4 kB / 18.21 MB, free: 5.547 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.311/1.311, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004523/0.0004523, allocations: 12 kB / 281.5 MB, free: 3.328 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09073/0.0912, allocations: 47.58 MB / 329.1 MB, free: 3.672 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.2351/0.3263, allocations: 54.04 MB / 383.1 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0259/0.3523, allocations: 11.84 MB / 394.9 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01186/0.3642, allocations: 243.1 kB / 395.2 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.366, allocations: 497.2 kB / 395.7 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004899/0.3709, allocations: 2.03 MB / 397.7 MB, free: 8.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002134/0.3731, allocations: 1.006 MB / 398.7 MB, free: 7.637 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00809/0.3812, allocations: 8.213 MB / 406.9 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008004/0.3892, allocations: 7.395 MB / 414.3 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002476/0.3917, allocations: 1.529 MB / 415.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003046/0.3948, allocations: 2.576 MB / 418.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004693/0.3953, allocations: 188 kB / 418.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002499/0.3978, allocations: 1.399 MB / 420 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001849/0.3996, allocations: 2.236 MB / 422.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002634/0.4023, allocations: 2.55 MB / 424.8 MB, free: 8.039 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008439/0.4107, allocations: 9.038 MB / 433.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4108, allocations: 0 / 433.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4108, allocations: 0 / 433.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002261/0.411, allocations: 0 / 433.8 MB, free: 15.2 MB / 350.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.01083/0.4219, allocations: 5.1 MB / 438.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.4219, allocations: 8.031 kB / 438.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001731/0.4237, allocations: 0.9375 MB / 439.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03689/0.4606, allocations: 6.109 MB / 446 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00877/0.4694, allocations: 4.703 MB / 450.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002207/0.4696, allocations: 313.5 kB / 451 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001145/0.4708, allocations: 438.8 kB / 451.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02274/0.4935, allocations: 12.34 MB / 463.8 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001918/0.4938, allocations: 47.5 kB / 463.8 MB, free: 0.625 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006017/0.4944, allocations: 190 kB / 464 MB, free: 488 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00325/0.4976, allocations: 2.035 MB / 466 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02073/0.5184, allocations: 10.38 MB / 476.4 MB, free: 4.059 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04897/0.5674, allocations: 44.17 MB / 0.5084 GB, free: 6.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01231/0.5798, allocations: 4.85 MB / 0.5131 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002578/0.5824, allocations: 1.973 MB / 0.515 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01002/0.5924, allocations: 7.005 MB / 0.5219 GB, free: 8.641 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.5925, allocations: 55.5 kB / 0.5219 GB, free: 8.574 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 4.218e-06/0.5925, allocations: 4 kB / 0.5219 GB, free: 8.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.2129/0.8054, allocations: 19.3 MB / 0.5408 GB, free: 163.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.613e-05/0.8055, allocations: 201.7 kB / 0.541 GB, free: 163.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006604/0.8122, allocations: 4.525 MB / 0.5454 GB, free: 161.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004082/0.8126, allocations: 54.42 kB / 0.5454 GB, free: 161.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001857/0.8145, allocations: 3.569 MB / 0.5489 GB, free: 158.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009902/0.8155, allocations: 0.8406 MB / 0.5497 GB, free: 158.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006718/0.8161, allocations: 0.5369 MB / 0.5503 GB, free: 158 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.064e-05/0.8162, allocations: 304.9 kB / 0.5506 GB, free: 157.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002724/0.8189, allocations: 2.228 MB / 0.5527 GB, free: 156.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003741/0.8227, allocations: 5.98 MB / 0.5586 GB, free: 151.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006935/0.8296, allocations: 8.904 MB / 0.5673 GB, free: 143.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.858e-05/0.8297, allocations: 38.47 kB / 0.5673 GB, free: 143.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.01343/0.8432, allocations: 9.045 MB / 0.5761 GB, free: 135.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.844e-05/0.8433, allocations: 64.16 kB / 0.5762 GB, free: 135.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.24e-05/0.8434, allocations: 136 kB / 0.5763 GB, free: 135.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003207/0.8466, allocations: 1.209 MB / 0.5775 GB, free: 134.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003746/0.8503, allocations: 1.415 MB / 0.5789 GB, free: 133.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008378/0.8587, allocations: 7.526 MB / 0.5862 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004844/0.8636, allocations: 344.5 kB / 0.5866 GB, free: 125.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008729/0.8645, allocations: 376 kB / 0.5869 GB, free: 124.7 MB / 446.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.003886/0.8684, allocations: 2.483 MB / 0.5894 GB, free: 122.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008579/0.8693, allocations: 410.7 kB / 0.5897 GB, free: 121.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006664/0.8759, allocations: 3.892 MB / 0.5935 GB, free: 117.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.077e-05/0.876, allocations: 24 kB / 0.5936 GB, free: 117.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.876, allocations: 4 kB / 0.5936 GB, free: 117.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.036e-05/0.876, allocations: 19.95 kB / 0.5936 GB, free: 117.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0155/0.8916, allocations: 10.19 MB / 0.6035 GB, free: 107.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-05/0.8916, allocations: 4 kB / 0.6036 GB, free: 107.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/0.8931, allocations: 358.8 kB / 0.6039 GB, free: 107.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002984/0.8961, allocations: 0.9839 MB / 0.6049 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001927/0.8963, allocations: 48 kB / 0.6049 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007054/0.9033, allocations: 6.225 MB / 0.611 GB, free: 99.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.9034, allocations: 7.938 kB / 0.611 GB, free: 99.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008939/0.9123, allocations: 6.615 MB / 0.6174 GB, free: 93.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001505/0.9139, allocations: 0.7261 MB / 0.6182 GB, free: 92.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004937/0.9144, allocations: 39.94 kB / 0.6182 GB, free: 92.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/0.9159, allocations: 123.5 kB / 0.6183 GB, free: 92.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002977/0.9162, allocations: 137 kB / 0.6184 GB, free: 92.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/0.9164, allocations: 63.98 kB / 0.6185 GB, free: 92.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003301/0.9197, allocations: 2.856 MB / 0.6213 GB, free: 89.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9197, allocations: 0 / 0.6213 GB, free: 89.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004873/0.9246, allocations: 1.171 MB / 0.6224 GB, free: 88 MB / 446.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.008912/0.9335, allocations: 7.338 MB / 0.6296 GB, free: 80.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006931/0.9404, allocations: 5.503 MB / 0.635 GB, free: 75.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.667e-06/0.9405, allocations: 0 / 0.635 GB, free: 75.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002286/0.9428, allocations: 1.832 MB / 0.6368 GB, free: 73.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00596/0.9487, allocations: 0.5532 MB / 0.6373 GB, free: 72.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07641/1.025, allocations: 62.19 MB / 0.698 GB, free: 2.164 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1603/1.185, allocations: 3.876 MB / 0.7018 GB, free: 159 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005251/1.191, allocations: 1.93 MB / 0.7037 GB, free: 158.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003092/1.194, allocations: 2.293 MB / 0.7059 GB, free: 158.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.152e-06/1.194, allocations: 0 / 0.7059 GB, free: 158.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1142/1.308, allocations: 85.43 MB / 0.7894 GB, free: 88.27 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/1.308, allocations: 237.6 kB / 0.7896 GB, free: 88.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.927/5.235, allocations: 4 kB / 0.7896 GB, free: 88 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","../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