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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 104.3 kB / 18.4 MB, free: 4.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 187 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 243 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2014/0.2014, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 61.89 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1349, allocations: 60.82 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01153/0.1465, allocations: 6.784 MB / 477.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00571/0.1522, allocations: 2.391 MB / 479.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000721/0.153, allocations: 27.94 kB / 479.9 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002539/0.1555, allocations: 1.039 MB / 481 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002495/0.1581, allocations: 0.8479 MB / 481.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009248/0.1591, allocations: 303.2 kB / 482.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003237/0.1623, allocations: 1.891 MB / 484 MB, free: 300 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002318/0.1647, allocations: 1.268 MB / 485.3 MB, free: 15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/0.1662, allocations: 0.7199 MB / 486 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001771/0.168, allocations: 0.9653 MB / 486.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003854/0.1684, allocations: 128 kB / 487.1 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.1702, allocations: 0.7176 MB / 487.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001137/0.1713, allocations: 0.9387 MB / 488.7 MB, free: 11.53 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001408/0.1728, allocations: 1.133 MB / 489.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005699/0.1785, allocations: 3.744 MB / 493.6 MB, free: 6.629 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.1785, allocations: 4 kB / 493.6 MB, free: 6.625 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1785, allocations: 0 / 493.6 MB, free: 6.625 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.633e-05/0.1786, allocations: 0 / 493.6 MB, free: 6.625 MB / 366.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.006321/0.1849, allocations: 2.66 MB / 496.3 MB, free: 3.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.185, allocations: 8.031 kB / 496.3 MB, free: 3.902 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006129/0.1911, allocations: 1.577 MB / 497.8 MB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002028/0.1932, allocations: 1.08 MB / 498.9 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-05/0.1933, allocations: 115.3 kB / 499 MB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002924/0.1936, allocations: 156 kB / 499.2 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008034/0.2016, allocations: 6.182 MB / 0.4935 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-05/0.2017, allocations: 23.81 kB / 0.4936 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002026/0.2019, allocations: 83.88 kB / 0.4936 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002227/0.2042, allocations: 1.448 MB / 0.495 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009073/0.2133, allocations: 5.385 MB / 0.5003 GB, free: 3.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2805/0.4938, allocations: 24.75 MB / 0.5245 GB, free: 28.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004802/0.4987, allocations: 2.345 MB / 0.5268 GB, free: 26.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.4999, allocations: 0.9898 MB / 0.5277 GB, free: 26.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003031/0.5002, allocations: 322.7 kB / 0.528 GB, free: 26.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.5003, allocations: 53.45 kB / 0.5281 GB, free: 26.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.406e-06/0.5003, allocations: 0 / 0.5281 GB, free: 26.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.02097/0.5213, allocations: 8.439 MB / 0.5363 GB, free: 22.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.5214, allocations: 143.7 kB / 0.5365 GB, free: 22.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003069/0.5245, allocations: 2.642 MB / 0.5391 GB, free: 21.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.5246, allocations: 41.17 kB / 0.5391 GB, free: 21.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008354/0.5254, allocations: 2.024 MB / 0.5411 GB, free: 19.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003188/0.5257, allocations: 439.8 kB / 0.5415 GB, free: 18.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007982/0.5266, allocations: 0.8694 MB / 0.5423 GB, free: 18.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.996e-05/0.5266, allocations: 301.1 kB / 0.5426 GB, free: 18.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/0.5281, allocations: 1.333 MB / 0.5439 GB, free: 17.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00251/0.5306, allocations: 4.101 MB / 0.5479 GB, free: 12.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004723/0.5353, allocations: 5.937 MB / 0.5537 GB, free: 5.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.959e-05/0.5354, allocations: 32 kB / 0.5538 GB, free: 5.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008939/0.5444, allocations: 5.482 MB / 0.5591 GB, free: 15.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.5446, allocations: 52.89 kB / 0.5592 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000166/0.5448, allocations: 100 kB / 0.5593 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.5459, allocations: 467.8 kB / 0.5597 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003263/0.5492, allocations: 0.9708 MB / 0.5607 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004761/0.554, allocations: 3.668 MB / 0.5642 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003721/0.5578, allocations: 235.4 kB / 0.5645 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000587/0.5584, allocations: 272 kB / 0.5647 GB, free: 9.859 MB / 398.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.0026/0.561, allocations: 1.36 MB / 0.566 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005194/0.5615, allocations: 217.2 kB / 0.5663 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002381/0.5639, allocations: 1.33 MB / 0.5676 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.632e-05/0.5639, allocations: 12 kB / 0.5676 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.5639, allocations: 4 kB / 0.5676 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.564, allocations: 8.672 kB / 0.5676 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008024/0.572, allocations: 4.223 MB / 0.5717 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.572, allocations: 5.875 kB / 0.5717 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006272/0.5727, allocations: 143.8 kB / 0.5718 GB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008153/0.5735, allocations: 310.5 kB / 0.5721 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.487e-05/0.5736, allocations: 16 kB / 0.5722 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003162/0.5767, allocations: 3.034 MB / 0.5751 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.5768, allocations: 7.969 kB / 0.5751 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004205/0.581, allocations: 3.075 MB / 0.5781 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007165/0.5817, allocations: 274.9 kB / 0.5784 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002317/0.582, allocations: 15.98 kB / 0.5784 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007105/0.5827, allocations: 50.59 kB / 0.5785 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.5828, allocations: 52.38 kB / 0.5785 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.451e-05/0.5829, allocations: 32.05 kB / 0.5785 GB, free: 11.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002321/0.5852, allocations: 1.629 MB / 0.5801 GB, free: 9.836 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5852, allocations: 3.938 kB / 0.5801 GB, free: 9.832 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003198/0.5885, allocations: 0.599 MB / 0.5807 GB, free: 9.238 MB / 414.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.0003333/0.5888, allocations: 141.1 kB / 0.5808 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004915/0.5937, allocations: 3.225 MB / 0.584 GB, free: 5.883 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.5937, allocations: 0 / 0.584 GB, free: 5.883 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.5949, allocations: 0.8638 MB / 0.5848 GB, free: 5.008 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.5964, allocations: 226.7 kB / 0.5851 GB, free: 4.793 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009303/0.6057, allocations: 5.43 MB / 0.5904 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002335/0.6081, allocations: 2.177 MB / 0.5925 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002849/0.6109, allocations: 1.379 MB / 0.5938 GB, free: 11.74 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003877/0.6113, allocations: 159.4 kB / 0.594 GB, free: 11.58 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.6113, allocations: 3.938 kB / 0.594 GB, free: 11.58 MB / 430.1 MB Notification: Performance of Templates: time 0.03664/0.648, allocations: 16.7 MB / 0.6103 GB, free: 10.95 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) 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) Reference file matches