Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 108.6 kB / 21.22 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 187.7 kB / 24.5 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 47.92 kB / 371.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2481, allocations: 52.19 MB / 423.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.0268/0.2749, allocations: 13.58 MB / 437 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01119/0.2861, allocations: 4.903 MB / 441.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.2877, allocations: 107.4 kB / 442 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007103/0.2948, allocations: 4.252 MB / 446.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005021/0.2999, allocations: 2.21 MB / 448.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002245/0.3021, allocations: 1.104 MB / 449.6 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008966/0.3111, allocations: 5.991 MB / 455.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005852/0.3169, allocations: 4.078 MB / 459.6 MB, free: 10.22 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004404/0.3213, allocations: 2.189 MB / 461.8 MB, free: 8.027 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005397/0.3267, allocations: 3.089 MB / 464.9 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001711/0.3284, allocations: 0.4922 MB / 465.4 MB, free: 4.438 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004088/0.3325, allocations: 1.697 MB / 467.1 MB, free: 2.738 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003972/0.3365, allocations: 2.673 MB / 469.8 MB, free: 60 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005681/0.3422, allocations: 2.957 MB / 472.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01469/0.3569, allocations: 9.706 MB / 482.4 MB, free: 3.344 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.3569, allocations: 0 / 482.4 MB, free: 3.344 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3569, allocations: 4 kB / 482.4 MB, free: 3.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003125/0.3572, allocations: 3.938 kB / 482.5 MB, free: 3.336 MB / 382.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.01561/0.3728, allocations: 6.295 MB / 488.7 MB, free: 12.97 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3728, allocations: 8.031 kB / 488.8 MB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001703/0.373, allocations: 155.3 kB / 488.9 MB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001542/0.3746, allocations: 0.9327 MB / 489.8 MB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03791/0.4125, allocations: 6.055 MB / 495.9 MB, free: 5.797 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009762/0.4222, allocations: 4.405 MB / 0.4886 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000277/0.4225, allocations: 307.9 kB / 0.4889 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001253/0.4238, allocations: 443.7 kB / 0.4893 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0223/0.4461, allocations: 12.32 MB / 0.5013 GB, free: 3.531 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001485/0.4462, allocations: 59.53 kB / 0.5014 GB, free: 3.473 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005/0.4467, allocations: 187.9 kB / 0.5016 GB, free: 3.289 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003119/0.4498, allocations: 2.035 MB / 0.5035 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02057/0.4704, allocations: 10.38 MB / 0.5137 GB, free: 6.863 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2652/0.7356, allocations: 43.84 MB / 0.5565 GB, free: 77.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/0.7467, allocations: 4.295 MB / 0.5607 GB, free: 76.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001946/0.7486, allocations: 1.839 MB / 0.5625 GB, free: 76.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008504/0.7571, allocations: 6.066 MB / 0.5684 GB, free: 73.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.7572, allocations: 60.91 kB / 0.5685 GB, free: 73.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 5.17e-06/0.7572, allocations: 0 / 0.5685 GB, free: 73.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=225): time 0.0587/0.8159, allocations: 19.29 MB / 0.5873 GB, free: 57.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.8159, allocations: 205.9 kB / 0.5875 GB, free: 57.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004532/0.8205, allocations: 4.504 MB / 0.5919 GB, free: 52.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003464/0.8208, allocations: 53.7 kB / 0.5919 GB, free: 52.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001395/0.8222, allocations: 3.705 MB / 0.5956 GB, free: 49.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006268/0.8228, allocations: 0.881 MB / 0.5964 GB, free: 48.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001217/0.8241, allocations: 1.279 MB / 0.5977 GB, free: 46.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.484e-05/0.8241, allocations: 301.1 kB / 0.598 GB, free: 46.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00236/0.8265, allocations: 2.234 MB / 0.6001 GB, free: 44.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00343/0.8299, allocations: 5.978 MB / 0.606 GB, free: 36.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0071/0.837, allocations: 8.921 MB / 0.6147 GB, free: 25.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.361e-05/0.8371, allocations: 43.5 kB / 0.6147 GB, free: 25.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=832) (initialization): time 0.01354/0.8506, allocations: 9.049 MB / 0.6236 GB, free: 16.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.627e-05/0.8507, allocations: 72 kB / 0.6236 GB, free: 16.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.416e-05/0.8508, allocations: 128 kB / 0.6238 GB, free: 16.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003097/0.8539, allocations: 1.206 MB / 0.6249 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003806/0.8577, allocations: 1.415 MB / 0.6263 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008602/0.8663, allocations: 7.907 MB / 0.634 GB, free: 5.988 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00451/0.8708, allocations: 343.5 kB / 0.6344 GB, free: 5.652 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008127/0.8716, allocations: 376 kB / 0.6347 GB, free: 5.285 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 (768): * Single equations (assignments): 764 * 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.003554/0.8751, allocations: 2.49 MB / 0.6372 GB, free: 2.781 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007364/0.8759, allocations: 429.1 kB / 0.6376 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007358/0.8832, allocations: 3.873 MB / 0.6413 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.701e-05/0.8833, allocations: 24 kB / 0.6414 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.638e-05/0.8833, allocations: 8 kB / 0.6414 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.321e-05/0.8833, allocations: 11.95 kB / 0.6414 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01987/0.9032, allocations: 9.962 MB / 0.6511 GB, free: 4.363 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/0.9032, allocations: 4 kB / 0.6511 GB, free: 4.359 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/0.9046, allocations: 336.1 kB / 0.6514 GB, free: 4.031 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003319/0.9079, allocations: 0.9956 MB / 0.6524 GB, free: 3.031 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001986/0.9081, allocations: 44 kB / 0.6525 GB, free: 2.988 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0102/0.9183, allocations: 6.581 MB / 0.6589 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.9183, allocations: 4 kB / 0.6589 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01199/0.9303, allocations: 6.633 MB / 0.6654 GB, free: 5.586 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/0.9315, allocations: 396.9 kB / 0.6657 GB, free: 5.195 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008156/0.9323, allocations: 43.98 kB / 0.6658 GB, free: 5.152 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00195/0.9343, allocations: 107.9 kB / 0.6659 GB, free: 5.047 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003884/0.9347, allocations: 153 kB / 0.666 GB, free: 4.895 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001663/0.9348, allocations: 60 kB / 0.6661 GB, free: 4.836 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005005/0.9398, allocations: 2.836 MB / 0.6689 GB, free: 2 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.9398, allocations: 0 / 0.6689 GB, free: 2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005197/0.945, allocations: 1.179 MB / 0.67 GB, free: 0.8203 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 (175): * Single equations (assignments): 171 * 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.01205/0.9571, allocations: 7.341 MB / 0.6772 GB, free: 9.395 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008861/0.966, allocations: 5.312 MB / 0.6824 GB, free: 4.102 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/0.966, allocations: 4.375 kB / 0.6824 GB, free: 4.098 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002722/0.9687, allocations: 1.711 MB / 0.684 GB, free: 2.375 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003592/0.9723, allocations: 0.5677 MB / 0.6846 GB, free: 1.812 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0875/1.06, allocations: 51.61 MB / 0.735 GB, free: 8.227 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006039/1.066, allocations: 3.875 MB / 0.7388 GB, free: 4.316 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004606/1.07, allocations: 1.946 MB / 0.7407 GB, free: 2.363 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003485/1.074, allocations: 2.307 MB / 0.7429 GB, free: 56 kB / 0.545 GB Notification: Performance of SimCode: time 1.052e-06/1.074, allocations: 0 / 0.7429 GB, free: 56 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2867/1.361, allocations: 89.88 MB / 0.8307 GB, free: 128.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.25/23.61, allocations: 8 kB / 0.8307 GB, free: 128.6 MB / 0.545 GB " [Timeout remaining time 636] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 27.670311797002796]