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.001134/0.001134, allocations: 106.6 kB / 17.73 MB, free: 5.328 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.001009/0.001009, allocations: 191 kB / 18.66 MB, free: 4.398 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.287/1.287, allocations: 205.1 MB / 224.5 MB, free: 12.2 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.001138/0.001138, allocations: 51.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0792/0.08035, allocations: 46.62 MB / 374.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.1747/0.2551, allocations: 13.53 MB / 388.2 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009315/0.2644, allocations: 4.862 MB / 393 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002986/0.2675, allocations: 87.72 kB / 393.1 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007215/0.2747, allocations: 4.181 MB / 397.3 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006617/0.2814, allocations: 2.148 MB / 399.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002941/0.2843, allocations: 1.114 MB / 400.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009108/0.2934, allocations: 5.629 MB / 406.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007511/0.301, allocations: 5.303 MB / 411.5 MB, free: 9.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004616/0.3057, allocations: 2.172 MB / 413.7 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005082/0.3108, allocations: 2.877 MB / 416.5 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00197/0.3128, allocations: 0.4922 MB / 417 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004328/0.3171, allocations: 1.635 MB / 418.7 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003858/0.321, allocations: 2.623 MB / 421.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005387/0.3264, allocations: 2.972 MB / 424.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01234/0.3388, allocations: 9.691 MB / 434 MB, free: 4.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3388, allocations: 8 kB / 434 MB, free: 4.363 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3388, allocations: 0 / 434 MB, free: 4.363 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003008/0.3391, allocations: 0 / 434 MB, free: 4.363 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.01536/0.3545, allocations: 6.236 MB / 440.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.3546, allocations: 8.031 kB / 440.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002467/0.3571, allocations: 0.9325 MB / 441.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03403/0.3911, allocations: 6.016 MB / 447.2 MB, free: 7.066 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0104/0.4015, allocations: 4.78 MB / 451.9 MB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003081/0.4019, allocations: 316.3 kB / 452.2 MB, free: 1.914 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001776/0.4037, allocations: 439.5 kB / 452.7 MB, free: 1.484 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02366/0.4274, allocations: 12.31 MB / 465 MB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002149/0.4276, allocations: 51.58 kB / 465 MB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001252/0.4289, allocations: 191.9 kB / 465.2 MB, free: 4.199 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003171/0.4321, allocations: 2.035 MB / 467.3 MB, free: 2.164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02087/0.453, allocations: 10.35 MB / 477.6 MB, free: 7.801 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05613/0.5091, allocations: 43.93 MB / 0.5093 GB, free: 10.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01244/0.5216, allocations: 4.791 MB / 0.514 GB, free: 5.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00294/0.5246, allocations: 1.963 MB / 0.5159 GB, free: 3.688 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01313/0.5377, allocations: 7.015 MB / 0.5228 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.969e-05/0.5378, allocations: 55.5 kB / 0.5228 GB, free: 12.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=179): time 6.402e-06/0.5378, allocations: 4 kB / 0.5228 GB, free: 12.33 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.06601/0.6039, allocations: 19.22 MB / 0.5416 GB, free: 9.055 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.604, allocations: 205.9 kB / 0.5418 GB, free: 8.812 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007663/0.6117, allocations: 4.513 MB / 0.5462 GB, free: 4.285 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003364/0.612, allocations: 61.7 kB / 0.5462 GB, free: 4.219 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002292/0.6143, allocations: 3.568 MB / 0.5497 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1928/0.8071, allocations: 0.8302 MB / 0.5505 GB, free: 148.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002523/0.8097, allocations: 1.275 MB / 0.5518 GB, free: 148.9 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.088e-05/0.8098, allocations: 301.6 kB / 0.5521 GB, free: 148.6 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003611/0.8134, allocations: 2.227 MB / 0.5543 GB, free: 148.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004792/0.8182, allocations: 5.977 MB / 0.5601 GB, free: 142.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008833/0.827, allocations: 8.92 MB / 0.5688 GB, free: 135.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001529/0.8272, allocations: 38.09 kB / 0.5688 GB, free: 135.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.01616/0.8434, allocations: 9.041 MB / 0.5777 GB, free: 132 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.8435, allocations: 65.69 kB / 0.5777 GB, free: 132 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001743/0.8437, allocations: 130.8 kB / 0.5779 GB, free: 132 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003651/0.8474, allocations: 1.209 MB / 0.579 GB, free: 131.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004246/0.8516, allocations: 1.41 MB / 0.5804 GB, free: 131.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008786/0.8604, allocations: 8.014 MB / 0.5882 GB, free: 127.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004469/0.8649, allocations: 335.5 kB / 0.5886 GB, free: 127.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008039/0.8657, allocations: 377.6 kB / 0.5889 GB, free: 127.3 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.00346/0.8692, allocations: 2.494 MB / 0.5914 GB, free: 126.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006005/0.8698, allocations: 412.9 kB / 0.5917 GB, free: 126.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006217/0.876, allocations: 3.884 MB / 0.5955 GB, free: 124.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/0.8761, allocations: 24 kB / 0.5956 GB, free: 124.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.8761, allocations: 8 kB / 0.5956 GB, free: 124.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/0.8761, allocations: 11.39 kB / 0.5956 GB, free: 124.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01694/0.8931, allocations: 9.959 MB / 0.6053 GB, free: 115.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.722e-05/0.8931, allocations: 8.594 kB / 0.6053 GB, free: 115.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/0.8944, allocations: 331.5 kB / 0.6056 GB, free: 114.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002885/0.8973, allocations: 0.989 MB / 0.6066 GB, free: 113.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001594/0.8975, allocations: 40 kB / 0.6066 GB, free: 113.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007511/0.905, allocations: 6.68 MB / 0.6132 GB, free: 107 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.905, allocations: 8 kB / 0.6132 GB, free: 107 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008531/0.9136, allocations: 6.6 MB / 0.6196 GB, free: 100.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/0.9151, allocations: 0.726 MB / 0.6203 GB, free: 99.55 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008694/0.916, allocations: 40 kB / 0.6204 GB, free: 99.51 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00188/0.9179, allocations: 111.9 kB / 0.6205 GB, free: 99.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002723/0.9182, allocations: 145 kB / 0.6206 GB, free: 99.26 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/0.9183, allocations: 59.75 kB / 0.6207 GB, free: 99.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003927/0.9222, allocations: 2.852 MB / 0.6234 GB, free: 96.35 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/0.9222, allocations: 4 kB / 0.6235 GB, free: 96.35 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005226/0.9275, allocations: 1.18 MB / 0.6246 GB, free: 95.18 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.008656/0.9361, allocations: 7.313 MB / 0.6317 GB, free: 87.78 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006946/0.9431, allocations: 5.526 MB / 0.6371 GB, free: 82.27 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.435e-06/0.9431, allocations: 5.875 kB / 0.6371 GB, free: 82.27 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001927/0.9451, allocations: 1.832 MB / 0.6389 GB, free: 80.43 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003433/0.9485, allocations: 0.5682 MB / 0.6395 GB, free: 79.88 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05764/1.006, allocations: 51.47 MB / 0.6898 GB, free: 22.47 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003499/1.01, allocations: 3.879 MB / 0.6935 GB, free: 18.57 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003664/1.013, allocations: 1.942 MB / 0.6954 GB, free: 16.62 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002174/1.016, allocations: 2.288 MB / 0.6977 GB, free: 14.33 MB / 478.1 MB Notification: Performance of SimCode: time 9.12e-07/1.016, allocations: 7.938 kB / 0.6977 GB, free: 14.32 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3196/1.335, allocations: 85.38 MB / 0.7811 GB, free: 148.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.71/26.05, allocations: 20.16 kB / 0.7811 GB, free: 148.2 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