Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001527/0.001527, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001852/0.001852, allocations: 206 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.418/1.418, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2153/0.2153, allocations: 46.96 MB / 360.9 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 67.91 kB / 0.4961 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2949, allocations: 66.03 MB / 0.5606 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.0112/0.3061, allocations: 9.114 MB / 0.5695 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007361/0.3135, allocations: 3.695 MB / 0.5731 GB, free: 7.395 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.3146, allocations: 71.69 kB / 0.5732 GB, free: 7.324 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003797/0.3184, allocations: 2.028 MB / 0.5752 GB, free: 5.289 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003785/0.3222, allocations: 1.72 MB / 0.5768 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.3236, allocations: 0.694 MB / 0.5775 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005088/0.3287, allocations: 4.009 MB / 0.5814 GB, free: 14.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002574/0.3312, allocations: 2.163 MB / 0.5835 GB, free: 12.63 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001791/0.333, allocations: 1.328 MB / 0.5848 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002662/0.3357, allocations: 2.005 MB / 0.5868 GB, free: 9.289 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005695/0.3363, allocations: 264 kB / 0.587 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001906/0.3382, allocations: 1.096 MB / 0.5881 GB, free: 7.934 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00161/0.3398, allocations: 1.71 MB / 0.5898 GB, free: 6.219 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001714/0.3415, allocations: 1.448 MB / 0.5912 GB, free: 4.762 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008083/0.3496, allocations: 6.373 MB / 0.5974 GB, free: 14.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.828e-06/0.3496, allocations: 0 / 0.5974 GB, free: 14.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.3496, allocations: 0 / 0.5974 GB, free: 14.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002619/0.3498, allocations: 0 / 0.5974 GB, free: 14.36 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.0153/0.3651, allocations: 4.374 MB / 0.6017 GB, free: 9.934 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.3652, allocations: 8.031 kB / 0.6017 GB, free: 9.926 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001267/0.3665, allocations: 0.621 MB / 0.6023 GB, free: 9.293 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08737/0.4538, allocations: 7.056 MB / 0.6092 GB, free: 2.227 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006719/0.4606, allocations: 2.577 MB / 0.6117 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001716/0.4607, allocations: 193.2 kB / 0.6119 GB, free: 15.4 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007203/0.4614, allocations: 271.8 kB / 0.6122 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01454/0.476, allocations: 8.604 MB / 0.6206 GB, free: 5.875 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001139/0.4761, allocations: 43.64 kB / 0.6206 GB, free: 5.832 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000354/0.4765, allocations: 123.9 kB / 0.6207 GB, free: 5.711 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002922/0.4794, allocations: 1.731 MB / 0.6224 GB, free: 3.98 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.014/0.4934, allocations: 7.159 MB / 0.6294 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04236/0.5357, allocations: 32.12 MB / 0.6608 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008311/0.544, allocations: 2.828 MB / 0.6635 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002225/0.5463, allocations: 1.518 MB / 0.665 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0121/0.5584, allocations: 5.946 MB / 0.6708 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.526e-05/0.5584, allocations: 51.5 kB / 0.6709 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=151): time 6.722e-06/0.5584, allocations: 0 / 0.6709 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=188): time 0.06056/0.619, allocations: 18.97 MB / 0.6894 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.6191, allocations: 197.2 kB / 0.6896 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005873/0.625, allocations: 3.961 MB / 0.6935 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003564/0.6254, allocations: 49.7 kB / 0.6935 GB, free: 10 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002385/0.6277, allocations: 2.937 MB / 0.6964 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001/0.6287, allocations: 0.7442 MB / 0.6971 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001831/0.6306, allocations: 1.179 MB / 0.6982 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.6307, allocations: 301.1 kB / 0.6985 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003425/0.6341, allocations: 2.1 MB / 0.7006 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00653/0.6407, allocations: 5.71 MB / 0.7062 GB, free: 11.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01075/0.6514, allocations: 8.418 MB / 0.7144 GB, free: 1.023 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001153/0.6515, allocations: 36 kB / 0.7144 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01797/0.6695, allocations: 8.699 MB / 0.7229 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.72e-05/0.6696, allocations: 59.94 kB / 0.723 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001842/0.6698, allocations: 132.2 kB / 0.7231 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004851/0.6746, allocations: 1.38 MB / 0.7244 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004256/0.6789, allocations: 1.302 MB / 0.7257 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2369/0.9157, allocations: 8.989 MB / 0.7345 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003723/0.9195, allocations: 309.1 kB / 0.7348 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005088/0.92, allocations: 356.4 kB / 0.7351 GB, free: 149.6 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.002165/0.9221, allocations: 1.895 MB / 0.737 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004239/0.9226, allocations: 346.7 kB / 0.7373 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00653/0.9291, allocations: 3.753 MB / 0.741 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/0.9291, allocations: 23.34 kB / 0.741 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.9291, allocations: 12.91 kB / 0.741 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/0.9291, allocations: 7.125 kB / 0.741 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01279/0.9419, allocations: 7.779 MB / 0.7486 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.9419, allocations: 2.016 kB / 0.7486 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.943, allocations: 252.7 kB / 0.7489 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003696/0.9467, allocations: 1.184 MB / 0.75 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001403/0.9468, allocations: 31.58 kB / 0.75 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00924/0.9561, allocations: 8.278 MB / 0.7581 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.9561, allocations: 0 / 0.7581 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008758/0.9648, allocations: 6.301 MB / 0.7643 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008428/0.9657, allocations: 318.2 kB / 0.7646 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003507/0.966, allocations: 24 kB / 0.7646 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.9672, allocations: 87.89 kB / 0.7647 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002846/0.9675, allocations: 120.1 kB / 0.7648 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.9676, allocations: 47.98 kB / 0.7648 GB, free: 131 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0025/0.9701, allocations: 2.326 MB / 0.7671 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9701, allocations: 0 / 0.7671 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003786/0.9739, allocations: 0.9537 MB / 0.768 GB, free: 127.7 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.008826/0.9827, allocations: 6.981 MB / 0.7749 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006226/0.9889, allocations: 5.026 MB / 0.7798 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/0.9889, allocations: 0 / 0.7798 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001797/0.9907, allocations: 1.632 MB / 0.7814 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/0.9929, allocations: 401.7 kB / 0.7818 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0467/1.04, allocations: 44.33 MB / 0.825 GB, free: 63.92 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002209/1.042, allocations: 2.414 MB / 0.8274 GB, free: 61.47 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003165/1.045, allocations: 1.804 MB / 0.8292 GB, free: 59.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001732/1.047, allocations: 1.655 MB / 0.8308 GB, free: 58 MB / 0.5606 GB Notification: Performance of SimCode: time 9.91e-07/1.047, allocations: 0 / 0.8308 GB, free: 58 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.11/1.157, allocations: 70.23 MB / 0.8994 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.9/17.06, allocations: 11.92 kB / 0.8994 GB, free: 4.551 MB / 0.5762 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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: 20.037951018020976]