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: translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001053/0.001057, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001162/0.001162, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2116/0.2116, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.001401, allocations: 76.45 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1191, allocations: 62.43 MB / 481.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.007615/0.1268, allocations: 6.78 MB / 488.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004211/0.131, allocations: 2.434 MB / 490.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005214/0.1316, allocations: 31.94 kB / 490.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001951/0.1336, allocations: 1.051 MB / 491.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001558/0.1351, allocations: 0.8323 MB / 492.6 MB, free: 9.371 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006362/0.1358, allocations: 303.2 kB / 492.9 MB, free: 9.074 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001944/0.1377, allocations: 1.868 MB / 494.7 MB, free: 7.203 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.1391, allocations: 1.264 MB / 496 MB, free: 5.918 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008462/0.1399, allocations: 0.7082 MB / 496.7 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.1411, allocations: 0.9653 MB / 497.7 MB, free: 4.238 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000219/0.1413, allocations: 128 kB / 497.8 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.1424, allocations: 0.7332 MB / 498.5 MB, free: 3.379 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006778/0.1431, allocations: 0.9154 MB / 499.5 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008588/0.144, allocations: 1.125 MB / 0.4889 GB, free: 1.328 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003205/0.1472, allocations: 3.709 MB / 0.4925 GB, free: 13.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1472, allocations: 0 / 0.4925 GB, free: 13.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1472, allocations: 0 / 0.4925 GB, free: 13.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.865e-05/0.1473, allocations: 0 / 0.4925 GB, free: 13.61 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.004459/0.1518, allocations: 2.653 MB / 0.4951 GB, free: 10.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1518, allocations: 12.03 kB / 0.4951 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004843/0.1567, allocations: 1.565 MB / 0.4966 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002226/0.1589, allocations: 1.077 MB / 0.4977 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-05/0.159, allocations: 115.3 kB / 0.4978 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000302/0.1593, allocations: 159.9 kB / 0.4979 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008648/0.168, allocations: 6.186 MB / 0.504 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-05/0.1681, allocations: 27.81 kB / 0.504 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001977/0.1683, allocations: 79.89 kB / 0.5041 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2306/0.3988, allocations: 1.438 MB / 0.5055 GB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01396/0.4129, allocations: 5.39 MB / 0.5107 GB, free: 36.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03071/0.4436, allocations: 24.76 MB / 0.5349 GB, free: 18.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00428/0.448, allocations: 2.341 MB / 0.5372 GB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/0.4492, allocations: 0.9857 MB / 0.5382 GB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000354/0.4496, allocations: 329.2 kB / 0.5385 GB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.4496, allocations: 42.69 kB / 0.5385 GB, free: 16.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 4.819e-06/0.4496, allocations: 0 / 0.5385 GB, free: 16.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.01921/0.4688, allocations: 8.438 MB / 0.5468 GB, free: 9.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.4689, allocations: 136.5 kB / 0.5469 GB, free: 9.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002819/0.4717, allocations: 2.63 MB / 0.5495 GB, free: 7.141 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.4719, allocations: 45.64 kB / 0.5495 GB, free: 7.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008645/0.4727, allocations: 2.025 MB / 0.5515 GB, free: 5.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003247/0.4731, allocations: 436.9 kB / 0.5519 GB, free: 4.648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008325/0.4739, allocations: 0.861 MB / 0.5527 GB, free: 3.773 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.223e-05/0.474, allocations: 310.9 kB / 0.553 GB, free: 3.469 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.4753, allocations: 1.336 MB / 0.5543 GB, free: 2.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003204/0.4785, allocations: 4.095 MB / 0.5583 GB, free: 12.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006726/0.4853, allocations: 5.938 MB / 0.5641 GB, free: 5.305 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.75e-05/0.4854, allocations: 32 kB / 0.5642 GB, free: 5.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.00905/0.4944, allocations: 5.487 MB / 0.5695 GB, free: 15.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.145e-05/0.4945, allocations: 55.77 kB / 0.5696 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.667e-05/0.4946, allocations: 100 kB / 0.5697 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.4957, allocations: 462.5 kB / 0.5701 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00271/0.4984, allocations: 0.9708 MB / 0.5711 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004227/0.5026, allocations: 3.683 MB / 0.5747 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002997/0.5057, allocations: 235.3 kB / 0.5749 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003829/0.5061, allocations: 276 kB / 0.5751 GB, free: 9.898 MB / 414.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.001935/0.508, allocations: 1.36 MB / 0.5765 GB, free: 8.527 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003508/0.5084, allocations: 221.1 kB / 0.5767 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002243/0.5106, allocations: 1.329 MB / 0.578 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.179e-05/0.5106, allocations: 12 kB / 0.578 GB, free: 6.953 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.5107, allocations: 4 kB / 0.578 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.5107, allocations: 3.984 kB / 0.578 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007415/0.5181, allocations: 4.21 MB / 0.5821 GB, free: 2.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.5181, allocations: 0 / 0.5821 GB, free: 2.695 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006123/0.5188, allocations: 139.8 kB / 0.5822 GB, free: 2.559 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008378/0.5196, allocations: 316.5 kB / 0.5825 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.377e-05/0.5197, allocations: 20 kB / 0.5826 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003515/0.5232, allocations: 3.037 MB / 0.5855 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5232, allocations: 3.938 kB / 0.5855 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00396/0.5272, allocations: 3.059 MB / 0.5885 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006977/0.5279, allocations: 278 kB / 0.5888 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001969/0.5281, allocations: 19.98 kB / 0.5888 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000704/0.5288, allocations: 46.06 kB / 0.5888 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.529, allocations: 52.31 kB / 0.5889 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.25e-05/0.5291, allocations: 33.94 kB / 0.5889 GB, free: 11.54 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002329/0.5314, allocations: 1.625 MB / 0.5905 GB, free: 9.898 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5314, allocations: 4.062 kB / 0.5905 GB, free: 9.895 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003121/0.5345, allocations: 0.5892 MB / 0.5911 GB, free: 9.309 MB / 430.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.0003529/0.5349, allocations: 132.3 kB / 0.5912 GB, free: 9.176 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004789/0.5397, allocations: 3.236 MB / 0.5944 GB, free: 5.953 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.5397, allocations: 0 / 0.5944 GB, free: 5.953 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.5409, allocations: 0.8549 MB / 0.5952 GB, free: 5.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.5422, allocations: 217.3 kB / 0.5954 GB, free: 4.879 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009554/0.5518, allocations: 5.44 MB / 0.6007 GB, free: 15.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002133/0.554, allocations: 2.167 MB / 0.6028 GB, free: 13.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002878/0.5569, allocations: 1.387 MB / 0.6042 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004079/0.5573, allocations: 155.4 kB / 0.6044 GB, free: 11.64 MB / 446.1 MB Notification: Performance of SimCode: time 2.144e-06/0.5573, allocations: 0 / 0.6044 GB, free: 11.64 MB / 446.1 MB Notification: Performance of Templates: time 0.03626/0.5936, allocations: 16.63 MB / 0.6206 GB, free: 11.07 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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