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.001335/0.001335, allocations: 114 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.001365/0.001365, allocations: 214.9 kB / 23.74 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.388/1.388, allocations: 230.5 MB / 257.4 MB, free: 8 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.2176/0.2176, allocations: 46.92 MB / 360.8 MB, free: 4.176 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.002229/0.002229, allocations: 87.88 kB / 0.4962 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2959, allocations: 66.08 MB / 0.5607 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01166/0.3076, allocations: 10.41 MB / 0.5709 GB, free: 9.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007513/0.3151, allocations: 3.944 MB / 0.5748 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.3162, allocations: 75.62 kB / 0.5748 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003745/0.3199, allocations: 2.102 MB / 0.5769 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003561/0.3235, allocations: 1.715 MB / 0.5786 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.3248, allocations: 0.7018 MB / 0.5792 GB, free: 1.258 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005002/0.3298, allocations: 4.008 MB / 0.5832 GB, free: 13.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002505/0.3324, allocations: 2.152 MB / 0.5853 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001692/0.334, allocations: 1.331 MB / 0.5866 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002563/0.3366, allocations: 2.005 MB / 0.5885 GB, free: 7.688 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004891/0.3371, allocations: 264 kB / 0.5888 GB, free: 7.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00202/0.3391, allocations: 1.221 MB / 0.59 GB, free: 6.207 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001655/0.3408, allocations: 1.714 MB / 0.5916 GB, free: 4.488 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002162/0.3429, allocations: 1.949 MB / 0.5935 GB, free: 2.527 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006953/0.3499, allocations: 6.346 MB / 0.5997 GB, free: 12.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.3499, allocations: 0 / 0.5997 GB, free: 12.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3499, allocations: 0 / 0.5997 GB, free: 12.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001217/0.35, allocations: 0 / 0.5997 GB, free: 12.16 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.009675/0.3597, allocations: 4.374 MB / 0.604 GB, free: 7.727 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.3597, allocations: 8.031 kB / 0.604 GB, free: 7.719 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000821/0.3606, allocations: 0.6288 MB / 0.6046 GB, free: 7.078 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07901/0.4396, allocations: 7.052 MB / 0.6115 GB, free: 16 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006247/0.4458, allocations: 2.561 MB / 0.614 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001714/0.446, allocations: 193.3 kB / 0.6142 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007603/0.4468, allocations: 275.8 kB / 0.6145 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01363/0.4604, allocations: 8.525 MB / 0.6228 GB, free: 3.773 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001039/0.4605, allocations: 43.64 kB / 0.6228 GB, free: 3.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003281/0.4608, allocations: 123.9 kB / 0.623 GB, free: 3.609 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002739/0.4636, allocations: 1.739 MB / 0.6246 GB, free: 1.871 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01322/0.4768, allocations: 7.178 MB / 0.6317 GB, free: 10.68 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04018/0.517, allocations: 33.75 MB / 0.6646 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007972/0.5249, allocations: 2.845 MB / 0.6674 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002095/0.527, allocations: 1.514 MB / 0.6689 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01116/0.5382, allocations: 6.297 MB / 0.675 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.5382, allocations: 51.5 kB / 0.6751 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=151): time 3.958e-06/0.5382, allocations: 0 / 0.6751 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=188): time 0.05934/0.5976, allocations: 18.9 MB / 0.6935 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.5977, allocations: 201.2 kB / 0.6937 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00517/0.6029, allocations: 3.745 MB / 0.6974 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003086/0.6032, allocations: 57.61 kB / 0.6974 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00219/0.6054, allocations: 2.933 MB / 0.7003 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008864/0.6063, allocations: 0.7559 MB / 0.701 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001507/0.6078, allocations: 1.167 MB / 0.7022 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.6079, allocations: 305.1 kB / 0.7025 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003142/0.611, allocations: 2.104 MB / 0.7045 GB, free: 14.72 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006273/0.6173, allocations: 5.656 MB / 0.7101 GB, free: 7.289 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/0.6279, allocations: 8.428 MB / 0.7183 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001131/0.628, allocations: 36 kB / 0.7183 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01872/0.6467, allocations: 8.692 MB / 0.7268 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.542e-05/0.6468, allocations: 60 kB / 0.7269 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001425/0.6469, allocations: 124 kB / 0.727 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0048/0.6517, allocations: 1.388 MB / 0.7283 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00413/0.6559, allocations: 1.302 MB / 0.7296 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2482/0.9041, allocations: 9.1 MB / 0.7385 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003572/0.9076, allocations: 300.2 kB / 0.7388 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004817/0.9081, allocations: 359.7 kB / 0.7391 GB, free: 147.7 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.002131/0.9103, allocations: 1.887 MB / 0.741 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004024/0.9107, allocations: 354.5 kB / 0.7413 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0069/0.9176, allocations: 3.748 MB / 0.745 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.984e-05/0.9176, allocations: 32.27 kB / 0.745 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.9176, allocations: 6.375 kB / 0.745 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.751e-05/0.9176, allocations: 11.45 kB / 0.745 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01339/0.931, allocations: 8.099 MB / 0.7529 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.931, allocations: 3.703 kB / 0.7529 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/0.9321, allocations: 253 kB / 0.7532 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003918/0.936, allocations: 1.176 MB / 0.7543 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001413/0.9362, allocations: 35.98 kB / 0.7543 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009346/0.9455, allocations: 8.368 MB / 0.7625 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.9455, allocations: 6.906 kB / 0.7625 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008795/0.9543, allocations: 6.285 MB / 0.7687 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007784/0.9551, allocations: 321 kB / 0.769 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003854/0.9555, allocations: 28 kB / 0.769 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.9567, allocations: 91.48 kB / 0.7691 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002717/0.957, allocations: 117 kB / 0.7692 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.9571, allocations: 54.98 kB / 0.7692 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002677/0.9598, allocations: 2.32 MB / 0.7715 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9598, allocations: 0 / 0.7715 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004085/0.9639, allocations: 0.9555 MB / 0.7724 GB, free: 123.8 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.009295/0.9731, allocations: 6.981 MB / 0.7793 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00641/0.9796, allocations: 5.022 MB / 0.7842 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/0.9796, allocations: 3.312 kB / 0.7842 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001898/0.9815, allocations: 1.628 MB / 0.7858 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/0.9836, allocations: 404.9 kB / 0.7861 GB, free: 109.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05187/1.035, allocations: 44.34 MB / 0.8295 GB, free: 60.03 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00246/1.038, allocations: 2.957 MB / 0.8323 GB, free: 57.04 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003253/1.041, allocations: 1.811 MB / 0.8341 GB, free: 55.22 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001572/1.043, allocations: 1.651 MB / 0.8357 GB, free: 53.57 MB / 0.5606 GB Notification: Performance of SimCode: time 1.233e-06/1.043, allocations: 0 / 0.8357 GB, free: 53.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1139/1.157, allocations: 72.16 MB / 0.9062 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.54/29.7, allocations: 9.875 kB / 0.9062 GB, free: 13.74 MB / 0.5919 GB " [Timeout remaining time 630] (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: 32.7147965280019]