Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.001319/0.001319, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001039/0.001039, allocations: 163 kB / 24.99 MB, free: 8.336 MB / 18.57 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 0.9981/0.9981, allocations: 177.1 MB / 205.3 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] 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.2856/0.2856, allocations: 34.26 MB / 296 MB, free: 0.7734 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 378 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/2.045e-05, allocations: 2.312 kB / 378 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.00216/0.00218, allocations: 1.65 MB / 379.7 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007527/0.002933, allocations: 0.5492 MB / 380.2 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.631e-05/0.002999, allocations: 0 / 380.2 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002702/0.00327, allocations: 107.6 kB / 380.3 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003065/0.003576, allocations: 115.5 kB / 380.5 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.00386, allocations: 127.5 kB / 380.6 MB, free: 424 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.004052, allocations: 91.73 kB / 380.7 MB, free: 332 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.004159, allocations: 11.98 kB / 380.7 MB, free: 320 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.242e-05/0.004231, allocations: 55.81 kB / 380.7 MB, free: 264 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.004337, allocations: 67.86 kB / 380.8 MB, free: 196 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.004354, allocations: 4 kB / 380.8 MB, free: 192 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-05/0.004435, allocations: 43.92 kB / 380.9 MB, free: 148 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.443e-05/0.00449, allocations: 23.92 kB / 380.9 MB, free: 124 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.939e-05/0.004519, allocations: 19.92 kB / 380.9 MB, free: 104 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.004669, allocations: 99.59 kB / 381 MB, free: 4 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004671, allocations: 0 / 381 MB, free: 4 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.004672, allocations: 0 / 381 MB, free: 4 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.004675, allocations: 0 / 381 MB, free: 4 kB / 346.7 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.0004093/0.005085, allocations: 459.8 kB / 381.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.00512, allocations: 8.031 kB / 381.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.005165, allocations: 20.78 kB / 381.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.005305, allocations: 149.2 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.005317, allocations: 8.359 kB / 381.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.005338, allocations: 4.375 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.005451, allocations: 58.95 kB / 381.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.005461, allocations: 192 / 381.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.00547, allocations: 4.125 kB / 381.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.00548, allocations: 4 kB / 381.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.506e-05/0.005515, allocations: 11.92 kB / 381.7 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003074/0.005822, allocations: 299.7 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.32e-05/0.005885, allocations: 43.05 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.685e-05/0.005912, allocations: 23.56 kB / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.005929, allocations: 0 / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.005951, allocations: 37.39 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.005951, allocations: 4 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005216/0.006473, allocations: 181.5 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.006505, allocations: 55.41 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.006662, allocations: 259.1 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.006673, allocations: 29.7 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.474e-05/0.006738, allocations: 158.9 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.006766, allocations: 35.72 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-05/0.0068, allocations: 27.38 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.006943, allocations: 0.504 MB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.474e-05/0.006967, allocations: 11.98 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.986e-05/0.006987, allocations: 12 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.13e-05/0.007039, allocations: 35.62 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.00704, allocations: 0 / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.846e-05/0.007128, allocations: 77.59 kB / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.007142, allocations: 7.984 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.007147, allocations: 0 / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.00716, allocations: 0 / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.874e-05/0.007229, allocations: 15.94 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.007236, allocations: 8 kB / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.063e-05/0.007257, allocations: 7.984 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.007263, allocations: 4 kB / 383.5 MB, free: 13.27 MB / 362.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 (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 8.086e-05/0.007344, allocations: 164.5 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.007369, allocations: 19.91 kB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.007508, allocations: 91.42 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.00751, allocations: 0 / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.007513, allocations: 0 / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.007517, allocations: 0 / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.00781, allocations: 393 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.007812, allocations: 0 / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.00785, allocations: 23.94 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.007852, allocations: 0 / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.007859, allocations: 0 / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.007861, allocations: 0 / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.007865, allocations: 7.984 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.007985, allocations: 231.5 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-06/0.007995, allocations: 11.91 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.008008, allocations: 4 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.344e-05/0.008041, allocations: 4 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.008075, allocations: 19.89 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.008079, allocations: 0 / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.075e-05/0.00816, allocations: 187.1 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00816, allocations: 0 / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001698/0.008329, allocations: 19.94 kB / 384.7 MB, free: 12.03 MB / 362.7 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.0009377/0.009267, allocations: 442.2 kB / 385.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001032/0.00937, allocations: 43.66 kB / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.582e-06/0.009372, allocations: 7.875 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.838e-05/0.0094, allocations: 23.69 kB / 385.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.009615, allocations: 19.98 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.009963, allocations: 261.4 kB / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.508e-05/0.01001, allocations: 71.33 kB / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.012e-05/0.01005, allocations: 17.02 kB / 385.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/0.01008, allocations: 24.48 kB / 385.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01008, allocations: 4.062 kB / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of Templates: time 0.003368/0.01345, allocations: 1.409 MB / 387 MB, free: 9.836 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/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.1502864570356905]