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.001338/0.001338, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00156/0.00156, allocations: 207.7 kB / 23.73 MB, free: 4.387 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.411/1.411, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2166/0.2166, allocations: 46.97 MB / 360.9 MB, free: 4.051 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.002077/0.002077, allocations: 75.88 kB / 0.4961 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.3004, allocations: 66.03 MB / 0.5606 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01227/0.3127, allocations: 9.107 MB / 0.5695 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008002/0.3207, allocations: 3.706 MB / 0.5731 GB, free: 7.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.3221, allocations: 67.69 kB / 0.5732 GB, free: 7.344 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004167/0.3262, allocations: 2.024 MB / 0.5752 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004492/0.3307, allocations: 1.716 MB / 0.5768 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.3323, allocations: 0.7096 MB / 0.5775 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005409/0.3377, allocations: 3.997 MB / 0.5814 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002873/0.3406, allocations: 2.144 MB / 0.5835 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00212/0.3427, allocations: 1.335 MB / 0.5848 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002743/0.3454, allocations: 1.908 MB / 0.5867 GB, free: 9.422 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005782/0.346, allocations: 268 kB / 0.5869 GB, free: 9.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001943/0.348, allocations: 1.073 MB / 0.588 GB, free: 8.086 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00177/0.3497, allocations: 1.706 MB / 0.5897 GB, free: 6.375 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001836/0.3516, allocations: 1.46 MB / 0.5911 GB, free: 4.906 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008063/0.3596, allocations: 6.369 MB / 0.5973 GB, free: 14.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.3596, allocations: 0 / 0.5973 GB, free: 14.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3596, allocations: 0 / 0.5973 GB, free: 14.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001508/0.3598, allocations: 0 / 0.5973 GB, free: 14.51 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.009762/0.3696, allocations: 4.366 MB / 0.6016 GB, free: 10.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.3696, allocations: 8.031 kB / 0.6016 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009614/0.3706, allocations: 0.6288 MB / 0.6022 GB, free: 9.441 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0868/0.4574, allocations: 7.052 MB / 0.6091 GB, free: 2.379 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006493/0.4639, allocations: 2.581 MB / 0.6116 GB, free: 15.74 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/0.464, allocations: 193.3 kB / 0.6118 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009497/0.465, allocations: 275.7 kB / 0.612 GB, free: 15.28 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01536/0.4804, allocations: 8.596 MB / 0.6204 GB, free: 6.027 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001318/0.4805, allocations: 43.62 kB / 0.6205 GB, free: 5.984 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003914/0.4809, allocations: 127.9 kB / 0.6206 GB, free: 5.859 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002926/0.4838, allocations: 1.739 MB / 0.6223 GB, free: 4.121 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01381/0.4976, allocations: 7.147 MB / 0.6293 GB, free: 12.97 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04321/0.5408, allocations: 32.12 MB / 0.6606 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008851/0.5497, allocations: 2.828 MB / 0.6634 GB, free: 9 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002315/0.552, allocations: 1.522 MB / 0.6649 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01132/0.5633, allocations: 5.95 MB / 0.6707 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.247e-05/0.5634, allocations: 51.5 kB / 0.6708 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=151): time 5.03e-06/0.5634, allocations: 0 / 0.6708 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of matching and sorting (n=188): time 0.0638/0.6272, allocations: 18.97 MB / 0.6893 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001546/0.6273, allocations: 205.2 kB / 0.6895 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005912/0.6332, allocations: 3.953 MB / 0.6933 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003522/0.6336, allocations: 57.61 kB / 0.6934 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002366/0.6359, allocations: 2.933 MB / 0.6963 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009538/0.6369, allocations: 0.7481 MB / 0.697 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00151/0.6384, allocations: 1.175 MB / 0.6981 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.6385, allocations: 305.1 kB / 0.6984 GB, free: 4.934 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003243/0.6418, allocations: 2.1 MB / 0.7005 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006259/0.648, allocations: 5.71 MB / 0.706 GB, free: 11.33 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01056/0.6586, allocations: 8.422 MB / 0.7143 GB, free: 1.156 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001159/0.6587, allocations: 36 kB / 0.7143 GB, free: 1.121 MB / 0.545 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.0188/0.6775, allocations: 8.688 MB / 0.7228 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001541/0.6777, allocations: 62.69 kB / 0.7229 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002023/0.6779, allocations: 128 kB / 0.723 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005144/0.683, allocations: 1.387 MB / 0.7243 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004551/0.6876, allocations: 1.298 MB / 0.7256 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2726/0.9602, allocations: 8.988 MB / 0.7344 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004714/0.9649, allocations: 303.1 kB / 0.7347 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000632/0.9655, allocations: 359.7 kB / 0.735 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.003651/0.9692, allocations: 1.899 MB / 0.7369 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009294/0.9701, allocations: 350.3 kB / 0.7372 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00738/0.9775, allocations: 3.749 MB / 0.7409 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.83e-05/0.9775, allocations: 19.47 kB / 0.7409 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.243e-05/0.9775, allocations: 11.78 kB / 0.7409 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.152e-05/0.9776, allocations: 8.578 kB / 0.7409 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01377/0.9913, allocations: 7.786 MB / 0.7485 GB, free: 145 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/0.9914, allocations: 3.703 kB / 0.7485 GB, free: 145 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/0.9925, allocations: 250.7 kB / 0.7487 GB, free: 145 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003965/0.9965, allocations: 1.177 MB / 0.7499 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002226/0.9967, allocations: 31.56 kB / 0.7499 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009464/1.006, allocations: 8.28 MB / 0.758 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/1.006, allocations: 0 / 0.758 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009023/1.015, allocations: 6.29 MB / 0.7641 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009083/1.016, allocations: 322.2 kB / 0.7645 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004616/1.017, allocations: 27.56 kB / 0.7645 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/1.018, allocations: 87.89 kB / 0.7646 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002834/1.018, allocations: 116.1 kB / 0.7647 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/1.018, allocations: 48 kB / 0.7647 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002606/1.021, allocations: 2.33 MB / 0.767 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/1.021, allocations: 0 / 0.767 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003902/1.025, allocations: 0.9489 MB / 0.7679 GB, free: 127.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.00886/1.034, allocations: 6.983 MB / 0.7747 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006063/1.04, allocations: 5.025 MB / 0.7797 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.04, allocations: 0 / 0.7797 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001821/1.042, allocations: 1.624 MB / 0.7812 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002481/1.044, allocations: 415 kB / 0.7816 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0527/1.097, allocations: 44.34 MB / 0.8249 GB, free: 64.05 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002726/1.099, allocations: 2.414 MB / 0.8273 GB, free: 61.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003446/1.103, allocations: 1.807 MB / 0.8291 GB, free: 59.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001673/1.105, allocations: 1.647 MB / 0.8307 GB, free: 58.14 MB / 0.5606 GB Notification: Performance of SimCode: time 1.202e-06/1.105, allocations: 4 kB / 0.8307 GB, free: 58.13 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1052/1.21, allocations: 67.7 MB / 0.8968 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.16/17.37, allocations: 3.984 kB / 0.8968 GB, free: 7.211 MB / 0.5762 GB " [Timeout remaining time 642] (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.322810554876924]