Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.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.001381/0.001381, 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.001598/0.001598, allocations: 209.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.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.2133/0.2133, allocations: 44.93 MB / 358.8 MB, free: 6.129 MB / 286.1 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.Parts.PointMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 63.91 kB / 0.493 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3141, allocations: 65.47 MB / 0.557 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.007917/0.322, allocations: 6.048 MB / 0.5629 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004762/0.3268, allocations: 2.3 MB / 0.5651 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005877/0.3274, allocations: 35.88 kB / 0.5651 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002086/0.3295, allocations: 1.028 MB / 0.5661 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001898/0.3314, allocations: 0.8714 MB / 0.567 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007299/0.3321, allocations: 307.2 kB / 0.5673 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00222/0.3343, allocations: 1.876 MB / 0.5691 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.3356, allocations: 1.084 MB / 0.5702 GB, free: 9.941 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009293/0.3365, allocations: 0.7161 MB / 0.5709 GB, free: 9.223 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.3379, allocations: 1.027 MB / 0.5719 GB, free: 8.191 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002623/0.3381, allocations: 128 kB / 0.572 GB, free: 8.066 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.3393, allocations: 0.6357 MB / 0.5726 GB, free: 7.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008917/0.3401, allocations: 0.954 MB / 0.5736 GB, free: 6.473 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008683/0.341, allocations: 0.7912 MB / 0.5743 GB, free: 5.676 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004318/0.3453, allocations: 3.738 MB / 0.578 GB, free: 1.922 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3453, allocations: 0 / 0.578 GB, free: 1.922 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3453, allocations: 0 / 0.578 GB, free: 1.922 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.064e-05/0.3454, allocations: 0 / 0.578 GB, free: 1.922 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.00464/0.35, allocations: 2.643 MB / 0.5806 GB, free: 15.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.3501, allocations: 16.03 kB / 0.5806 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005351/0.3506, allocations: 458.4 kB / 0.581 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005253/0.3559, allocations: 1.578 MB / 0.5826 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00276/0.3586, allocations: 1.031 MB / 0.5836 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.3587, allocations: 115.3 kB / 0.5837 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003507/0.3591, allocations: 159.8 kB / 0.5838 GB, free: 11.85 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009183/0.3683, allocations: 6.178 MB / 0.5899 GB, free: 5.184 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-05/0.3683, allocations: 27.81 kB / 0.5899 GB, free: 5.156 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002199/0.3686, allocations: 83.88 kB / 0.59 GB, free: 5.074 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002492/0.3711, allocations: 1.445 MB / 0.5914 GB, free: 3.625 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00945/0.3805, allocations: 5.373 MB / 0.5966 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02758/0.4081, allocations: 23.88 MB / 0.6199 GB, free: 5.566 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004318/0.4124, allocations: 1.8 MB / 0.6217 GB, free: 3.73 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.4136, allocations: 0.8901 MB / 0.6226 GB, free: 2.828 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002599/0.4139, allocations: 87.8 kB / 0.6226 GB, free: 2.742 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.4139, allocations: 50.55 kB / 0.6227 GB, free: 2.684 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.236e-06/0.4139, allocations: 0 / 0.6227 GB, free: 2.684 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02277/0.4367, allocations: 8.386 MB / 0.6309 GB, free: 10.22 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.4368, allocations: 148.4 kB / 0.631 GB, free: 10.05 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003768/0.4406, allocations: 2.802 MB / 0.6338 GB, free: 7.219 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001479/0.4407, allocations: 41.61 kB / 0.6338 GB, free: 7.176 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001745/0.4425, allocations: 2.112 MB / 0.6359 GB, free: 5.043 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005181/0.443, allocations: 456.6 kB / 0.6363 GB, free: 4.594 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001177/0.4442, allocations: 0.8734 MB / 0.6372 GB, free: 3.707 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.4443, allocations: 301.1 kB / 0.6374 GB, free: 3.41 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002039/0.4463, allocations: 1.332 MB / 0.6387 GB, free: 2.07 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004427/0.4508, allocations: 4.108 MB / 0.6428 GB, free: 12.56 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007541/0.4583, allocations: 5.936 MB / 0.6485 GB, free: 5.238 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001151/0.4584, allocations: 28 kB / 0.6486 GB, free: 5.211 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01051/0.4689, allocations: 5.49 MB / 0.6539 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.929e-05/0.469, allocations: 51.16 kB / 0.654 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001243/0.4691, allocations: 100 kB / 0.6541 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/0.4703, allocations: 456.5 kB / 0.6545 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002934/0.4732, allocations: 0.9746 MB / 0.6555 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00448/0.4777, allocations: 3.546 MB / 0.6589 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002739/0.4804, allocations: 232.1 kB / 0.6592 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004807/0.4809, allocations: 280 kB / 0.6594 GB, free: 9.984 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (527): * Single equations (assignments): 523 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0021/0.483, allocations: 1.361 MB / 0.6607 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003899/0.4834, allocations: 234.4 kB / 0.661 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002412/0.4858, allocations: 1.314 MB / 0.6623 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/0.4858, allocations: 15.94 kB / 0.6623 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.4858, allocations: 4 kB / 0.6623 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.4858, allocations: 7.984 kB / 0.6623 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007626/0.4935, allocations: 4.014 MB / 0.6662 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.4935, allocations: 0 / 0.6662 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006638/0.4941, allocations: 143.8 kB / 0.6663 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009027/0.495, allocations: 312.6 kB / 0.6666 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.455e-05/0.4951, allocations: 20 kB / 0.6667 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003631/0.4987, allocations: 2.951 MB / 0.6695 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4987, allocations: 0 / 0.6695 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004655/0.5034, allocations: 3.076 MB / 0.6725 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006462/0.504, allocations: 210.3 kB / 0.6727 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002469/0.5043, allocations: 12 kB / 0.6728 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007374/0.505, allocations: 47.94 kB / 0.6728 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.5052, allocations: 56.33 kB / 0.6729 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.074e-05/0.5052, allocations: 32.12 kB / 0.6729 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002608/0.5079, allocations: 1.628 MB / 0.6745 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5079, allocations: 0 / 0.6745 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003156/0.511, allocations: 0.5897 MB / 0.675 GB, free: 9.734 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.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 (77): * Single equations (assignments): 73 * 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,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005052/0.5161, allocations: 3.703 MB / 0.6787 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00563/0.5217, allocations: 3.09 MB / 0.6817 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.5217, allocations: 1.625 kB / 0.6817 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.5232, allocations: 0.8053 MB / 0.6825 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/0.5247, allocations: 214.8 kB / 0.6827 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04037/0.5651, allocations: 28.4 MB / 0.7104 GB, free: 1.746 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002168/0.5672, allocations: 1.594 MB / 0.712 GB, free: 124 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00312/0.5703, allocations: 1.391 MB / 0.7133 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/0.5719, allocations: 1.011 MB / 0.7143 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of SimCode: time 1.332e-06/0.5719, allocations: 8 kB / 0.7143 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3144/0.8863, allocations: 38.23 MB / 0.7517 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/15.03, allocations: 7.031 kB / 0.7517 GB, free: 148.6 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.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: 18.133840763010085]