Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 115.6 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.612/1.612, allocations: 230.6 MB / 257.5 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2561/0.2561, allocations: 46.93 MB / 360.8 MB, free: 4.301 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 64.05 kB / 0.4967 GB, free: 7.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4288/0.431, allocations: 66.03 MB / 0.5611 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003464/0.4345, allocations: 1.651 MB / 0.5627 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.4356, allocations: 0.5543 MB / 0.5633 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.865e-05/0.4357, allocations: 3.938 kB / 0.5633 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.436, allocations: 75.77 kB / 0.5634 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003273/0.4363, allocations: 99.59 kB / 0.5635 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.4366, allocations: 91.75 kB / 0.5635 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.4368, allocations: 95.75 kB / 0.5636 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.4369, allocations: 14.66 kB / 0.5637 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.353e-05/0.437, allocations: 39.83 kB / 0.5637 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.4371, allocations: 51.83 kB / 0.5637 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.4371, allocations: 4 kB / 0.5637 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.4372, allocations: 55.91 kB / 0.5638 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.868e-05/0.4373, allocations: 19.92 kB / 0.5638 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.84e-05/0.4373, allocations: 27.75 kB / 0.5638 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.4376, allocations: 103.3 kB / 0.5639 GB, free: 1.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4376, allocations: 4 kB / 0.5639 GB, free: 1.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4376, allocations: 4 kB / 0.5639 GB, free: 1.547 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.4376, allocations: 3.938 kB / 0.564 GB, free: 1.543 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005443/0.4381, allocations: 335.9 kB / 0.5643 GB, free: 1.188 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.4382, allocations: 15.95 kB / 0.5643 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.4382, allocations: 16.84 kB / 0.5643 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.4384, allocations: 143 kB / 0.5644 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.4384, allocations: 4.375 kB / 0.5644 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.4384, allocations: 4.375 kB / 0.5644 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.4386, allocations: 57.8 kB / 0.5645 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.4386, allocations: 0 / 0.5645 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.4386, allocations: 4 kB / 0.5645 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.4386, allocations: 0 / 0.5645 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.4387, allocations: 31.91 kB / 0.5645 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.4392, allocations: 263.8 kB / 0.5648 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.4393, allocations: 54.48 kB / 0.5648 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.939e-05/0.4393, allocations: 8.859 kB / 0.5649 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.4394, allocations: 4 kB / 0.5649 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.4394, allocations: 34.56 kB / 0.5649 GB, free: 472 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.4394, allocations: 0 / 0.5649 GB, free: 472 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009336/0.4403, allocations: 225.8 kB / 0.5651 GB, free: 240 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.4404, allocations: 51.41 kB / 0.5652 GB, free: 176 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.4406, allocations: 214.2 kB / 0.5654 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.4406, allocations: 29.7 kB / 0.5654 GB, free: 15.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.562e-05/0.4407, allocations: 112 kB / 0.5655 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.4408, allocations: 31.73 kB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.4408, allocations: 29.66 kB / 0.5656 GB, free: 15.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.441, allocations: 322.8 kB / 0.5659 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.029e-05/0.441, allocations: 23.98 kB / 0.5659 GB, free: 15.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.004e-05/0.4411, allocations: 24.06 kB / 0.5659 GB, free: 15.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.4413, allocations: 72.97 kB / 0.566 GB, free: 15.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4413, allocations: 0 / 0.566 GB, free: 15.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002125/0.4415, allocations: 101.6 kB / 0.5661 GB, free: 15.19 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.4415, allocations: 4 kB / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4415, allocations: 0 / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.4415, allocations: 3.938 kB / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.4416, allocations: 23.98 kB / 0.5661 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.4416, allocations: 0 / 0.5661 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.577e-05/0.4417, allocations: 7.938 kB / 0.5661 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.4417, allocations: 0 / 0.5661 GB, free: 15.15 MB / 414.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.4418, allocations: 137.8 kB / 0.5662 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.4418, allocations: 11.91 kB / 0.5663 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.4421, allocations: 119 kB / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4421, allocations: 0 / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4421, allocations: 0 / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.4421, allocations: 3.938 kB / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005401/0.4427, allocations: 382.3 kB / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4427, allocations: 0 / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.682e-05/0.4427, allocations: 23.92 kB / 0.5668 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.4428, allocations: 3.938 kB / 0.5668 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.4428, allocations: 0 / 0.5668 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4428, allocations: 0 / 0.5668 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4428, allocations: 4 kB / 0.5668 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.443, allocations: 204.3 kB / 0.567 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.859e-05/0.443, allocations: 11.84 kB / 0.567 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.4431, allocations: 11.98 kB / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.4431, allocations: 4 kB / 0.567 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.4432, allocations: 3.984 kB / 0.567 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.4432, allocations: 7.938 kB / 0.567 GB, free: 14.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001695/0.4434, allocations: 172.2 kB / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4434, allocations: 4 kB / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.4436, allocations: 16 kB / 0.5672 GB, free: 13.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001746/0.4454, allocations: 465.7 kB / 0.5676 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002455/0.4456, allocations: 67.94 kB / 0.5677 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4456, allocations: 0 / 0.5677 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.194e-05/0.4457, allocations: 31.92 kB / 0.5677 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.4461, allocations: 19.98 kB / 0.5677 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000573/0.4466, allocations: 262.8 kB / 0.568 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.447, allocations: 0.7079 MB / 0.5687 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.257e-05/0.4471, allocations: 12.97 kB / 0.5687 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.4471, allocations: 11.44 kB / 0.5687 GB, free: 12.52 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4471, allocations: 0 / 0.5687 GB, free: 12.52 MB / 414.1 MB Notification: Performance of Templates: time 0.004757/0.4519, allocations: 1.4 MB / 0.5701 GB, free: 11.12 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.6681231879629195]