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.001782/0.001782, allocations: 127.4 kB / 17.79 MB, free: 5.242 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.002209/0.002209, allocations: 211.6 kB / 20.75 MB, free: 2.293 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.487/1.487, allocations: 230.4 MB / 254 MB, free: 15.03 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.2298/0.2298, allocations: 46.92 MB / 357 MB, free: 10.17 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.002588/0.002588, allocations: 79.88 kB / 0.491 GB, free: 7.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1233, allocations: 66.05 MB / 0.5555 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01296/0.1362, allocations: 10.4 MB / 0.5656 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00849/0.1447, allocations: 3.911 MB / 0.5694 GB, free: 7.145 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001689/0.1464, allocations: 67.69 kB / 0.5695 GB, free: 7.078 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004561/0.1509, allocations: 2.098 MB / 0.5716 GB, free: 4.973 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004907/0.1559, allocations: 1.708 MB / 0.5732 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002036/0.1579, allocations: 0.6979 MB / 0.5739 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006512/0.1644, allocations: 4.001 MB / 0.5778 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003476/0.1679, allocations: 2.215 MB / 0.58 GB, free: 12.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002726/0.1706, allocations: 1.324 MB / 0.5813 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0034/0.174, allocations: 2.009 MB / 0.5832 GB, free: 8.941 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009633/0.175, allocations: 264 kB / 0.5835 GB, free: 8.684 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002736/0.1777, allocations: 1.209 MB / 0.5847 GB, free: 7.473 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002301/0.18, allocations: 1.71 MB / 0.5863 GB, free: 5.758 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003196/0.1832, allocations: 1.953 MB / 0.5882 GB, free: 3.793 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2845/0.4677, allocations: 6.344 MB / 0.5944 GB, free: 13.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.4677, allocations: 3.781 kB / 0.5944 GB, free: 13.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.4677, allocations: 0.7031 kB / 0.5944 GB, free: 13.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000289/0.468, allocations: 1.094 kB / 0.5944 GB, free: 13.34 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.01678/0.4847, allocations: 4.442 MB / 0.5988 GB, free: 11.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/0.4848, allocations: 9.531 kB / 0.5988 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003022/0.4878, allocations: 0.6234 MB / 0.5994 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0954/0.5832, allocations: 7.055 MB / 0.6063 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007308/0.5905, allocations: 2.636 MB / 0.6089 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002813/0.5908, allocations: 191 kB / 0.609 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001759/0.5926, allocations: 275.3 kB / 0.6093 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01976/0.6123, allocations: 8.524 MB / 0.6176 GB, free: 8.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002611/0.6126, allocations: 48.02 kB / 0.6177 GB, free: 8.008 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001394/0.614, allocations: 124.5 kB / 0.6178 GB, free: 7.957 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003277/0.6173, allocations: 1.736 MB / 0.6195 GB, free: 7.676 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0143/0.6315, allocations: 7.174 MB / 0.6265 GB, free: 4.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04725/0.6788, allocations: 33.86 MB / 0.6596 GB, free: 3.117 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009887/0.6887, allocations: 3.293 MB / 0.6628 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002762/0.6914, allocations: 1.515 MB / 0.6643 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01441/0.7059, allocations: 7.326 MB / 0.6714 GB, free: 6.648 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.801e-05/0.7059, allocations: 51.56 kB / 0.6715 GB, free: 6.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=151): time 5.19e-06/0.7059, allocations: 0 / 0.6715 GB, free: 6.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=188): time 0.07329/0.7792, allocations: 19.2 MB / 0.6902 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/0.7793, allocations: 205.2 kB / 0.6904 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007036/0.7864, allocations: 3.745 MB / 0.6941 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004165/0.7868, allocations: 53.7 kB / 0.6941 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002869/0.7897, allocations: 2.937 MB / 0.697 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001165/0.7908, allocations: 0.7432 MB / 0.6977 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002892/0.7937, allocations: 1.179 MB / 0.6989 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.7938, allocations: 301.1 kB / 0.6992 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003877/0.7977, allocations: 2.1 MB / 0.7012 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007131/0.8049, allocations: 5.657 MB / 0.7067 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01156/0.8164, allocations: 8.412 MB / 0.7149 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001417/0.8166, allocations: 37.12 kB / 0.715 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.02063/0.8372, allocations: 8.7 MB / 0.7235 GB, free: 14.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001568/0.8373, allocations: 58.03 kB / 0.7235 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002214/0.8376, allocations: 128 kB / 0.7237 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005751/0.8433, allocations: 1.384 MB / 0.725 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004787/0.8481, allocations: 1.306 MB / 0.7263 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01612/0.8642, allocations: 9.203 MB / 0.7353 GB, free: 2.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00488/0.8691, allocations: 307.6 kB / 0.7356 GB, free: 2.039 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001281/0.8704, allocations: 359.9 kB / 0.7359 GB, free: 1.688 MB / 0.545 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.004701/0.8751, allocations: 1.899 MB / 0.7378 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001063/0.8761, allocations: 353.6 kB / 0.7381 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/0.8872, allocations: 3.747 MB / 0.7418 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.021e-05/0.8872, allocations: 20 kB / 0.7418 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.559e-05/0.8873, allocations: 8 kB / 0.7418 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.554e-05/0.8873, allocations: 15.97 kB / 0.7418 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02353/0.9108, allocations: 8.135 MB / 0.7497 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.982e-05/0.9109, allocations: 4 kB / 0.7497 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/0.9124, allocations: 251.6 kB / 0.75 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005076/0.9175, allocations: 1.175 MB / 0.7511 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003594/0.9178, allocations: 31.98 kB / 0.7512 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01408/0.9319, allocations: 8.481 MB / 0.7594 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.9319, allocations: 0 / 0.7594 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01305/0.945, allocations: 6.277 MB / 0.7656 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/0.946, allocations: 395.2 kB / 0.766 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009313/0.947, allocations: 35.73 kB / 0.766 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002042/0.949, allocations: 83.19 kB / 0.7661 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005215/0.9495, allocations: 117.1 kB / 0.7662 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002491/0.9498, allocations: 55.98 kB / 0.7662 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004628/0.9544, allocations: 2.324 MB / 0.7685 GB, free: 108 kB / 0.5762 GB Notification: Performance of sort global known variables: time 3.1e-07/0.9544, allocations: 1.969 kB / 0.7685 GB, free: 108 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005596/0.96, allocations: 0.9505 MB / 0.7694 GB, free: 15.16 MB / 0.5919 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.01425/0.9743, allocations: 6.985 MB / 0.7763 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00944/0.9837, allocations: 5.021 MB / 0.7812 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/0.9837, allocations: 0 / 0.7812 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003191/0.9869, allocations: 1.627 MB / 0.7827 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003727/0.9906, allocations: 401.7 kB / 0.7831 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09417/1.085, allocations: 44.29 MB / 0.8264 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005437/1.09, allocations: 2.957 MB / 0.8293 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005139/1.095, allocations: 1.815 MB / 0.831 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003513/1.099, allocations: 1.646 MB / 0.8326 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of SimCode: time 1.223e-06/1.099, allocations: 0 / 0.8326 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.38/1.479, allocations: 67.3 MB / 0.8984 GB, free: 205.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.3/27.78, allocations: 11.19 kB / 0.8984 GB, free: 205.5 MB / 0.6544 GB " [Timeout remaining time 632] (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: 30.95989070495125]