Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 79.7 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 174 kB / 23.94 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9118/0.9118, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2563/0.2563, allocations: 32.78 MB / 293.5 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/2.017e-05, allocations: 4.812 kB / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.1828/0.1828, allocations: 9.114 MB / 448.7 MB, free: 41.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003761/0.1866, allocations: 3.682 MB / 452.4 MB, free: 39.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004434/0.187, allocations: 77.72 kB / 452.5 MB, free: 39.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.1887, allocations: 2.127 MB / 454.6 MB, free: 38.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001623/0.1903, allocations: 1.773 MB / 456.4 MB, free: 37.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006102/0.1909, allocations: 0.7517 MB / 457.1 MB, free: 37.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002372/0.1933, allocations: 4.401 MB / 461.5 MB, free: 35.94 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001551/0.1948, allocations: 2.411 MB / 463.9 MB, free: 34.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.196, allocations: 1.968 MB / 465.9 MB, free: 34.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/0.1973, allocations: 2.002 MB / 467.9 MB, free: 33.51 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002157/0.1975, allocations: 275.4 kB / 468.2 MB, free: 33.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000929/0.1984, allocations: 1.133 MB / 469.3 MB, free: 33.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006875/0.1991, allocations: 1.781 MB / 471.1 MB, free: 32.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005664/0.1997, allocations: 1.136 MB / 472.2 MB, free: 31.99 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003183/0.2029, allocations: 6.423 MB / 478.6 MB, free: 29.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2029, allocations: 0 / 478.6 MB, free: 29.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2029, allocations: 3 kB / 478.6 MB, free: 29.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.595e-05/0.2029, allocations: 0 / 478.6 MB, free: 29.79 MB / 410.7 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.004929/0.2079, allocations: 4.393 MB / 483 MB, free: 27.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2079, allocations: 10.14 kB / 483 MB, free: 27.32 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005412/0.2084, allocations: 0.6275 MB / 483.7 MB, free: 27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03976/0.2482, allocations: 7.313 MB / 491 MB, free: 26.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005448/0.2536, allocations: 2.405 MB / 493.4 MB, free: 25.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.2537, allocations: 195 kB / 493.6 MB, free: 25.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004268/0.2542, allocations: 271.4 kB / 493.8 MB, free: 24.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008623/0.2628, allocations: 8.6 MB / 0.4907 GB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.956e-05/0.2629, allocations: 40.77 kB / 0.4907 GB, free: 19.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000247/0.2631, allocations: 126.2 kB / 0.4908 GB, free: 19.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001519/0.2646, allocations: 1.742 MB / 0.4925 GB, free: 18.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006918/0.2715, allocations: 7.143 MB / 0.4995 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02106/0.2926, allocations: 32.32 MB / 0.5311 GB, free: 10.86 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004597/0.2972, allocations: 2.927 MB / 0.5339 GB, free: 7.895 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001361/0.2986, allocations: 1.516 MB / 0.5354 GB, free: 6.371 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006438/0.305, allocations: 6.12 MB / 0.5414 GB, free: 228 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.305, allocations: 55.55 kB / 0.5414 GB, free: 164 kB / 442.7 MB Notification: Performance of pre-optimization done (n=151): time 3.036e-06/0.305, allocations: 0 / 0.5414 GB, free: 164 kB / 442.7 MB Notification: Performance of matching and sorting (n=188): time 0.03283/0.3379, allocations: 19.19 MB / 0.5602 GB, free: 12.91 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/0.338, allocations: 205.2 kB / 0.5604 GB, free: 12.67 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004123/0.3421, allocations: 4.133 MB / 0.5644 GB, free: 8.547 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.3422, allocations: 53.7 kB / 0.5645 GB, free: 8.488 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001327/0.3435, allocations: 2.902 MB / 0.5673 GB, free: 5.559 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005217/0.344, allocations: 0.7404 MB / 0.568 GB, free: 4.812 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001033/0.3451, allocations: 1.152 MB / 0.5691 GB, free: 3.648 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.448e-05/0.3451, allocations: 309.1 kB / 0.5694 GB, free: 3.344 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001913/0.347, allocations: 2.038 MB / 0.5714 GB, free: 1.301 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003329/0.3504, allocations: 5.639 MB / 0.5769 GB, free: 9.875 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005859/0.3562, allocations: 8.299 MB / 0.585 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-05/0.3563, allocations: 36 kB / 0.5851 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.009713/0.366, allocations: 8.637 MB / 0.5935 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.538e-05/0.3661, allocations: 60 kB / 0.5936 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-05/0.3661, allocations: 124 kB / 0.5937 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002764/0.3689, allocations: 1.454 MB / 0.5951 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002076/0.371, allocations: 1.302 MB / 0.5964 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008419/0.3794, allocations: 8.844 MB / 0.605 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/0.3817, allocations: 343.5 kB / 0.6053 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003347/0.382, allocations: 360 kB / 0.6057 GB, free: 10.55 MB / 0.5105 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.002191/0.3842, allocations: 1.889 MB / 0.6075 GB, free: 8.648 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003887/0.3846, allocations: 349.7 kB / 0.6079 GB, free: 8.305 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004779/0.3894, allocations: 3.696 MB / 0.6115 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/0.3894, allocations: 23.94 kB / 0.6115 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.3894, allocations: 8.5 kB / 0.6115 GB, free: 4.562 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.3894, allocations: 7.969 kB / 0.6115 GB, free: 4.555 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009524/0.399, allocations: 7.761 MB / 0.6191 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.399, allocations: 0.875 kB / 0.6191 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006227/0.3996, allocations: 255.6 kB / 0.6193 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002404/0.402, allocations: 1.257 MB / 0.6206 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.4021, allocations: 35.98 kB / 0.6206 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007944/0.4101, allocations: 8.117 MB / 0.6285 GB, free: 2.949 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4101, allocations: 4.031 kB / 0.6285 GB, free: 2.945 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1983/0.6084, allocations: 6.142 MB / 0.6345 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009735/0.6094, allocations: 346.9 kB / 0.6349 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003729/0.6097, allocations: 30.69 kB / 0.6349 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008967/0.6106, allocations: 127.6 kB / 0.635 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002525/0.6109, allocations: 110.9 kB / 0.6351 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.451e-05/0.611, allocations: 53.31 kB / 0.6352 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002723/0.6137, allocations: 2.471 MB / 0.6376 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6137, allocations: 0 / 0.6376 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003514/0.6172, allocations: 1.033 MB / 0.6386 GB, free: 152.6 MB / 0.5261 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.006819/0.624, allocations: 6.806 MB / 0.6452 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005665/0.6297, allocations: 4.865 MB / 0.65 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.423e-06/0.6297, allocations: 7.031 kB / 0.65 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001513/0.6312, allocations: 1.551 MB / 0.6515 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/0.6331, allocations: 401.1 kB / 0.6519 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05703/0.6901, allocations: 44.36 MB / 0.6952 GB, free: 120 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002381/0.6925, allocations: 2.41 MB / 0.6976 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002494/0.695, allocations: 1.818 MB / 0.6993 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001452/0.6964, allocations: 1.663 MB / 0.701 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.583e-06/0.6964, allocations: 0 / 0.701 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07352/0.77, allocations: 69.47 MB / 0.7688 GB, free: 50.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.848/10.62, allocations: 22.27 kB / 0.7688 GB, free: 50.09 MB / 0.5261 GB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 12.802762392908335]