Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001668/0.001667, allocations: 185 kB / 8.155 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.2 MB / 213.8 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001254/0.001254, allocations: 91.34 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2616/0.2616, allocations: 43.5 MB / 353.2 MB, free: 2.016 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.989e-06/1.014e-05, allocations: 4 kB / 417.7 MB, free: 40.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3043, allocations: 58.84 MB / 476.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1668/0.4712, allocations: 85.61 MB / 0.549 GB, free: 13.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/0.4716, allocations: 71.95 kB / 0.549 GB, free: 13.35 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03853/0.5101, allocations: 3.856 MB / 0.5528 GB, free: 9.496 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.24e-05/0.5102, allocations: 4 kB / 0.5528 GB, free: 9.492 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006361/0.5108, allocations: 398.1 kB / 0.5532 GB, free: 9.059 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.5109, allocations: 8.031 kB / 0.5532 GB, free: 9.051 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.123e-05/0.511, allocations: 11.81 kB / 0.5532 GB, free: 9.039 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004392/0.5114, allocations: 206.8 kB / 0.5534 GB, free: 8.797 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.5115, allocations: 0 / 0.5534 GB, free: 8.797 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.5115, allocations: 7.906 kB / 0.5534 GB, free: 8.789 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001488/0.5117, allocations: 23.98 kB / 0.5534 GB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.5119, allocations: 45.69 kB / 0.5535 GB, free: 8.715 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.5119, allocations: 4 kB / 0.5535 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.5119, allocations: 0 / 0.5535 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.512, allocations: 3.938 kB / 0.5535 GB, free: 8.707 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007273/0.5192, allocations: 289.3 kB / 0.5538 GB, free: 8.387 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.5194, allocations: 41.64 kB / 0.5538 GB, free: 8.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.366e-05/0.5195, allocations: 8.859 kB / 0.5538 GB, free: 8.328 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.561e-05/0.5195, allocations: 11.98 kB / 0.5538 GB, free: 8.316 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.5196, allocations: 34.69 kB / 0.5539 GB, free: 8.273 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.964e-06/0.5196, allocations: 0 / 0.5539 GB, free: 8.273 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008054/0.5204, allocations: 133.1 kB / 0.554 GB, free: 8.137 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.5205, allocations: 51.41 kB / 0.554 GB, free: 8.074 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000414/0.5209, allocations: 201.4 kB / 0.5542 GB, free: 7.867 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.924e-05/0.521, allocations: 25.7 kB / 0.5543 GB, free: 7.836 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.981e-05/0.5211, allocations: 158.5 kB / 0.5544 GB, free: 7.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.5211, allocations: 23.64 kB / 0.5544 GB, free: 7.656 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-06/0.5212, allocations: 0 / 0.5544 GB, free: 7.656 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.5213, allocations: 318.9 kB / 0.5547 GB, free: 7.336 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.645e-05/0.5214, allocations: 12.08 kB / 0.5547 GB, free: 7.324 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.403e-05/0.5215, allocations: 15.98 kB / 0.5548 GB, free: 7.309 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.162e-05/0.5216, allocations: 19.98 kB / 0.5548 GB, free: 7.289 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5216, allocations: 4 kB / 0.5548 GB, free: 7.285 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002415/0.5219, allocations: 65.69 kB / 0.5548 GB, free: 7.215 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.5219, allocations: 4 kB / 0.5548 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.5219, allocations: 192 / 0.5548 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.522, allocations: 4 kB / 0.5549 GB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.5222, allocations: 27.92 kB / 0.5549 GB, free: 7.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.5222, allocations: 0 / 0.5549 GB, free: 7.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.601e-05/0.5223, allocations: 8 kB / 0.5549 GB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.5224, allocations: 15.84 kB / 0.5549 GB, free: 7.156 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.384e-05/0.5225, allocations: 27.11 kB / 0.5549 GB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.49e-05/0.5226, allocations: 11.81 kB / 0.5549 GB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000387/0.523, allocations: 99.36 kB / 0.555 GB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.523, allocations: 4 kB / 0.555 GB, free: 7.008 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.523, allocations: 0 / 0.555 GB, free: 7.008 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.523, allocations: 0 / 0.555 GB, free: 7.008 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008089/0.5238, allocations: 374.9 kB / 0.5554 GB, free: 6.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.5239, allocations: 0 / 0.5554 GB, free: 6.598 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.5241, allocations: 23.92 kB / 0.5554 GB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.5241, allocations: 0 / 0.5554 GB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.5241, allocations: 0 / 0.5554 GB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.5242, allocations: 0 / 0.5554 GB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.5242, allocations: 4 kB / 0.5554 GB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000326/0.5245, allocations: 183.3 kB / 0.5556 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.5247, allocations: 96.92 kB / 0.5557 GB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.5247, allocations: 4 kB / 0.5557 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.5249, allocations: 7.984 kB / 0.5557 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.525, allocations: 0 / 0.5557 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.525, allocations: 8 kB / 0.5557 GB, free: 6.242 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0003085/0.5254, allocations: 164.2 kB / 0.5559 GB, free: 6.082 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005174/0.5259, allocations: 24 kB / 0.5559 GB, free: 6.059 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001184/0.5271, allocations: 311.1 kB / 0.5562 GB, free: 5.793 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002312/0.5274, allocations: 43.94 kB / 0.5562 GB, free: 5.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5274, allocations: 0 / 0.5562 GB, free: 5.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.19e-05/0.5275, allocations: 28 kB / 0.5563 GB, free: 5.723 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.5279, allocations: 11.89 kB / 0.5563 GB, free: 5.711 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008358/0.5288, allocations: 217.2 kB / 0.5565 GB, free: 5.469 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005493/0.5294, allocations: 0.7348 MB / 0.5572 GB, free: 4.707 MB / 394.7 MB Notification: Performance of SimCode: time 8.91e-07/0.5294, allocations: 0 / 0.5572 GB, free: 4.707 MB / 394.7 MB Notification: Performance of Templates: time 0.006376/0.5358, allocations: 1.781 MB / 0.5589 GB, free: 2.926 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches