Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 212.2 kB / 24.53 MB, free: 4.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.364/1.364, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_4_1_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_1_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.001441/0.001441, allocations: 47.92 kB / 378.6 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2257, allocations: 53.36 MB / 431.9 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01501/0.2407, allocations: 13.54 MB / 445.5 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.2509, allocations: 4.929 MB / 450.4 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002027/0.2529, allocations: 103.5 kB / 450.5 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007314/0.2602, allocations: 4.252 MB / 454.7 MB, free: 80 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005042/0.2653, allocations: 2.175 MB / 456.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002233/0.2675, allocations: 1.107 MB / 458 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007913/0.2754, allocations: 6.066 MB / 464.1 MB, free: 6.711 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004651/0.2801, allocations: 4.061 MB / 468.2 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002982/0.2831, allocations: 2.189 MB / 470.3 MB, free: 396 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005262/0.2883, allocations: 3.085 MB / 473.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009605/0.2893, allocations: 500 kB / 473.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00275/0.292, allocations: 1.67 MB / 475.6 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002406/0.2944, allocations: 2.657 MB / 478.2 MB, free: 8.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003084/0.2975, allocations: 2.945 MB / 481.2 MB, free: 5.508 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01048/0.308, allocations: 9.66 MB / 490.8 MB, free: 11.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.308, allocations: 0 / 490.8 MB, free: 11.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.308, allocations: 0 / 490.8 MB, free: 11.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001723/0.3082, allocations: 7.938 kB / 490.9 MB, free: 11.8 MB / 398.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.01257/0.3207, allocations: 6.284 MB / 497.1 MB, free: 5.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.3208, allocations: 8.031 kB / 497.1 MB, free: 5.445 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002115/0.321, allocations: 147.3 kB / 497.3 MB, free: 5.297 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001432/0.3224, allocations: 0.9366 MB / 498.2 MB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03758/0.36, allocations: 6.051 MB / 0.4925 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009587/0.3696, allocations: 4.187 MB / 0.4965 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002769/0.3699, allocations: 311.9 kB / 0.4968 GB, free: 9.723 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001341/0.3712, allocations: 439.7 kB / 0.4973 GB, free: 9.293 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02241/0.3936, allocations: 12.33 MB / 0.5093 GB, free: 12.22 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001518/0.3938, allocations: 59.52 kB / 0.5094 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005084/0.3943, allocations: 191.9 kB / 0.5095 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003157/0.3975, allocations: 2.031 MB / 0.5115 GB, free: 9.941 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02094/0.4184, allocations: 10.38 MB / 0.5217 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2271/0.6455, allocations: 43.86 MB / 0.5645 GB, free: 69.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/0.6565, allocations: 4.294 MB / 0.5687 GB, free: 68.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001981/0.6584, allocations: 1.839 MB / 0.5705 GB, free: 67.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008443/0.6669, allocations: 6.066 MB / 0.5764 GB, free: 63.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.6669, allocations: 59.75 kB / 0.5765 GB, free: 63.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 4.138e-06/0.6669, allocations: 3.938 kB / 0.5765 GB, free: 63.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=225): time 0.0557/0.7226, allocations: 19.2 MB / 0.5952 GB, free: 47.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.7227, allocations: 201.9 kB / 0.5954 GB, free: 47.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004016/0.7267, allocations: 4.5 MB / 0.5998 GB, free: 42.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002351/0.7269, allocations: 61 kB / 0.5999 GB, free: 42.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001309/0.7282, allocations: 3.697 MB / 0.6035 GB, free: 39.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005337/0.7288, allocations: 0.877 MB / 0.6043 GB, free: 38.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00116/0.7299, allocations: 1.282 MB / 0.6056 GB, free: 37.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.288e-05/0.73, allocations: 301.1 kB / 0.6059 GB, free: 36.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002368/0.7323, allocations: 2.234 MB / 0.608 GB, free: 34.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003434/0.7358, allocations: 5.983 MB / 0.6139 GB, free: 26.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006518/0.7423, allocations: 8.934 MB / 0.6226 GB, free: 16.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.834e-05/0.7423, allocations: 36 kB / 0.6227 GB, free: 16.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=832) (initialization): time 0.01281/0.7551, allocations: 9.047 MB / 0.6315 GB, free: 6.996 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.253e-05/0.7552, allocations: 66.75 kB / 0.6315 GB, free: 6.934 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.909e-05/0.7553, allocations: 135.9 kB / 0.6317 GB, free: 6.801 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003025/0.7583, allocations: 1.206 MB / 0.6329 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003588/0.7619, allocations: 1.415 MB / 0.6342 GB, free: 4.172 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009854/0.7718, allocations: 7.907 MB / 0.642 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004272/0.776, allocations: 339.6 kB / 0.6423 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007187/0.7767, allocations: 376 kB / 0.6426 GB, free: 11.46 MB / 462.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.003703/0.7804, allocations: 2.489 MB / 0.6451 GB, free: 8.961 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000772/0.7812, allocations: 429.1 kB / 0.6455 GB, free: 8.539 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007692/0.7889, allocations: 3.877 MB / 0.6493 GB, free: 4.645 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.361e-05/0.7889, allocations: 24 kB / 0.6493 GB, free: 4.621 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/0.789, allocations: 8 kB / 0.6493 GB, free: 4.613 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.147e-05/0.789, allocations: 15.95 kB / 0.6493 GB, free: 4.598 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01758/0.8066, allocations: 9.965 MB / 0.659 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/0.8066, allocations: 12.12 kB / 0.6591 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/0.808, allocations: 327.5 kB / 0.6594 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003212/0.8112, allocations: 0.9917 MB / 0.6603 GB, free: 9.207 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/0.8114, allocations: 43.98 kB / 0.6604 GB, free: 9.164 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009763/0.8211, allocations: 6.58 MB / 0.6668 GB, free: 2.469 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.8211, allocations: 8 kB / 0.6668 GB, free: 2.461 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/0.8323, allocations: 6.651 MB / 0.6733 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/0.8334, allocations: 397 kB / 0.6737 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004366/0.8338, allocations: 43.98 kB / 0.6737 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/0.8353, allocations: 107.9 kB / 0.6738 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003515/0.8356, allocations: 156.9 kB / 0.674 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/0.8358, allocations: 63.44 kB / 0.674 GB, free: 10.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004098/0.8399, allocations: 2.824 MB / 0.6768 GB, free: 8.152 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8399, allocations: 0 / 0.6768 GB, free: 8.152 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004668/0.8446, allocations: 1.16 MB / 0.6779 GB, free: 6.992 MB / 494.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.01182/0.8564, allocations: 7.354 MB / 0.6851 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008419/0.8648, allocations: 5.327 MB / 0.6903 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.8648, allocations: 0 / 0.6903 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002622/0.8674, allocations: 1.705 MB / 0.692 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003067/0.8705, allocations: 0.5833 MB / 0.6926 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2686/1.139, allocations: 51.61 MB / 0.7429 GB, free: 194.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004558/1.144, allocations: 3.873 MB / 0.7467 GB, free: 193.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003945/1.148, allocations: 1.937 MB / 0.7486 GB, free: 193.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002367/1.15, allocations: 2.31 MB / 0.7509 GB, free: 193.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.212e-06/1.15, allocations: 0 / 0.7509 GB, free: 193.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.123/1.273, allocations: 89.67 MB / 0.8384 GB, free: 113.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.81/23.09, allocations: 11.62 kB / 0.8385 GB, free: 113.6 MB / 0.545 GB " [Timeout remaining time 637] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.131308408046607]