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.001427/0.001427, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001609/0.001609, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.533/1.533, allocations: 230.4 MB / 254 MB, free: 15.04 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.001927/0.001927, allocations: 63.89 kB / 373 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1163, allocations: 53.38 MB / 426.4 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.2483/0.3645, allocations: 13.5 MB / 439.9 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.3749, allocations: 4.902 MB / 444.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003392/0.3783, allocations: 102.8 kB / 444.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008789/0.3871, allocations: 4.222 MB / 449.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007775/0.3949, allocations: 2.158 MB / 451.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004583/0.3994, allocations: 1.107 MB / 452.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01143/0.4109, allocations: 6.058 MB / 458.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007423/0.4183, allocations: 4.424 MB / 462.8 MB, free: 8.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005563/0.4239, allocations: 2.185 MB / 465 MB, free: 6.781 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006041/0.4299, allocations: 3.084 MB / 468.1 MB, free: 4.855 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001972/0.4319, allocations: 0.4969 MB / 468.6 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004509/0.4364, allocations: 1.655 MB / 470.3 MB, free: 4.238 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0045/0.4409, allocations: 2.665 MB / 472.9 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006682/0.4476, allocations: 2.941 MB / 475.9 MB, free: 15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01645/0.464, allocations: 9.656 MB / 485.5 MB, free: 5.309 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.464, allocations: 0 / 485.5 MB, free: 5.309 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.464, allocations: 0 / 485.5 MB, free: 5.309 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003865/0.4644, allocations: 0 / 485.5 MB, free: 5.309 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.01877/0.4832, allocations: 6.362 MB / 491.9 MB, free: 14.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.4832, allocations: 12.03 kB / 491.9 MB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002855/0.4861, allocations: 0.9325 MB / 492.8 MB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04083/0.5269, allocations: 6.051 MB / 498.9 MB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01066/0.5376, allocations: 4.251 MB / 0.4913 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004002/0.538, allocations: 308.2 kB / 0.4916 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001978/0.54, allocations: 447.7 kB / 0.4921 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02987/0.5698, allocations: 12.33 MB / 0.5041 GB, free: 5.727 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002702/0.5701, allocations: 47.59 kB / 0.5041 GB, free: 5.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001404/0.5715, allocations: 191.9 kB / 0.5043 GB, free: 5.492 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003754/0.5753, allocations: 2.035 MB / 0.5063 GB, free: 3.453 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02568/0.6009, allocations: 10.36 MB / 0.5164 GB, free: 9.086 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07344/0.6744, allocations: 43.98 MB / 0.5594 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01489/0.6893, allocations: 4.668 MB / 0.5639 GB, free: 7.074 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003372/0.6926, allocations: 1.845 MB / 0.5657 GB, free: 5.223 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01453/0.7072, allocations: 7.097 MB / 0.5727 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.15e-05/0.7072, allocations: 51.56 kB / 0.5727 GB, free: 13.78 MB / 494.1 MB Notification: Performance of pre-optimization done (n=179): time 6.512e-06/0.7072, allocations: 0 / 0.5727 GB, free: 13.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=223): time 0.07435/0.7816, allocations: 19.25 MB / 0.5915 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/0.7817, allocations: 205.9 kB / 0.5917 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008602/0.7903, allocations: 4.485 MB / 0.5961 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005339/0.7909, allocations: 61.69 kB / 0.5961 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004211/0.7951, allocations: 3.693 MB / 0.5997 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00185/0.7969, allocations: 0.8762 MB / 0.6006 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003668/0.8006, allocations: 1.278 MB / 0.6019 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.8007, allocations: 305.1 kB / 0.6021 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004271/0.805, allocations: 2.234 MB / 0.6043 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007918/0.8129, allocations: 5.983 MB / 0.6102 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2432/1.056, allocations: 8.912 MB / 0.6189 GB, free: 151.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001691/1.056, allocations: 38 kB / 0.6189 GB, free: 151.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=830) (initialization): time 0.02363/1.08, allocations: 9.055 MB / 0.6278 GB, free: 149.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002319/1.08, allocations: 61.94 kB / 0.6278 GB, free: 149.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004238/1.081, allocations: 132.7 kB / 0.6279 GB, free: 149.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004588/1.085, allocations: 1.204 MB / 0.6291 GB, free: 149.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005337/1.091, allocations: 1.414 MB / 0.6305 GB, free: 149.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01308/1.104, allocations: 8.015 MB / 0.6383 GB, free: 145 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005364/1.109, allocations: 343.9 kB / 0.6386 GB, free: 144.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0013/1.11, allocations: 374.4 kB / 0.639 GB, free: 144.8 MB / 0.5137 GB 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.005472/1.116, allocations: 2.487 MB / 0.6414 GB, free: 143.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/1.117, allocations: 424.2 kB / 0.6418 GB, free: 143.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008753/1.126, allocations: 3.875 MB / 0.6456 GB, free: 142.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.223e-05/1.126, allocations: 23.19 kB / 0.6456 GB, free: 142.3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.858e-05/1.126, allocations: 11.88 kB / 0.6457 GB, free: 142.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-05/1.126, allocations: 10.5 kB / 0.6457 GB, free: 142.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02069/1.146, allocations: 9.942 MB / 0.6554 GB, free: 138.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.769e-05/1.146, allocations: 3.906 kB / 0.6554 GB, free: 138.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/1.148, allocations: 329.1 kB / 0.6557 GB, free: 138.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003436/1.151, allocations: 0.9826 MB / 0.6567 GB, free: 138.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003259/1.152, allocations: 41.88 kB / 0.6567 GB, free: 138.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00883/1.161, allocations: 6.706 MB / 0.6632 GB, free: 134.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.161, allocations: 3.75 kB / 0.6632 GB, free: 134.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0107/1.171, allocations: 6.619 MB / 0.6697 GB, free: 128.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001262/1.173, allocations: 472.4 kB / 0.6702 GB, free: 128.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001035/1.174, allocations: 49.19 kB / 0.6702 GB, free: 128.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002226/1.176, allocations: 107.9 kB / 0.6703 GB, free: 128.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004198/1.176, allocations: 150.5 kB / 0.6705 GB, free: 127.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001791/1.176, allocations: 61.56 kB / 0.6705 GB, free: 127.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0047/1.181, allocations: 2.824 MB / 0.6733 GB, free: 125 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/1.181, allocations: 0 / 0.6733 GB, free: 125 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006851/1.188, allocations: 1.158 MB / 0.6744 GB, free: 123.9 MB / 0.5137 GB 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.01138/1.199, allocations: 7.334 MB / 0.6816 GB, free: 116.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00814/1.207, allocations: 5.322 MB / 0.6868 GB, free: 111.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/1.207, allocations: 0 / 0.6868 GB, free: 111.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002433/1.21, allocations: 1.708 MB / 0.6884 GB, free: 109.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004174/1.214, allocations: 0.5564 MB / 0.689 GB, free: 108.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0781/1.292, allocations: 51.47 MB / 0.7392 GB, free: 51.53 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005829/1.298, allocations: 3.872 MB / 0.743 GB, free: 47.64 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00447/1.302, allocations: 1.932 MB / 0.7449 GB, free: 45.71 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003174/1.306, allocations: 2.296 MB / 0.7471 GB, free: 43.41 MB / 0.5137 GB Notification: Performance of SimCode: time 1.412e-06/1.306, allocations: 0 / 0.7471 GB, free: 43.41 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4197/1.725, allocations: 84.26 MB / 0.8294 GB, free: 177.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.5/29.23, allocations: 9.062 kB / 0.8294 GB, free: 177.9 MB / 0.545 GB " [Timeout remaining time 631] (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: 31.99722322798334]