Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.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.001164/0.001164, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001173/0.001173, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.867/0.867, allocations: 158.6 MB / 185.9 MB, free: 2.793 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.1347/0.1347, allocations: 32.37 MB / 270.7 MB, free: 14.54 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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 348.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.39e-05/1.493e-05, allocations: 4.281 kB / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.001735/0.00175, allocations: 1.595 MB / 349.7 MB, free: 7.562 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004122/0.002162, allocations: 307.5 kB / 350 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.101e-05/0.002213, allocations: 0 / 350 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.002437, allocations: 115.6 kB / 350.1 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.002578, allocations: 83.66 kB / 350.2 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.00274, allocations: 67.78 kB / 350.3 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.002858, allocations: 75.75 kB / 350.4 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.00298, allocations: 11.98 kB / 350.4 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.594e-05/0.003056, allocations: 47.88 kB / 350.4 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.003159, allocations: 63.86 kB / 350.5 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.003177, allocations: 0 / 350.5 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.946e-05/0.003247, allocations: 31.94 kB / 350.5 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.849e-05/0.003295, allocations: 23.92 kB / 350.5 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.27e-05/0.003328, allocations: 15.94 kB / 350.5 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.003466, allocations: 83.59 kB / 350.6 MB, free: 6.648 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003468, allocations: 4 kB / 350.6 MB, free: 6.645 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.003469, allocations: 0 / 350.6 MB, free: 6.645 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.003473, allocations: 0 / 350.6 MB, free: 6.645 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.0002815/0.003755, allocations: 439.9 kB / 351.1 MB, free: 6.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.00379, allocations: 8.031 kB / 351.1 MB, free: 6.172 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.81e-05/0.003818, allocations: 16.89 kB / 351.1 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.003926, allocations: 148.3 kB / 351.2 MB, free: 5.984 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.345e-06/0.003934, allocations: 4.375 kB / 351.2 MB, free: 5.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.003948, allocations: 8.375 kB / 351.2 MB, free: 5.973 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.886e-05/0.004027, allocations: 50.95 kB / 351.3 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.004036, allocations: 4.125 kB / 351.3 MB, free: 5.91 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-06/0.004042, allocations: 4.125 kB / 351.3 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.004048, allocations: 0 / 351.3 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.028e-05/0.004068, allocations: 8 kB / 351.3 MB, free: 5.898 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.00422, allocations: 256.5 kB / 351.6 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.578e-05/0.004316, allocations: 46.97 kB / 351.6 MB, free: 5.562 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.074e-05/0.004327, allocations: 15.77 kB / 351.6 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.004341, allocations: 4 kB / 351.6 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.258e-05/0.004354, allocations: 41.33 kB / 351.7 MB, free: 5.488 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.004354, allocations: 3.938 kB / 351.7 MB, free: 5.484 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001977/0.004552, allocations: 89.47 kB / 351.8 MB, free: 5.391 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.25e-05/0.004565, allocations: 55.41 kB / 351.8 MB, free: 5.324 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.057e-05/0.004645, allocations: 241.8 kB / 352 MB, free: 5.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.004653, allocations: 29.7 kB / 352.1 MB, free: 5.035 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.616e-05/0.004689, allocations: 158.8 kB / 352.2 MB, free: 4.875 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.322e-05/0.004702, allocations: 15.84 kB / 352.2 MB, free: 4.859 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/0.004724, allocations: 23.36 kB / 352.3 MB, free: 4.828 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.32e-05/0.004767, allocations: 0.5001 MB / 352.8 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-06/0.004776, allocations: 7.984 kB / 352.8 MB, free: 4.309 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.545e-05/0.004791, allocations: 4 kB / 352.8 MB, free: 4.305 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.069e-05/0.004812, allocations: 19.69 kB / 352.8 MB, free: 4.281 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.004812, allocations: 4 kB / 352.8 MB, free: 4.277 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.876e-05/0.004861, allocations: 65.47 kB / 352.9 MB, free: 4.207 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/0.004869, allocations: 8 kB / 352.9 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/0.004872, allocations: 0 / 352.9 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.004883, allocations: 0 / 352.9 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.11e-05/0.004914, allocations: 11.98 kB / 352.9 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.004917, allocations: 0 / 352.9 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.429e-05/0.004931, allocations: 8 kB / 352.9 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-06/0.004934, allocations: 0 / 352.9 MB, free: 4.18 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 3.518e-05/0.004969, allocations: 156.6 kB / 353 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.004985, allocations: 19.84 kB / 353.1 MB, free: 3.996 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.829e-05/0.005053, allocations: 75 kB / 353.1 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-06/0.005055, allocations: 64 / 353.1 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.005057, allocations: 4 kB / 353.1 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.005059, allocations: 0 / 353.1 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.005203, allocations: 302 kB / 353.4 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.005204, allocations: 0 / 353.4 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.182e-05/0.005225, allocations: 19.92 kB / 353.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.005227, allocations: 0 / 353.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.005233, allocations: 4 kB / 353.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.005234, allocations: 4 kB / 353.5 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.005235, allocations: 0 / 353.5 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.263e-05/0.005297, allocations: 207.8 kB / 353.7 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-06/0.005305, allocations: 11.89 kB / 353.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.105e-06/0.005313, allocations: 0 / 353.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.805e-05/0.005341, allocations: 4 kB / 353.7 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/0.005361, allocations: 7.984 kB / 353.7 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.005363, allocations: 0 / 353.7 MB, free: 3.309 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.016e-05/0.005403, allocations: 179.1 kB / 353.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005403, allocations: 0 / 353.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001372/0.00554, allocations: 15.92 kB / 353.9 MB, free: 3.117 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.0006611/0.006201, allocations: 393.7 kB / 354.3 MB, free: 2.828 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.745e-05/0.006259, allocations: 27.67 kB / 354.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.32e-07/0.00626, allocations: 0 / 354.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.367e-05/0.006273, allocations: 19.67 kB / 354.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.006442, allocations: 21.44 kB / 354.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002301/0.006672, allocations: 214.5 kB / 354.5 MB, free: 2.512 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.243e-05/0.006704, allocations: 67.33 kB / 354.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.258e-05/0.006727, allocations: 11.98 kB / 354.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.006764, allocations: 78.2 kB / 354.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of SimCode: time 3.7e-07/0.006764, allocations: 0 / 354.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of Templates: time 0.00241/0.009174, allocations: 1.273 MB / 356 MB, free: 1.074 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.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.0325721129775047]