Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Parts.PointMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001124/0.001124, allocations: 116.1 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001381/0.001381, allocations: 205.8 kB / 18.27 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2205/0.2205, allocations: 46.1 MB / 343.8 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001583, allocations: 74.95 kB / 417.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1183, allocations: 62.43 MB / 479.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01714/0.1355, allocations: 17.18 MB / 496.8 MB, free: 4.238 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007929/0.1434, allocations: 4.07 MB / 0.4891 GB, free: 156 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002372/0.1458, allocations: 63.88 kB / 0.4892 GB, free: 92 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002195/0.148, allocations: 1.001 MB / 0.4901 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002155/0.1503, allocations: 0.7862 MB / 0.4909 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009268/0.1512, allocations: 275.5 kB / 0.4912 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002702/0.1539, allocations: 1.903 MB / 0.493 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002132/0.1561, allocations: 1.35 MB / 0.4943 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/0.1574, allocations: 0.716 MB / 0.495 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/0.159, allocations: 1.094 MB / 0.4961 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004563/0.1595, allocations: 128 kB / 0.4962 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.161, allocations: 0.7487 MB / 0.497 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001121/0.1621, allocations: 0.9387 MB / 0.4979 GB, free: 7.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001556/0.1637, allocations: 1.145 MB / 0.499 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004268/0.168, allocations: 3.567 MB / 0.5025 GB, free: 2.383 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.168, allocations: 0 / 0.5025 GB, free: 2.383 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.168, allocations: 4 kB / 0.5025 GB, free: 2.379 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000116/0.1681, allocations: 0 / 0.5025 GB, free: 2.379 MB / 382.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.2113/0.3794, allocations: 2.638 MB / 0.5051 GB, free: 41.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.3795, allocations: 10.23 kB / 0.5051 GB, free: 41.78 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001073/0.3806, allocations: 461.9 kB / 0.5055 GB, free: 41.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005835/0.3864, allocations: 1.561 MB / 0.507 GB, free: 41.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002106/0.3886, allocations: 1.07 MB / 0.5081 GB, free: 40.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.3887, allocations: 115.3 kB / 0.5082 GB, free: 40.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005487/0.3892, allocations: 157.4 kB / 0.5083 GB, free: 40.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009944/0.3992, allocations: 6.19 MB / 0.5144 GB, free: 38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/0.3993, allocations: 32.22 kB / 0.5144 GB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003798/0.3997, allocations: 79.45 kB / 0.5145 GB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002936/0.4027, allocations: 1.445 MB / 0.5159 GB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01154/0.4142, allocations: 5.389 MB / 0.5212 GB, free: 35.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02282/0.4371, allocations: 24.87 MB / 0.5455 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003666/0.4408, allocations: 2.351 MB / 0.5477 GB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000857/0.4417, allocations: 0.985 MB / 0.5487 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002386/0.4419, allocations: 323.8 kB / 0.549 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.442, allocations: 46.5 kB / 0.5491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.306e-06/0.442, allocations: 0 / 0.5491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.01984/0.4618, allocations: 8.441 MB / 0.5573 GB, free: 15.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.366e-05/0.462, allocations: 148.4 kB / 0.5574 GB, free: 15.76 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004197/0.4662, allocations: 2.631 MB / 0.56 GB, free: 13.1 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.853e-05/0.4663, allocations: 41.7 kB / 0.5601 GB, free: 13.05 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001644/0.4679, allocations: 2.02 MB / 0.562 GB, free: 11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004736/0.4684, allocations: 430.8 kB / 0.5624 GB, free: 10.58 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00121/0.4696, allocations: 0.8648 MB / 0.5633 GB, free: 9.699 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.4698, allocations: 305.1 kB / 0.5636 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002299/0.4721, allocations: 1.337 MB / 0.5649 GB, free: 8.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004302/0.4764, allocations: 4.1 MB / 0.5689 GB, free: 2.551 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006442/0.4829, allocations: 5.936 MB / 0.5747 GB, free: 11.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.58e-05/0.483, allocations: 28 kB / 0.5747 GB, free: 11.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009349/0.4923, allocations: 5.489 MB / 0.5801 GB, free: 5.707 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.869e-05/0.4925, allocations: 48.94 kB / 0.5801 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001621/0.4926, allocations: 103.9 kB / 0.5802 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.4938, allocations: 460.8 kB / 0.5807 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002993/0.4968, allocations: 0.9785 MB / 0.5816 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004409/0.5012, allocations: 3.668 MB / 0.5852 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002726/0.504, allocations: 227.5 kB / 0.5854 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005507/0.5045, allocations: 280.1 kB / 0.5857 GB, free: 15.82 MB / 430.1 MB 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.002186/0.5067, allocations: 1.367 MB / 0.587 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004829/0.5072, allocations: 217.2 kB / 0.5872 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/0.5098, allocations: 1.329 MB / 0.5885 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.944e-05/0.5099, allocations: 12 kB / 0.5885 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/0.5099, allocations: 4 kB / 0.5885 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.5099, allocations: 3.984 kB / 0.5885 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008262/0.5182, allocations: 4.23 MB / 0.5927 GB, free: 8.578 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.5182, allocations: 0 / 0.5927 GB, free: 8.578 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000673/0.5189, allocations: 139.8 kB / 0.5928 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009352/0.5198, allocations: 312.6 kB / 0.5931 GB, free: 8.133 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.52, allocations: 23.98 kB / 0.5931 GB, free: 8.109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004023/0.524, allocations: 3.032 MB / 0.5961 GB, free: 4.945 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.524, allocations: 0 / 0.5961 GB, free: 4.945 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004467/0.5285, allocations: 3.07 MB / 0.5991 GB, free: 1.848 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006286/0.5292, allocations: 282.1 kB / 0.5993 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004489/0.5296, allocations: 12 kB / 0.5994 GB, free: 1.539 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009873/0.5306, allocations: 47.94 kB / 0.5994 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.5308, allocations: 52.48 kB / 0.5995 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-05/0.5309, allocations: 35.98 kB / 0.5995 GB, free: 1.406 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003008/0.5339, allocations: 1.632 MB / 0.6011 GB, free: 15.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5339, allocations: 0 / 0.6011 GB, free: 15.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003834/0.5377, allocations: 0.5807 MB / 0.6017 GB, free: 15.18 MB / 446.1 MB 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.004718/0.5425, allocations: 3.692 MB / 0.6053 GB, free: 11.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005686/0.5482, allocations: 3.462 MB / 0.6086 GB, free: 8.016 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.5482, allocations: 4 kB / 0.6086 GB, free: 8.012 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001255/0.5494, allocations: 0.8566 MB / 0.6095 GB, free: 7.141 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.5511, allocations: 214.1 kB / 0.6097 GB, free: 6.934 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04808/0.5992, allocations: 31.32 MB / 0.6403 GB, free: 2.84 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002997/0.6022, allocations: 2.167 MB / 0.6424 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003541/0.6058, allocations: 1.383 MB / 0.6437 GB, free: 15.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001614/0.6074, allocations: 1.023 MB / 0.6447 GB, free: 14.22 MB / 494.1 MB Notification: Performance of SimCode: time 9.02e-07/0.6074, allocations: 0 / 0.6447 GB, free: 14.22 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07947/0.6869, allocations: 40.92 MB / 0.6847 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.6871, allocations: 218.4 kB / 0.6849 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.114/3.801, allocations: 0 / 0.6849 GB, free: 5.234 MB / 0.5137 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches