Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001059/0.001059, allocations: 95.31 kB / 20.43 MB, free: 4.141 MB / 18.57 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.001221/0.001221, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9673/0.9673, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1313/0.1313, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] 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 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 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.905e-05, allocations: 2.312 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.001736/0.001755, allocations: 1.606 MB / 349.3 MB, free: 7.828 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004438/0.002199, allocations: 319.4 kB / 349.6 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.728e-05/0.002256, allocations: 4 kB / 349.6 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.002535, allocations: 79.7 kB / 349.7 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.002719, allocations: 63.67 kB / 349.7 MB, free: 7.367 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001947/0.002913, allocations: 59.86 kB / 349.8 MB, free: 7.309 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.003056, allocations: 75.75 kB / 349.9 MB, free: 7.234 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.003175, allocations: 11.98 kB / 349.9 MB, free: 7.223 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.125e-05/0.003237, allocations: 35.89 kB / 349.9 MB, free: 7.188 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.863e-05/0.003325, allocations: 55.88 kB / 350 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.003342, allocations: 4 kB / 350 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.623e-05/0.003408, allocations: 31.92 kB / 350 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.214e-05/0.003461, allocations: 19.92 kB / 350 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.003489, allocations: 11.94 kB / 350 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.003634, allocations: 75.73 kB / 350.1 MB, free: 6.992 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.003637, allocations: 0 / 350.1 MB, free: 6.992 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003637, allocations: 0 / 350.1 MB, free: 6.992 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.003642, allocations: 3.938 kB / 350.1 MB, free: 6.988 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003927/0.004035, allocations: 428 kB / 350.5 MB, free: 6.535 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.004074, allocations: 8.031 kB / 350.5 MB, free: 6.527 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.462e-05/0.004129, allocations: 16.89 kB / 350.6 MB, free: 6.512 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.00425, allocations: 140.4 kB / 350.7 MB, free: 6.348 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.00426, allocations: 384 / 350.7 MB, free: 6.348 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.004287, allocations: 384 / 350.7 MB, free: 6.348 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.004412, allocations: 54.95 kB / 350.7 MB, free: 6.285 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.004422, allocations: 4.125 kB / 350.8 MB, free: 6.281 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.004436, allocations: 8.125 kB / 350.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.004447, allocations: 0 / 350.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.187e-05/0.004478, allocations: 7.938 kB / 350.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002766/0.004755, allocations: 283.8 kB / 351 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.00493, allocations: 47.05 kB / 351.1 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.003e-05/0.00495, allocations: 11.69 kB / 351.1 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.004972, allocations: 7.875 kB / 351.1 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.004989, allocations: 41.47 kB / 351.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.00499, allocations: 0 / 351.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003426/0.005332, allocations: 101.4 kB / 351.2 MB, free: 5.715 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.005353, allocations: 51.41 kB / 351.3 MB, free: 5.652 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.994e-05/0.005453, allocations: 224.1 kB / 351.5 MB, free: 5.418 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.271e-06/0.00546, allocations: 25.7 kB / 351.5 MB, free: 5.387 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.839e-05/0.005498, allocations: 158.8 kB / 351.7 MB, free: 5.227 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.005517, allocations: 15.91 kB / 351.7 MB, free: 5.211 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.005542, allocations: 19.38 kB / 351.7 MB, free: 5.184 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.802e-05/0.0056, allocations: 0.5001 MB / 352.2 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.726e-05/0.005618, allocations: 0 / 352.2 MB, free: 4.672 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.245e-05/0.00563, allocations: 7.984 kB / 352.2 MB, free: 4.664 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.134e-05/0.005661, allocations: 31.88 kB / 352.3 MB, free: 4.629 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.005662, allocations: 0 / 352.3 MB, free: 4.629 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.493e-05/0.005727, allocations: 69.47 kB / 352.3 MB, free: 4.555 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.005739, allocations: 4 kB / 352.3 MB, free: 4.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.005744, allocations: 0 / 352.3 MB, free: 4.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.00576, allocations: 0 / 352.3 MB, free: 4.551 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.508e-05/0.005795, allocations: 16 kB / 352.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.0058, allocations: 0 / 352.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.713e-05/0.005817, allocations: 3.984 kB / 352.4 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.005822, allocations: 4 kB / 352.4 MB, free: 4.527 MB / 282.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 4.282e-05/0.005865, allocations: 156.6 kB / 352.5 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.832e-05/0.005883, allocations: 15.89 kB / 352.5 MB, free: 4.348 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.389e-05/0.005977, allocations: 70.08 kB / 352.6 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.005979, allocations: 0 / 352.6 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.005983, allocations: 4 kB / 352.6 MB, free: 4.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.005986, allocations: 4.219 kB / 352.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.006156, allocations: 325.4 kB / 352.9 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.006159, allocations: 3.984 kB / 352.9 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.36e-05/0.006182, allocations: 11.94 kB / 352.9 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.006185, allocations: 7.984 kB / 353 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.006191, allocations: 4 kB / 353 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.006192, allocations: 0 / 353 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.006193, allocations: 192 / 353 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.477e-05/0.006268, allocations: 207.8 kB / 353.2 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-06/0.006275, allocations: 11.95 kB / 353.2 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.006285, allocations: 0 / 353.2 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.93e-05/0.006314, allocations: 11.98 kB / 353.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.006348, allocations: 0 / 353.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.006351, allocations: 4 kB / 353.2 MB, free: 3.629 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.527e-05/0.006396, allocations: 164 kB / 353.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.006396, allocations: 0 / 353.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001604/0.006557, allocations: 23.92 kB / 353.4 MB, free: 3.445 MB / 282.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0007879/0.007344, allocations: 364.1 kB / 353.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001017/0.007446, allocations: 27.67 kB / 353.8 MB, free: 3.145 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.007448, allocations: 0 / 353.8 MB, free: 3.145 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.923e-05/0.007467, allocations: 27.67 kB / 353.8 MB, free: 3.113 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.007671, allocations: 25.06 kB / 353.8 MB, free: 3.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002933/0.007964, allocations: 194.2 kB / 354 MB, free: 2.871 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.978e-05/0.007994, allocations: 63.34 kB / 354.1 MB, free: 2.789 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.514e-05/0.008019, allocations: 15.97 kB / 354.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.008043, allocations: 12.5 kB / 354.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.008044, allocations: 0 / 354.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of Templates: time 0.003396/0.01144, allocations: 1.166 MB / 355.3 MB, free: 1.605 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3739688941277564]