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.001267/0.001267, allocations: 114 kB / 17.73 MB, free: 5.203 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.001167/0.001167, allocations: 186.9 kB / 18.67 MB, free: 4.273 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.358/1.358, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001675/0.001675, allocations: 52.3 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08624/0.08793, allocations: 46.62 MB / 374.7 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.1798/0.2677, allocations: 13.51 MB / 388.2 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008919/0.2767, allocations: 4.864 MB / 393 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002706/0.2795, allocations: 88.5 kB / 393.1 MB, free: 2.543 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006942/0.2864, allocations: 4.194 MB / 397.3 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006001/0.2925, allocations: 2.143 MB / 399.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002836/0.2953, allocations: 1.12 MB / 400.6 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009777/0.3051, allocations: 5.63 MB / 406.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006622/0.3117, allocations: 5.308 MB / 411.5 MB, free: 9.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003591/0.3154, allocations: 2.165 MB / 413.7 MB, free: 8.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004142/0.3195, allocations: 2.876 MB / 416.6 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001047/0.3206, allocations: 0.4961 MB / 417.1 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003087/0.3237, allocations: 1.619 MB / 418.7 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002502/0.3262, allocations: 2.588 MB / 421.3 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003438/0.3296, allocations: 2.972 MB / 424.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01083/0.3405, allocations: 9.726 MB / 434 MB, free: 4.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3405, allocations: 0 / 434 MB, free: 4.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3405, allocations: 0 / 434 MB, free: 4.418 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002057/0.3407, allocations: 0 / 434 MB, free: 4.418 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.01362/0.3544, allocations: 6.39 MB / 440.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.3544, allocations: 12.03 kB / 440.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001552/0.356, allocations: 0.9325 MB / 441.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0385/0.3945, allocations: 6.059 MB / 447.3 MB, free: 6.914 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/0.4046, allocations: 4.79 MB / 452.1 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000257/0.4048, allocations: 316.3 kB / 452.4 MB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001044/0.4059, allocations: 439.7 kB / 452.9 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02319/0.4291, allocations: 12.31 MB / 465.2 MB, free: 4.273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001592/0.4293, allocations: 55.58 kB / 465.2 MB, free: 4.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005052/0.4298, allocations: 187.9 kB / 465.4 MB, free: 4.035 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003275/0.4331, allocations: 2.031 MB / 467.5 MB, free: 2.004 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02163/0.4547, allocations: 10.36 MB / 477.8 MB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05556/0.5103, allocations: 44.02 MB / 0.5096 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01313/0.5235, allocations: 4.795 MB / 0.5143 GB, free: 5.406 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002884/0.5264, allocations: 1.963 MB / 0.5162 GB, free: 3.434 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01131/0.5377, allocations: 7.029 MB / 0.5231 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.258e-05/0.5378, allocations: 51.56 kB / 0.5231 GB, free: 12.08 MB / 462.1 MB Notification: Performance of pre-optimization done (n=179): time 5.5e-06/0.5378, allocations: 0 / 0.5231 GB, free: 12.08 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.06476/0.6026, allocations: 19.49 MB / 0.5421 GB, free: 8.562 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.6028, allocations: 205.9 kB / 0.5423 GB, free: 8.32 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00639/0.6092, allocations: 4.53 MB / 0.5468 GB, free: 3.777 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003721/0.6096, allocations: 57.7 kB / 0.5468 GB, free: 3.715 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1695/0.7791, allocations: 3.7 MB / 0.5504 GB, free: 148.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009975/0.7801, allocations: 0.8726 MB / 0.5513 GB, free: 148.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001899/0.782, allocations: 1.276 MB / 0.5525 GB, free: 148.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.218e-05/0.7821, allocations: 302.2 kB / 0.5528 GB, free: 148.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00336/0.7854, allocations: 2.233 MB / 0.555 GB, free: 148.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004391/0.7898, allocations: 5.981 MB / 0.5608 GB, free: 142.4 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008385/0.7982, allocations: 8.917 MB / 0.5696 GB, free: 135 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001293/0.7984, allocations: 37.09 kB / 0.5696 GB, free: 135 MB / 478.1 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.01483/0.8132, allocations: 9.071 MB / 0.5784 GB, free: 131.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.335e-05/0.8133, allocations: 62.66 kB / 0.5785 GB, free: 131.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001295/0.8135, allocations: 131.2 kB / 0.5786 GB, free: 131.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003469/0.8169, allocations: 1.202 MB / 0.5798 GB, free: 131.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003726/0.8207, allocations: 1.423 MB / 0.5812 GB, free: 131.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008569/0.8292, allocations: 8.011 MB / 0.589 GB, free: 127.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003954/0.8332, allocations: 341.1 kB / 0.5893 GB, free: 127.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004487/0.8337, allocations: 377.1 kB / 0.5897 GB, free: 127 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.002776/0.8365, allocations: 2.497 MB / 0.5921 GB, free: 125.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004959/0.837, allocations: 430.6 kB / 0.5926 GB, free: 125.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006232/0.8432, allocations: 3.891 MB / 0.5963 GB, free: 123.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-05/0.8433, allocations: 24 kB / 0.5964 GB, free: 123.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.8433, allocations: 8 kB / 0.5964 GB, free: 123.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/0.8433, allocations: 10.45 kB / 0.5964 GB, free: 123.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01403/0.8573, allocations: 9.955 MB / 0.6061 GB, free: 114.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/0.8574, allocations: 11.94 kB / 0.6061 GB, free: 114.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/0.8586, allocations: 332.4 kB / 0.6064 GB, free: 114.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002808/0.8614, allocations: 0.9811 MB / 0.6074 GB, free: 113.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001403/0.8616, allocations: 47.98 kB / 0.6074 GB, free: 113.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007117/0.8687, allocations: 6.678 MB / 0.614 GB, free: 106.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.8687, allocations: 11.94 kB / 0.614 GB, free: 106.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008393/0.8771, allocations: 6.622 MB / 0.6204 GB, free: 99.57 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/0.8785, allocations: 0.7449 MB / 0.6212 GB, free: 98.82 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004316/0.879, allocations: 39.98 kB / 0.6212 GB, free: 98.78 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/0.8804, allocations: 107.9 kB / 0.6213 GB, free: 98.67 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002764/0.8807, allocations: 148.9 kB / 0.6215 GB, free: 98.53 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/0.8808, allocations: 63.66 kB / 0.6215 GB, free: 98.47 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003031/0.8838, allocations: 2.861 MB / 0.6243 GB, free: 95.61 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8839, allocations: 0.75 kB / 0.6243 GB, free: 95.61 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004344/0.8882, allocations: 1.171 MB / 0.6255 GB, free: 94.45 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.00869/0.8969, allocations: 7.338 MB / 0.6326 GB, free: 87.04 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006983/0.9039, allocations: 5.533 MB / 0.638 GB, free: 81.52 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.9039, allocations: 4 kB / 0.638 GB, free: 81.52 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002002/0.9059, allocations: 1.829 MB / 0.6398 GB, free: 79.68 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003039/0.909, allocations: 0.578 MB / 0.6404 GB, free: 79.13 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05543/0.9644, allocations: 51.68 MB / 0.6908 GB, free: 21.51 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003184/0.9677, allocations: 3.885 MB / 0.6946 GB, free: 17.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003474/0.9711, allocations: 1.942 MB / 0.6965 GB, free: 15.65 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002038/0.9732, allocations: 2.296 MB / 0.6988 GB, free: 13.36 MB / 478.1 MB Notification: Performance of SimCode: time 1.423e-06/0.9732, allocations: 0 / 0.6988 GB, free: 13.36 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3189/1.292, allocations: 84.2 MB / 0.781 GB, free: 148.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.81/27.11, allocations: 10.92 kB / 0.781 GB, free: 148.3 MB / 0.4981 GB (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