Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000981/0.0009834, allocations: 188.3 kB / 7.803 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.014/1.014, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008027/0.0008027, allocations: 90.05 kB / 261.4 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.147/0.147, allocations: 43.49 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.941e-06/5.971e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2036, allocations: 58.83 MB / 476.5 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1079/0.3116, allocations: 95.86 MB / 0.559 GB, free: 3.062 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000191/0.3118, allocations: 75.95 kB / 0.5591 GB, free: 2.988 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.1088/0.4206, allocations: 45.96 MB / 0.6039 GB, free: 4.578 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.383e-05/0.4207, allocations: 40 kB / 0.604 GB, free: 4.539 MB / 442.7 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.003446/0.4241, allocations: 2.307 MB / 0.6062 GB, free: 2.176 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.4242, allocations: 15.97 kB / 0.6063 GB, free: 2.16 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005924/0.4301, allocations: 1.42 MB / 0.6076 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002412/0.4325, allocations: 1.381 MB / 0.609 GB, free: 15.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.944e-05/0.4326, allocations: 76 kB / 0.6091 GB, free: 15.23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003457/0.433, allocations: 136 kB / 0.6092 GB, free: 15.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004754/0.4377, allocations: 3.807 MB / 0.6129 GB, free: 11.28 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006686/0.4444, allocations: 6.15 MB / 0.6189 GB, free: 4.363 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.886e-05/0.4445, allocations: 39.59 kB / 0.619 GB, free: 4.324 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002597/0.4448, allocations: 24 kB / 0.619 GB, free: 4.301 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006601/0.4455, allocations: 0.7458 MB / 0.6197 GB, free: 3.559 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1269/0.5724, allocations: 30.75 MB / 0.6497 GB, free: 159 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.5741, allocations: 2.036 MB / 0.6517 GB, free: 158.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007761/0.5749, allocations: 0.986 MB / 0.6527 GB, free: 158.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-05/0.575, allocations: 42.27 kB / 0.6527 GB, free: 158.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.575, allocations: 43.69 kB / 0.6528 GB, free: 158.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=96): time 2.715e-06/0.575, allocations: 0 / 0.6528 GB, free: 158.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=117): time 0.01682/0.5919, allocations: 9.697 MB / 0.6622 GB, free: 156.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.5919, allocations: 149.6 kB / 0.6624 GB, free: 156.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/0.5939, allocations: 2.043 MB / 0.6644 GB, free: 156.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.537e-05/0.594, allocations: 25.7 kB / 0.6644 GB, free: 156.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006879/0.5947, allocations: 2.024 MB / 0.6664 GB, free: 154.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002523/0.5949, allocations: 469.5 kB / 0.6668 GB, free: 154.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.595, allocations: 0 / 0.6668 GB, free: 154.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.5952, allocations: 0.5369 MB / 0.6673 GB, free: 154.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.5966, allocations: 1.39 MB / 0.6687 GB, free: 154.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002309/0.599, allocations: 4.274 MB / 0.6729 GB, free: 150.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002824/0.6018, allocations: 2.646 MB / 0.6755 GB, free: 149.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.863e-05/0.6018, allocations: 33.97 kB / 0.6755 GB, free: 149.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=596) (initialization): time 0.006927/0.6088, allocations: 5.429 MB / 0.6808 GB, free: 148.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.6088, allocations: 3.906 kB / 0.6808 GB, free: 148.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.552e-05/0.6089, allocations: 104.4 kB / 0.6809 GB, free: 148.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.61, allocations: 0.5309 MB / 0.6814 GB, free: 148.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003025/0.6131, allocations: 1.063 MB / 0.6825 GB, free: 148.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005037/0.6181, allocations: 3.741 MB / 0.6861 GB, free: 146.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002792/0.6209, allocations: 140.7 kB / 0.6862 GB, free: 146.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004878/0.6214, allocations: 305.2 kB / 0.6865 GB, free: 146.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (563): * Single equations (assignments): 559 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005274/0.622, allocations: 358.3 kB / 0.6869 GB, free: 145.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003522/0.6223, allocations: 204.2 kB / 0.6871 GB, free: 145.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003285/0.6256, allocations: 1.758 MB / 0.6888 GB, free: 145.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.677e-05/0.6257, allocations: 10.19 kB / 0.6888 GB, free: 145.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.6257, allocations: 3.625 kB / 0.6888 GB, free: 145.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.6257, allocations: 12.56 kB / 0.6888 GB, free: 145.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007185/0.6329, allocations: 4.459 MB / 0.6932 GB, free: 143.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.6329, allocations: 1.438 kB / 0.6932 GB, free: 143.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008503/0.6337, allocations: 168.4 kB / 0.6933 GB, free: 143.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001072/0.6348, allocations: 382.6 kB / 0.6937 GB, free: 143.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-05/0.6349, allocations: 9.391 kB / 0.6937 GB, free: 143.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004109/0.639, allocations: 3.22 MB / 0.6968 GB, free: 140.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.639, allocations: 0 / 0.6968 GB, free: 140.8 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004081/0.6431, allocations: 3.699 MB / 0.7005 GB, free: 137.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005617/0.6437, allocations: 422.5 kB / 0.7009 GB, free: 137.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002442/0.644, allocations: 8.062 kB / 0.7009 GB, free: 137.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007127/0.6447, allocations: 25.78 kB / 0.7009 GB, free: 137.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.6448, allocations: 53.97 kB / 0.7009 GB, free: 137.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.05e-05/0.6449, allocations: 43.84 kB / 0.701 GB, free: 137 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001312/0.6462, allocations: 1.344 MB / 0.7023 GB, free: 135.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002796/0.649, allocations: 0.5353 MB / 0.7028 GB, free: 135.3 MB / 474.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002693/0.6493, allocations: 147.9 kB / 0.703 GB, free: 135.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003119/0.6524, allocations: 3.343 MB / 0.7062 GB, free: 132.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6524, allocations: 4 kB / 0.7062 GB, free: 132.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008658/0.6533, allocations: 0.9708 MB / 0.7072 GB, free: 131.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005977/0.6539, allocations: 145.9 kB / 0.7073 GB, free: 131.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006082/0.66, allocations: 4.664 MB / 0.7119 GB, free: 126.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001966/0.662, allocations: 2.439 MB / 0.7143 GB, free: 125 MB / 474.7 MB Notification: Performance of SimCode: time 1.012e-06/0.662, allocations: 4 kB / 0.7143 GB, free: 125 MB / 474.7 MB Notification: Performance of Templates: time 0.03296/0.6949, allocations: 22.28 MB / 0.736 GB, free: 105.7 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches