Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.001365/0.001365, allocations: 108.3 kB / 20.48 MB, free: 0.9805 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.001519/0.001519, allocations: 219.6 kB / 23.78 MB, free: 4.215 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.423/1.423, allocations: 230.5 MB / 257.5 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2278/0.2278, allocations: 46.96 MB / 360.9 MB, free: 3.859 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002425/0.002425, allocations: 76.06 kB / 0.4962 GB, free: 7.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3019, allocations: 66.08 MB / 0.5608 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01202/0.3139, allocations: 9.109 MB / 0.5697 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008244/0.3222, allocations: 3.695 MB / 0.5733 GB, free: 7.113 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/0.3238, allocations: 71.62 kB / 0.5733 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004388/0.3282, allocations: 2.032 MB / 0.5753 GB, free: 5.004 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004607/0.3328, allocations: 1.72 MB / 0.577 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.3346, allocations: 0.694 MB / 0.5777 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006285/0.3409, allocations: 4.009 MB / 0.5816 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003519/0.3445, allocations: 2.148 MB / 0.5837 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002751/0.3472, allocations: 1.331 MB / 0.585 GB, free: 11.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003581/0.3508, allocations: 1.904 MB / 0.5869 GB, free: 9.117 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008306/0.3516, allocations: 268 kB / 0.5871 GB, free: 8.855 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002473/0.3541, allocations: 1.084 MB / 0.5882 GB, free: 7.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002396/0.3565, allocations: 1.702 MB / 0.5898 GB, free: 6.062 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002504/0.359, allocations: 1.46 MB / 0.5913 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008335/0.3673, allocations: 6.366 MB / 0.5975 GB, free: 14.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.884e-06/0.3673, allocations: 4 kB / 0.5975 GB, free: 14.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3673, allocations: 0 / 0.5975 GB, free: 14.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001682/0.3675, allocations: 0 / 0.5975 GB, free: 14.2 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.01176/0.3793, allocations: 4.378 MB / 0.6018 GB, free: 9.766 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.3793, allocations: 12.03 kB / 0.6018 GB, free: 9.754 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001339/0.3806, allocations: 0.6249 MB / 0.6024 GB, free: 9.117 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08136/0.462, allocations: 7.317 MB / 0.6095 GB, free: 1.789 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007056/0.4691, allocations: 2.573 MB / 0.612 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002116/0.4693, allocations: 193.3 kB / 0.6122 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001061/0.4703, allocations: 271.8 kB / 0.6125 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01631/0.4867, allocations: 8.608 MB / 0.6209 GB, free: 5.434 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000116/0.4868, allocations: 35.7 kB / 0.6209 GB, free: 5.398 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003727/0.4871, allocations: 127.9 kB / 0.621 GB, free: 5.273 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002988/0.4901, allocations: 1.735 MB / 0.6227 GB, free: 3.539 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01458/0.5047, allocations: 7.143 MB / 0.6297 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04401/0.5487, allocations: 32.23 MB / 0.6612 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008935/0.5577, allocations: 2.913 MB / 0.664 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00252/0.5602, allocations: 1.518 MB / 0.6655 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01165/0.5718, allocations: 5.969 MB / 0.6714 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.303e-05/0.5719, allocations: 55.55 kB / 0.6714 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=151): time 5.229e-06/0.5719, allocations: 4 kB / 0.6714 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=188): time 0.06343/0.6353, allocations: 19.12 MB / 0.6901 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/0.6355, allocations: 205.2 kB / 0.6903 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006017/0.6415, allocations: 3.953 MB / 0.6941 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003723/0.6418, allocations: 53.7 kB / 0.6942 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002537/0.6444, allocations: 2.933 MB / 0.697 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001003/0.6454, allocations: 0.752 MB / 0.6978 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001786/0.6472, allocations: 1.171 MB / 0.6989 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.6473, allocations: 305.1 kB / 0.6992 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003346/0.6507, allocations: 2.042 MB / 0.7012 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00673/0.6574, allocations: 5.643 MB / 0.7067 GB, free: 10.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01126/0.6686, allocations: 8.289 MB / 0.7148 GB, free: 472 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001228/0.6688, allocations: 36 kB / 0.7149 GB, free: 436 kB / 0.545 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.02035/0.6891, allocations: 8.632 MB / 0.7233 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.6892, allocations: 56.47 kB / 0.7233 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002032/0.6894, allocations: 131.9 kB / 0.7235 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005641/0.6951, allocations: 1.462 MB / 0.7249 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004365/0.6994, allocations: 1.298 MB / 0.7262 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2716/0.9711, allocations: 8.799 MB / 0.7347 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004225/0.9753, allocations: 319.4 kB / 0.7351 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008571/0.9761, allocations: 354.3 kB / 0.7354 GB, free: 149.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (695): * Single equations (assignments): 691 * 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,44,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003192/0.9793, allocations: 1.892 MB / 0.7372 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006462/0.98, allocations: 354 kB / 0.7376 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007531/0.9875, allocations: 3.692 MB / 0.7412 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.495e-05/0.9876, allocations: 24.78 kB / 0.7412 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/0.9876, allocations: 11.3 kB / 0.7412 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.626e-05/0.9876, allocations: 7.406 kB / 0.7412 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01488/1.002, allocations: 7.676 MB / 0.7487 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/1.002, allocations: 6.594 kB / 0.7487 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/1.004, allocations: 253.2 kB / 0.749 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004411/1.008, allocations: 1.253 MB / 0.7502 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002421/1.008, allocations: 34.23 kB / 0.7502 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/1.018, allocations: 8.096 MB / 0.7581 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/1.018, allocations: 4.031 kB / 0.7581 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01028/1.029, allocations: 6.15 MB / 0.7641 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/1.03, allocations: 312.8 kB / 0.7644 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006506/1.03, allocations: 28.98 kB / 0.7645 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001549/1.032, allocations: 95.56 kB / 0.7646 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003618/1.032, allocations: 116 kB / 0.7647 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/1.032, allocations: 51.98 kB / 0.7647 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002886/1.035, allocations: 2.324 MB / 0.767 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.035, allocations: 0 / 0.767 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004404/1.04, allocations: 0.9579 MB / 0.7679 GB, free: 127.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.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 (130): * Single equations (assignments): 126 * 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,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009995/1.05, allocations: 6.79 MB / 0.7746 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006719/1.056, allocations: 4.878 MB / 0.7793 GB, free: 116 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.056, allocations: 2 kB / 0.7793 GB, free: 116 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001978/1.058, allocations: 1.548 MB / 0.7808 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002394/1.061, allocations: 403.7 kB / 0.7812 GB, free: 114 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05727/1.118, allocations: 43.92 MB / 0.8241 GB, free: 64.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002669/1.121, allocations: 2.421 MB / 0.8265 GB, free: 62.17 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003658/1.124, allocations: 1.811 MB / 0.8282 GB, free: 60.35 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002279/1.127, allocations: 1.645 MB / 0.8298 GB, free: 58.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.493e-06/1.127, allocations: 0 / 0.8298 GB, free: 58.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1106/1.237, allocations: 67.88 MB / 0.8961 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.93/18.17, allocations: 4.062 kB / 0.8961 GB, free: 7.484 MB / 0.5762 GB " [Timeout remaining time 642] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.220344664005097]