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.001795/0.001795, allocations: 107.1 kB / 20.44 MB, free: 1.328 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.002136/0.002136, allocations: 202 kB / 23.72 MB, free: 4.5 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.48/1.48, allocations: 230.5 MB / 257.4 MB, free: 7.746 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.002328/0.002328, allocations: 67.89 kB / 377.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3054, allocations: 53.42 MB / 431.1 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.0149/0.3203, allocations: 11.75 MB / 442.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01086/0.3311, allocations: 4.647 MB / 447.5 MB, free: 6.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002788/0.3339, allocations: 107.5 kB / 447.6 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008583/0.3425, allocations: 4.058 MB / 451.7 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006639/0.3491, allocations: 2.186 MB / 453.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003189/0.3523, allocations: 1.115 MB / 455 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009392/0.3617, allocations: 6.06 MB / 461.1 MB, free: 8.461 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00681/0.3685, allocations: 4.046 MB / 465.1 MB, free: 4.348 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004513/0.373, allocations: 2.185 MB / 467.3 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005028/0.3781, allocations: 2.882 MB / 470.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001577/0.3796, allocations: 0.4922 MB / 470.7 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003729/0.3834, allocations: 1.518 MB / 472.2 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003843/0.3872, allocations: 2.661 MB / 474.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005122/0.3923, allocations: 2.222 MB / 477.1 MB, free: 8.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01589/0.4082, allocations: 9.695 MB / 486.8 MB, free: 14.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.465e-05/0.4082, allocations: 4 kB / 486.8 MB, free: 14.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4082, allocations: 0 / 486.8 MB, free: 14.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004563/0.4087, allocations: 7.938 kB / 486.8 MB, free: 14.61 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.0186/0.4273, allocations: 6.268 MB / 493 MB, free: 8.273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.082e-05/0.4274, allocations: 15.98 kB / 493.1 MB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002571/0.4299, allocations: 0.9364 MB / 494 MB, free: 7.309 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03818/0.4681, allocations: 6.047 MB / 0.4883 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01139/0.4795, allocations: 4.191 MB / 0.4924 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003919/0.4799, allocations: 316 kB / 0.4927 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002024/0.4819, allocations: 435.8 kB / 0.4931 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02945/0.5114, allocations: 12.4 MB / 0.5052 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002637/0.5116, allocations: 51.56 kB / 0.5053 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001416/0.513, allocations: 191.9 kB / 0.5055 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003614/0.5167, allocations: 2.027 MB / 0.5075 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02339/0.5401, allocations: 10.36 MB / 0.5176 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.285/0.825, allocations: 41.63 MB / 0.5582 GB, free: 71.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0112/0.8362, allocations: 4.197 MB / 0.5623 GB, free: 70.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002118/0.8384, allocations: 1.848 MB / 0.5641 GB, free: 69.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009737/0.8481, allocations: 5.627 MB / 0.5696 GB, free: 67.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.8481, allocations: 51.38 kB / 0.5697 GB, free: 67.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 5.29e-06/0.8481, allocations: 0 / 0.5697 GB, free: 67.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.06063/0.9088, allocations: 19.21 MB / 0.5884 GB, free: 49.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.857e-05/0.9089, allocations: 205.3 kB / 0.5886 GB, free: 49.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006255/0.9151, allocations: 4.717 MB / 0.5932 GB, free: 44.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000359/0.9155, allocations: 61.7 kB / 0.5933 GB, free: 44.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001877/0.9173, allocations: 3.695 MB / 0.5969 GB, free: 41.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008013/0.9181, allocations: 0.8695 MB / 0.5978 GB, free: 40.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002207/0.9204, allocations: 1.278 MB / 0.599 GB, free: 39.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.524e-05/0.9204, allocations: 301.1 kB / 0.5993 GB, free: 38.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00286/0.9233, allocations: 2.23 MB / 0.6015 GB, free: 36.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004088/0.9273, allocations: 6.034 MB / 0.6074 GB, free: 28.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0076/0.9349, allocations: 8.919 MB / 0.6161 GB, free: 18.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001248/0.9351, allocations: 36 kB / 0.6161 GB, free: 18.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.01454/0.9496, allocations: 9.068 MB / 0.625 GB, free: 8.961 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.9497, allocations: 62.5 kB / 0.625 GB, free: 8.902 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001805/0.9499, allocations: 132 kB / 0.6251 GB, free: 8.773 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003523/0.9534, allocations: 1.207 MB / 0.6263 GB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004037/0.9575, allocations: 1.411 MB / 0.6277 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/0.9676, allocations: 7.802 MB / 0.6353 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004698/0.9723, allocations: 347.6 kB / 0.6357 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009708/0.9733, allocations: 383.4 kB / 0.636 GB, free: 13.52 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.004466/0.9777, allocations: 2.478 MB / 0.6384 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009719/0.9787, allocations: 429.1 kB / 0.6388 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008564/0.9873, allocations: 3.872 MB / 0.6426 GB, free: 6.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.29e-05/0.9873, allocations: 24 kB / 0.6426 GB, free: 6.707 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.859e-05/0.9874, allocations: 8 kB / 0.6427 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.894e-05/0.9874, allocations: 11.95 kB / 0.6427 GB, free: 6.688 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02327/1.011, allocations: 9.511 MB / 0.652 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.093e-05/1.011, allocations: 7.938 kB / 0.652 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001609/1.012, allocations: 327.5 kB / 0.6523 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003548/1.016, allocations: 0.9922 MB / 0.6532 GB, free: 11.76 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003268/1.016, allocations: 40 kB / 0.6533 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01065/1.027, allocations: 6.503 MB / 0.6596 GB, free: 5.102 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.969e-06/1.027, allocations: 11.94 kB / 0.6596 GB, free: 5.09 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01275/1.04, allocations: 6.629 MB / 0.6661 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00146/1.041, allocations: 393 kB / 0.6665 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001211/1.042, allocations: 44 kB / 0.6665 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002336/1.045, allocations: 107.9 kB / 0.6666 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004886/1.045, allocations: 148.9 kB / 0.6668 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002432/1.045, allocations: 71.8 kB / 0.6668 GB, free: 13.63 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005425/1.051, allocations: 2.824 MB / 0.6696 GB, free: 10.81 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/1.051, allocations: 0 / 0.6696 GB, free: 10.81 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006534/1.057, allocations: 1.152 MB / 0.6707 GB, free: 9.656 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.01333/1.071, allocations: 7.335 MB / 0.6779 GB, free: 2.234 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01003/1.081, allocations: 5.323 MB / 0.6831 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/1.081, allocations: 0 / 0.6831 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003168/1.084, allocations: 1.715 MB / 0.6848 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004193/1.088, allocations: 0.5571 MB / 0.6853 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08939/1.177, allocations: 51.55 MB / 0.7357 GB, free: 1.148 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2073/1.385, allocations: 3.357 MB / 0.7389 GB, free: 197.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005049/1.39, allocations: 1.937 MB / 0.7408 GB, free: 197.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003366/1.393, allocations: 2.287 MB / 0.7431 GB, free: 197 MB / 0.545 GB Notification: Performance of SimCode: time 1.482e-06/1.393, allocations: 0 / 0.7431 GB, free: 197 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1775/1.571, allocations: 84.88 MB / 0.8259 GB, free: 122.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.65/19.22, allocations: 0 / 0.8259 GB, free: 122.7 MB / 0.545 GB " [Timeout remaining time 641] (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: 21.951480858959258]