Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001003/0.001003, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.0009807/0.0009807, allocations: 161 kB / 24.56 MB, free: 8 kB / 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 1.037/1.037, allocations: 177.1 MB / 205 MB, free: 5.188 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.2611/0.2611, allocations: 34.26 MB / 295.7 MB, free: 0.6367 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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 378.1 MB, free: 2.594 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.32e-05/3.563e-05, allocations: 9.688 kB / 378.1 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003689/0.003724, allocations: 1.677 MB / 379.7 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.004812, allocations: 0.5453 MB / 380.3 MB, free: 352 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.422e-05/0.004896, allocations: 0 / 380.3 MB, free: 352 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003694/0.005266, allocations: 103.6 kB / 380.4 MB, free: 248 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003804/0.005646, allocations: 107.5 kB / 380.5 MB, free: 140 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.005963, allocations: 95.69 kB / 380.6 MB, free: 44 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.006197, allocations: 103.8 kB / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.006322, allocations: 27.83 kB / 380.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.006427, allocations: 47.89 kB / 380.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.006564, allocations: 59.86 kB / 380.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.006585, allocations: 4 kB / 380.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.006706, allocations: 55.91 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.452e-05/0.006781, allocations: 27.86 kB / 380.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.616e-05/0.006827, allocations: 19.92 kB / 380.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.007074, allocations: 111.5 kB / 381 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.007078, allocations: 0 / 381 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.00708, allocations: 0 / 381 MB, free: 15.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.007086, allocations: 0 / 381 MB, free: 15.59 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005563/0.007642, allocations: 459.8 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.00769, allocations: 8.031 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.517e-05/0.007756, allocations: 20.84 kB / 381.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.007964, allocations: 164.3 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.007979, allocations: 4.375 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.624e-05/0.008015, allocations: 8.375 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.008188, allocations: 70.88 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.008201, allocations: 192 / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.008216, allocations: 8.125 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.008225, allocations: 0 / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.535e-05/0.008291, allocations: 19.97 kB / 381.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.008749, allocations: 327.6 kB / 382.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.008863, allocations: 54.98 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.939e-05/0.008902, allocations: 19.69 kB / 382.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.008933, allocations: 4.156 kB / 382.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.008963, allocations: 37.38 kB / 382.2 MB, free: 14.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/0.008965, allocations: 0 / 382.2 MB, free: 14.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.00126/0.01023, allocations: 245.6 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.01027, allocations: 55.41 kB / 382.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.01049, allocations: 250.7 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.01051, allocations: 25.7 kB / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.111e-05/0.0106, allocations: 166.8 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/0.01064, allocations: 39.7 kB / 383 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.643e-05/0.0107, allocations: 43.3 kB / 383 MB, free: 13.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.01087, allocations: 0.5 MB / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.699e-05/0.01092, allocations: 19.98 kB / 383.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.336e-05/0.01096, allocations: 23.8 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.01107, allocations: 47.69 kB / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.01107, allocations: 0 / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000188/0.01126, allocations: 105.6 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.01128, allocations: 8 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.01128, allocations: 0 / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.0113, allocations: 4 kB / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.01144, allocations: 31.92 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.01145, allocations: 0 / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.463e-05/0.01148, allocations: 4 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.0115, allocations: 7.938 kB / 383.8 MB, free: 12.65 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 (13): * Single equations (assignments): 13 * 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.0001011/0.0116, allocations: 160.6 kB / 383.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.01164, allocations: 23.86 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.0119, allocations: 123.1 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.0119, allocations: 0 / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.01191, allocations: 4 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.01192, allocations: 3.984 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005356/0.01245, allocations: 432.9 kB / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.01245, allocations: 0 / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.698e-05/0.01254, allocations: 23.98 kB / 384.5 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.01255, allocations: 7.984 kB / 384.5 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.01256, allocations: 11.92 kB / 384.5 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.01257, allocations: 0 / 384.5 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.01257, allocations: 8 kB / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.01281, allocations: 259.1 kB / 384.8 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/0.01283, allocations: 15.94 kB / 384.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.01285, allocations: 11.94 kB / 384.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-05/0.01292, allocations: 0 / 384.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.01297, allocations: 11.98 kB / 384.8 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.01298, allocations: 4 kB / 384.8 MB, free: 11.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001394/0.01312, allocations: 189 kB / 385 MB, free: 11.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01312, allocations: 0 / 385 MB, free: 11.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003034/0.01343, allocations: 23.94 kB / 385.1 MB, free: 11.28 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 (13): * Single equations (assignments): 13 * 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.001449/0.01488, allocations: 445.4 kB / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.01509, allocations: 67.41 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.01509, allocations: 7.938 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.212e-05/0.01514, allocations: 43.59 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.01541, allocations: 27.5 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005272/0.01594, allocations: 272.7 kB / 385.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.29e-05/0.01599, allocations: 71.33 kB / 386 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.999e-05/0.01604, allocations: 20.55 kB / 386 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.232e-05/0.01608, allocations: 20.48 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of SimCode: time 1.282e-06/0.01608, allocations: 0 / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of Templates: time 0.00387/0.01995, allocations: 1.563 MB / 387.6 MB, free: 8.883 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.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.3743956540711224]