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.001275/0.001275, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001445/0.001445, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9048/0.9048, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.863e-06/1.863e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.563e-05/1.749e-05, allocations: 2.844 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.009434/0.009452, allocations: 11.77 MB / 336.3 MB, free: 4.082 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007752/0.0172, allocations: 4.651 MB / 340.9 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.01839, allocations: 107.4 kB / 341 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004166/0.02255, allocations: 4.279 MB / 345.3 MB, free: 11.01 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002867/0.02542, allocations: 2.25 MB / 347.6 MB, free: 8.754 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.02685, allocations: 1.204 MB / 348.8 MB, free: 7.547 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006036/0.03289, allocations: 6.806 MB / 355.6 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004001/0.03689, allocations: 4.576 MB / 360.2 MB, free: 12.09 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00364/0.04053, allocations: 3.286 MB / 363.4 MB, free: 8.793 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002842/0.04337, allocations: 3.102 MB / 366.5 MB, free: 5.684 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000642/0.04401, allocations: 0.5 MB / 367 MB, free: 5.184 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.04572, allocations: 1.58 MB / 368.6 MB, free: 3.602 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001673/0.04739, allocations: 2.774 MB / 371.4 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001527/0.04891, allocations: 1.804 MB / 373.2 MB, free: 15.01 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00705/0.05597, allocations: 9.834 MB / 383 MB, free: 5.148 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.05597, allocations: 7.984 kB / 383 MB, free: 5.141 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.05597, allocations: 0 / 383 MB, free: 5.141 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002306/0.0562, allocations: 4 kB / 383 MB, free: 5.137 MB / 346.7 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.01172/0.06792, allocations: 6.35 MB / 389.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.06797, allocations: 19.97 kB / 389.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001252/0.06922, allocations: 0.9364 MB / 390.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01934/0.08857, allocations: 6.504 MB / 396.9 MB, free: 7.234 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006458/0.09502, allocations: 3.851 MB / 400.7 MB, free: 3.336 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001738/0.0952, allocations: 304.3 kB / 401 MB, free: 3.035 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008949/0.09609, allocations: 448.2 kB / 401.4 MB, free: 2.598 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01345/0.1095, allocations: 12.41 MB / 413.8 MB, free: 5.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.531e-05/0.1096, allocations: 51.59 kB / 413.9 MB, free: 5.379 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003482/0.11, allocations: 187.9 kB / 414.1 MB, free: 5.195 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001749/0.1117, allocations: 2.039 MB / 416.1 MB, free: 3.152 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/0.1242, allocations: 10.34 MB / 426.5 MB, free: 8.801 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1884/0.3127, allocations: 42.03 MB / 468.5 MB, free: 83.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006306/0.319, allocations: 4.367 MB / 472.9 MB, free: 83.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.3203, allocations: 1.837 MB / 474.7 MB, free: 82.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005165/0.3254, allocations: 5.894 MB / 480.6 MB, free: 80.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.3255, allocations: 50.91 kB / 480.6 MB, free: 80.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 3.587e-06/0.3255, allocations: 0.5625 kB / 480.6 MB, free: 80.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=223): time 0.03115/0.3566, allocations: 20 MB / 0.4889 GB, free: 62.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.3567, allocations: 209.4 kB / 0.4891 GB, free: 62.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003399/0.3601, allocations: 5.061 MB / 0.494 GB, free: 57.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.108e-05/0.3602, allocations: 61.7 kB / 0.4941 GB, free: 57.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009171/0.3611, allocations: 3.665 MB / 0.4977 GB, free: 53.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003366/0.3614, allocations: 0.8674 MB / 0.4985 GB, free: 52.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000839/0.3622, allocations: 1.259 MB / 0.4998 GB, free: 51.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.76e-05/0.3623, allocations: 302.4 kB / 0.5 GB, free: 51.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001787/0.3641, allocations: 2.234 MB / 0.5022 GB, free: 48.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002607/0.3667, allocations: 6.025 MB / 0.5081 GB, free: 41.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005085/0.3718, allocations: 8.921 MB / 0.5168 GB, free: 30.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.064e-05/0.3718, allocations: 40 kB / 0.5169 GB, free: 30.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.008576/0.3804, allocations: 9.046 MB / 0.5257 GB, free: 21.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.612e-05/0.3804, allocations: 60 kB / 0.5258 GB, free: 21.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.728e-05/0.3805, allocations: 133.6 kB / 0.5259 GB, free: 21.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00185/0.3823, allocations: 1.203 MB / 0.5271 GB, free: 19.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001966/0.3843, allocations: 1.423 MB / 0.5284 GB, free: 18.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00597/0.3903, allocations: 7.836 MB / 0.5361 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002503/0.3928, allocations: 411.2 kB / 0.5365 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002438/0.393, allocations: 383.6 kB / 0.5369 GB, free: 9.73 MB / 410.7 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.00205/0.395, allocations: 2.485 MB / 0.5393 GB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002909/0.3953, allocations: 433.1 kB / 0.5397 GB, free: 6.809 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003844/0.3992, allocations: 3.865 MB / 0.5435 GB, free: 2.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.3992, allocations: 24 kB / 0.5435 GB, free: 2.906 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.3992, allocations: 8 kB / 0.5435 GB, free: 2.898 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.3992, allocations: 15.91 kB / 0.5435 GB, free: 2.883 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/0.4095, allocations: 9.641 MB / 0.5529 GB, free: 9.148 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.4095, allocations: 4 kB / 0.5529 GB, free: 9.145 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007629/0.4103, allocations: 335.5 kB / 0.5533 GB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00182/0.4121, allocations: 0.9846 MB / 0.5542 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/0.4122, allocations: 40 kB / 0.5543 GB, free: 7.789 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00623/0.4184, allocations: 6.538 MB / 0.5606 GB, free: 1.141 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/0.4184, allocations: 15.3 kB / 0.5607 GB, free: 1.129 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007106/0.4255, allocations: 6.604 MB / 0.5671 GB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006309/0.4261, allocations: 456.8 kB / 0.5675 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002651/0.4264, allocations: 36 kB / 0.5676 GB, free: 9.965 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009728/0.4274, allocations: 163.4 kB / 0.5677 GB, free: 9.809 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/0.4276, allocations: 156.9 kB / 0.5679 GB, free: 9.656 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.422e-05/0.4277, allocations: 63.98 kB / 0.5679 GB, free: 9.594 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002922/0.4306, allocations: 3.105 MB / 0.571 GB, free: 6.488 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4306, allocations: 0 / 0.571 GB, free: 6.488 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003262/0.4339, allocations: 1.285 MB / 0.5722 GB, free: 5.203 MB / 442.7 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.007093/0.441, allocations: 7.335 MB / 0.5794 GB, free: 13.78 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005486/0.4465, allocations: 5.318 MB / 0.5846 GB, free: 8.477 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4465, allocations: 0 / 0.5846 GB, free: 8.477 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001623/0.4481, allocations: 1.715 MB / 0.5863 GB, free: 6.75 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.4498, allocations: 0.5751 MB / 0.5868 GB, free: 6.18 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1876/0.6374, allocations: 52.61 MB / 0.6382 GB, free: 166.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002312/0.6397, allocations: 3.34 MB / 0.6415 GB, free: 165.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002487/0.6422, allocations: 1.952 MB / 0.6434 GB, free: 165.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001598/0.6438, allocations: 2.308 MB / 0.6456 GB, free: 163 MB / 490.7 MB Notification: Performance of SimCode: time 1.503e-06/0.6438, allocations: 0 / 0.6456 GB, free: 163 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07637/0.7201, allocations: 87 MB / 0.7306 GB, free: 76.85 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.92, allocations: 0 / 0.7306 GB, free: 76.85 MB / 490.7 MB " [Timeout remaining time 648] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins/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: 13.856528460048139]