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.001351/0.001351, allocations: 110.5 kB / 17.73 MB, free: 5.324 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.001447/0.001447, allocations: 183 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.425/1.425, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001317/0.001318, allocations: 51.94 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1018, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.2209/0.3228, allocations: 13.52 MB / 388.2 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01061/0.3334, allocations: 4.865 MB / 393 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002415/0.3359, allocations: 90.62 kB / 393.1 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007822/0.3438, allocations: 4.181 MB / 397.3 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006815/0.3506, allocations: 2.15 MB / 399.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002834/0.3534, allocations: 1.109 MB / 400.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008994/0.3625, allocations: 5.633 MB / 406.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007233/0.3697, allocations: 5.308 MB / 411.5 MB, free: 9.348 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003982/0.3737, allocations: 2.173 MB / 413.7 MB, free: 8.102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004127/0.3779, allocations: 2.87 MB / 416.5 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001058/0.3789, allocations: 0.4961 MB / 417 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003371/0.3823, allocations: 1.631 MB / 418.7 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002547/0.3849, allocations: 2.63 MB / 421.3 MB, free: 1.098 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003014/0.3879, allocations: 2.969 MB / 424.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009505/0.3974, allocations: 9.695 MB / 434 MB, free: 4.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3975, allocations: 3.938 kB / 434 MB, free: 4.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3975, allocations: 0 / 434 MB, free: 4.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002082/0.3977, allocations: 0 / 434 MB, free: 4.383 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.01295/0.4107, allocations: 6.228 MB / 440.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4107, allocations: 16.03 kB / 440.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001238/0.412, allocations: 0.9325 MB / 441.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03837/0.4503, allocations: 6.016 MB / 447.2 MB, free: 7.086 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/0.4616, allocations: 4.78 MB / 451.9 MB, free: 2.246 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000253/0.4619, allocations: 304.3 kB / 452.2 MB, free: 1.945 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001289/0.4632, allocations: 443.6 kB / 452.7 MB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02195/0.4852, allocations: 12.31 MB / 465 MB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001322/0.4853, allocations: 47.59 kB / 465 MB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004709/0.4858, allocations: 191.9 kB / 465.2 MB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00307/0.4889, allocations: 2.035 MB / 467.3 MB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02029/0.5092, allocations: 10.35 MB / 477.6 MB, free: 7.828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0575/0.5667, allocations: 43.94 MB / 0.5093 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01315/0.5799, allocations: 4.798 MB / 0.514 GB, free: 5.672 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002812/0.5828, allocations: 1.963 MB / 0.5159 GB, free: 3.699 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01257/0.5954, allocations: 7.019 MB / 0.5228 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.5954, allocations: 47.5 kB / 0.5228 GB, free: 12.36 MB / 462.1 MB Notification: Performance of pre-optimization done (n=179): time 4.82e-06/0.5955, allocations: 4 kB / 0.5228 GB, free: 12.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.0684/0.6639, allocations: 19.19 MB / 0.5416 GB, free: 9.094 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.664, allocations: 213.8 kB / 0.5418 GB, free: 8.844 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01068/0.6747, allocations: 4.525 MB / 0.5462 GB, free: 4.305 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005329/0.6753, allocations: 57.64 kB / 0.5462 GB, free: 4.242 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003251/0.6786, allocations: 3.572 MB / 0.5497 GB, free: 0.625 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1955/0.8741, allocations: 0.8318 MB / 0.5505 GB, free: 150 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002833/0.877, allocations: 1.271 MB / 0.5518 GB, free: 149.9 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.821e-05/0.8771, allocations: 302.5 kB / 0.5521 GB, free: 149.6 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004023/0.8811, allocations: 2.225 MB / 0.5542 GB, free: 149.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005599/0.8867, allocations: 5.976 MB / 0.5601 GB, free: 143.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009918/0.8967, allocations: 8.919 MB / 0.5688 GB, free: 136.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000188/0.8969, allocations: 38.03 kB / 0.5688 GB, free: 136.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.01932/0.9162, allocations: 9.047 MB / 0.5777 GB, free: 133.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.9164, allocations: 61.19 kB / 0.5777 GB, free: 133.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002114/0.9166, allocations: 130.8 kB / 0.5778 GB, free: 133.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003788/0.9204, allocations: 1.214 MB / 0.579 GB, free: 132.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004598/0.925, allocations: 1.411 MB / 0.5804 GB, free: 132.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009825/0.9349, allocations: 8.004 MB / 0.5882 GB, free: 128.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00534/0.9402, allocations: 350.8 kB / 0.5886 GB, free: 128.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009457/0.9412, allocations: 381.1 kB / 0.5889 GB, free: 128.4 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.004076/0.9453, allocations: 2.488 MB / 0.5914 GB, free: 127.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008018/0.9461, allocations: 415.5 kB / 0.5918 GB, free: 127.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006932/0.9531, allocations: 3.879 MB / 0.5955 GB, free: 125.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.354e-05/0.9531, allocations: 24 kB / 0.5956 GB, free: 125.4 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.9531, allocations: 12 kB / 0.5956 GB, free: 125.4 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-05/0.9532, allocations: 11.06 kB / 0.5956 GB, free: 125.4 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01666/0.9698, allocations: 9.964 MB / 0.6053 GB, free: 116.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.829e-05/0.9699, allocations: 8 kB / 0.6053 GB, free: 116.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/0.9713, allocations: 327.5 kB / 0.6056 GB, free: 116.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002956/0.9742, allocations: 0.9845 MB / 0.6066 GB, free: 115.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001911/0.9744, allocations: 40 kB / 0.6066 GB, free: 115.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007607/0.982, allocations: 6.686 MB / 0.6132 GB, free: 108.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.9821, allocations: 8 kB / 0.6132 GB, free: 108.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008922/0.991, allocations: 6.603 MB / 0.6196 GB, free: 101.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002006/0.993, allocations: 0.7261 MB / 0.6203 GB, free: 101 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005785/0.9936, allocations: 36 kB / 0.6204 GB, free: 100.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/0.9952, allocations: 107.9 kB / 0.6205 GB, free: 100.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003305/0.9956, allocations: 149.1 kB / 0.6206 GB, free: 100.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/0.9957, allocations: 56 kB / 0.6207 GB, free: 100.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003585/0.9993, allocations: 2.856 MB / 0.6235 GB, free: 97.79 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9993, allocations: 0 / 0.6235 GB, free: 97.79 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005299/1.005, allocations: 1.172 MB / 0.6246 GB, free: 96.62 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.009046/1.014, allocations: 7.322 MB / 0.6317 GB, free: 89.23 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007209/1.021, allocations: 5.525 MB / 0.6371 GB, free: 83.72 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.938e-06/1.021, allocations: 4 kB / 0.6371 GB, free: 83.71 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002067/1.023, allocations: 1.838 MB / 0.6389 GB, free: 81.87 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003185/1.026, allocations: 0.5707 MB / 0.6395 GB, free: 81.32 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06626/1.093, allocations: 51.46 MB / 0.6897 GB, free: 23.91 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003438/1.096, allocations: 3.88 MB / 0.6935 GB, free: 20.01 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00391/1.1, allocations: 1.946 MB / 0.6954 GB, free: 18.06 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002252/1.102, allocations: 2.288 MB / 0.6977 GB, free: 15.77 MB / 478.1 MB Notification: Performance of SimCode: time 8.21e-07/1.102, allocations: 0 / 0.6977 GB, free: 15.77 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3294/1.432, allocations: 85.39 MB / 0.7811 GB, free: 153.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.11/27.54, allocations: 8.203 kB / 0.7811 GB, free: 153.5 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