Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001299/0.001299, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001016/0.001016, allocations: 160.9 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9632/0.9632, allocations: 177 MB / 205.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2544/0.2544, allocations: 34.87 MB / 296.6 MB, free: 0.5586 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 378.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.997e-05, allocations: 2.312 kB / 378.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002541/0.002561, allocations: 1.652 MB / 380.4 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008627/0.003424, allocations: 0.5447 MB / 381 MB, free: 200 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.139e-05/0.003475, allocations: 0 / 381 MB, free: 200 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002675/0.003743, allocations: 75.7 kB / 381 MB, free: 124 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002923/0.004035, allocations: 103.5 kB / 381.1 MB, free: 20 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.004327, allocations: 111.6 kB / 381.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.004468, allocations: 99.73 kB / 381.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.004569, allocations: 8 kB / 381.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.047e-05/0.00465, allocations: 43.89 kB / 381.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.004768, allocations: 51.88 kB / 381.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.004785, allocations: 4 kB / 381.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.573e-05/0.004881, allocations: 51.84 kB / 381.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.533e-05/0.004936, allocations: 19.92 kB / 381.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/0.00497, allocations: 15.94 kB / 381.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.005152, allocations: 91.66 kB / 381.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.005154, allocations: 4 kB / 381.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005155, allocations: 0 / 381.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.788e-06/0.005159, allocations: 0 / 381.6 MB, free: 15.53 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004428/0.005601, allocations: 439.9 kB / 382.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.005641, allocations: 12.02 kB / 382.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.009e-05/0.005711, allocations: 16.84 kB / 382.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.005875, allocations: 149.1 kB / 382.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.00589, allocations: 8.375 kB / 382.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.005917, allocations: 384 / 382.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.006085, allocations: 62.94 kB / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.006098, allocations: 4.172 kB / 382.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.006109, allocations: 4.375 kB / 382.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.006119, allocations: 4.375 kB / 382.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.409e-05/0.006173, allocations: 15.92 kB / 382.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.006643, allocations: 303.6 kB / 382.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.661e-05/0.006739, allocations: 39.06 kB / 382.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.593e-05/0.006775, allocations: 15.77 kB / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.006797, allocations: 0 / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.006826, allocations: 37.33 kB / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.006828, allocations: 0 / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004949/0.007323, allocations: 177.2 kB / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.007349, allocations: 51.41 kB / 382.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.007482, allocations: 242.4 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.007492, allocations: 29.7 kB / 383.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.007546, allocations: 158.8 kB / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.007572, allocations: 27.75 kB / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.007602, allocations: 23.38 kB / 383.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.007711, allocations: 0.4962 MB / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.113e-05/0.007732, allocations: 12 kB / 383.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.821e-05/0.00775, allocations: 12 kB / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.869e-05/0.007799, allocations: 35.75 kB / 384 MB, free: 12.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.007799, allocations: 0 / 384 MB, free: 12.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00011/0.007909, allocations: 89.45 kB / 384.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.007923, allocations: 4 kB / 384.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.007927, allocations: 0 / 384.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.00794, allocations: 0 / 384.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.371e-05/0.008013, allocations: 15.98 kB / 384.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.00802, allocations: 4.312 kB / 384.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.796e-05/0.008037, allocations: 0 / 384.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.008043, allocations: 8 kB / 384.1 MB, free: 12.86 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 6.256e-05/0.008106, allocations: 156.6 kB / 384.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.00813, allocations: 19.84 kB / 384.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.008259, allocations: 95.05 kB / 384.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.008261, allocations: 4 kB / 384.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.008264, allocations: 0 / 384.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.008268, allocations: 0 / 384.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.008553, allocations: 377 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.008554, allocations: 0 / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.744e-05/0.008591, allocations: 12.03 kB / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.008594, allocations: 8 kB / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.008601, allocations: 0 / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.008605, allocations: 7.984 kB / 384.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.008606, allocations: 0 / 384.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.008729, allocations: 247.8 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.547e-06/0.008738, allocations: 7.953 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.00875, allocations: 0 / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.426e-05/0.008784, allocations: 4 kB / 385 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.008813, allocations: 11.97 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.008817, allocations: 4 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.044e-05/0.008888, allocations: 179.1 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008888, allocations: 0 / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001624/0.00905, allocations: 27.88 kB / 385.2 MB, free: 11.63 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.000824/0.009874, allocations: 434.3 kB / 385.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.498e-05/0.009969, allocations: 43.64 kB / 385.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.009972, allocations: 4 kB / 385.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.947e-05/0.01, allocations: 27.61 kB / 385.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.0102, allocations: 24 kB / 385.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003144/0.01052, allocations: 233.9 kB / 386 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.301e-05/0.01056, allocations: 71.33 kB / 386 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.816e-05/0.0106, allocations: 12.72 kB / 386.1 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/0.01063, allocations: 20.48 kB / 386.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01063, allocations: 0 / 386.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of Templates: time 0.002962/0.01359, allocations: 1.414 MB / 387.5 MB, free: 9.445 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/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.047906627180055]