Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001518/0.001518, allocations: 116.4 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001855/0.001855, allocations: 214.3 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.571/1.571, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002724/0.002724, allocations: 59.91 kB / 377.8 MB, free: 3.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2812, allocations: 53.41 MB / 431.2 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01602/0.2972, allocations: 13.53 MB / 444.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01043/0.3077, allocations: 4.946 MB / 449.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001984/0.3096, allocations: 111.4 kB / 449.8 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008324/0.318, allocations: 4.237 MB / 454 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006102/0.3241, allocations: 2.179 MB / 456.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003405/0.3275, allocations: 1.103 MB / 457.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01071/0.3382, allocations: 6.068 MB / 463.4 MB, free: 6.457 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006633/0.3448, allocations: 4.062 MB / 467.4 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004729/0.3496, allocations: 2.193 MB / 469.6 MB, free: 132 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005634/0.3552, allocations: 3.085 MB / 472.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001821/0.357, allocations: 500 kB / 473.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004245/0.3613, allocations: 1.666 MB / 474.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004136/0.3654, allocations: 2.661 MB / 477.5 MB, free: 8.211 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005828/0.3712, allocations: 2.945 MB / 480.5 MB, free: 5.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01481/0.386, allocations: 9.652 MB / 490.1 MB, free: 11.56 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.386, allocations: 0 / 490.1 MB, free: 11.56 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.386, allocations: 4 kB / 490.1 MB, free: 11.56 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003875/0.3864, allocations: 3.938 kB / 490.1 MB, free: 11.55 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.02046/0.4069, allocations: 6.28 MB / 496.4 MB, free: 5.207 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.4069, allocations: 8.031 kB / 496.4 MB, free: 5.199 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003066/0.41, allocations: 0.9325 MB / 497.3 MB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04007/0.4501, allocations: 6.047 MB / 0.4916 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01132/0.4614, allocations: 4.183 MB / 0.4957 GB, free: 9.945 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003465/0.4617, allocations: 312.1 kB / 0.496 GB, free: 9.637 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001915/0.4637, allocations: 443.7 kB / 0.4964 GB, free: 9.203 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02698/0.4906, allocations: 12.31 MB / 0.5084 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002718/0.4909, allocations: 55.56 kB / 0.5085 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009105/0.4918, allocations: 187.9 kB / 0.5086 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003616/0.4954, allocations: 2.031 MB / 0.5106 GB, free: 9.875 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02443/0.5199, allocations: 10.37 MB / 0.5208 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.282/0.8018, allocations: 43.83 MB / 0.5636 GB, free: 68.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01159/0.8134, allocations: 4.218 MB / 0.5677 GB, free: 67.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002456/0.8159, allocations: 1.851 MB / 0.5695 GB, free: 66.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01098/0.8269, allocations: 6.051 MB / 0.5754 GB, free: 63.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.749e-05/0.8269, allocations: 63.45 kB / 0.5755 GB, free: 63.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 4.438e-06/0.8269, allocations: 0 / 0.5755 GB, free: 63.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.05829/0.8852, allocations: 19.17 MB / 0.5942 GB, free: 47.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/0.8853, allocations: 205.9 kB / 0.5944 GB, free: 47.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005545/0.8908, allocations: 4.489 MB / 0.5988 GB, free: 42.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003747/0.8912, allocations: 61.7 kB / 0.5988 GB, free: 42.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001694/0.8929, allocations: 3.694 MB / 0.6024 GB, free: 39.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007818/0.8937, allocations: 0.8767 MB / 0.6033 GB, free: 38.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001591/0.8953, allocations: 1.275 MB / 0.6045 GB, free: 37.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.618e-05/0.8953, allocations: 305.1 kB / 0.6048 GB, free: 36.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002837/0.8982, allocations: 2.234 MB / 0.607 GB, free: 34.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004548/0.9027, allocations: 5.979 MB / 0.6128 GB, free: 26.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007882/0.9106, allocations: 8.921 MB / 0.6216 GB, free: 15.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.211e-05/0.9107, allocations: 36 kB / 0.6216 GB, free: 15.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.01459/0.9253, allocations: 9.06 MB / 0.6304 GB, free: 6.809 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.245e-05/0.9253, allocations: 67.94 kB / 0.6305 GB, free: 6.742 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001198/0.9255, allocations: 132 kB / 0.6306 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00337/0.9288, allocations: 1.203 MB / 0.6318 GB, free: 5.406 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003946/0.9328, allocations: 1.419 MB / 0.6332 GB, free: 3.984 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/0.9439, allocations: 7.893 MB / 0.6409 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004631/0.9485, allocations: 343.6 kB / 0.6412 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001008/0.9495, allocations: 379.9 kB / 0.6416 GB, free: 11.28 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 (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.004633/0.9541, allocations: 2.486 MB / 0.644 GB, free: 8.777 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009244/0.955, allocations: 429.1 kB / 0.6444 GB, free: 8.355 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008823/0.9639, allocations: 3.873 MB / 0.6482 GB, free: 4.469 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.285e-05/0.9639, allocations: 24 kB / 0.6482 GB, free: 4.445 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.752e-05/0.9639, allocations: 8 kB / 0.6482 GB, free: 4.438 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.629e-05/0.964, allocations: 7.969 kB / 0.6482 GB, free: 4.43 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02129/0.9853, allocations: 9.91 MB / 0.6579 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.089e-05/0.9853, allocations: 5.875 kB / 0.6579 GB, free: 10.42 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/0.9871, allocations: 335.5 kB / 0.6582 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003619/0.9907, allocations: 0.9883 MB / 0.6592 GB, free: 9.102 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003346/0.991, allocations: 40 kB / 0.6593 GB, free: 9.062 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/1.002, allocations: 6.583 MB / 0.6657 GB, free: 2.367 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/1.002, allocations: 11.94 kB / 0.6657 GB, free: 2.355 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01332/1.015, allocations: 6.617 MB / 0.6722 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/1.016, allocations: 401 kB / 0.6725 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009673/1.017, allocations: 39.98 kB / 0.6726 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001931/1.019, allocations: 107.9 kB / 0.6727 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004276/1.02, allocations: 156.9 kB / 0.6728 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001646/1.02, allocations: 60 kB / 0.6729 GB, free: 10.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005103/1.025, allocations: 2.824 MB / 0.6756 GB, free: 8.086 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.025, allocations: 0 / 0.6756 GB, free: 8.086 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006348/1.031, allocations: 1.167 MB / 0.6768 GB, free: 6.922 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 (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.01365/1.045, allocations: 7.33 MB / 0.6839 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009894/1.055, allocations: 5.324 MB / 0.6891 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/1.055, allocations: 4.875 kB / 0.6891 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003382/1.058, allocations: 1.703 MB / 0.6908 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003787/1.062, allocations: 0.5691 MB / 0.6914 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3228/1.385, allocations: 51.57 MB / 0.7417 GB, free: 194.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006927/1.392, allocations: 3.865 MB / 0.7455 GB, free: 193.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005096/1.397, allocations: 1.939 MB / 0.7474 GB, free: 193.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003642/1.401, allocations: 2.287 MB / 0.7496 GB, free: 192.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.763e-06/1.401, allocations: 3.906 kB / 0.7496 GB, free: 192.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1487/1.549, allocations: 89.48 MB / 0.837 GB, free: 113.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.2/30.75, allocations: 4.062 kB / 0.837 GB, free: 113.3 MB / 0.545 GB " [Timeout remaining time 629] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.csv","/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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable j1.phi in file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.csv. Warning: Get data of variable j1.phi from file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.csv failed! Error: Could not read variable j1.w in file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.csv. Warning: Get data of variable j1.w from file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 33.51988130400059]