Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001457/0.001457, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001123/0.001123, allocations: 161 kB / 24.56 MB, free: 16 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.043/1.043, allocations: 177.1 MB / 205 MB, free: 5.633 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.28/0.28, allocations: 34.26 MB / 295.7 MB, free: 0.7578 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.144e-05/3.354e-05, allocations: 5.266 kB / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002305/0.002339, allocations: 1.638 MB / 379.7 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007714/0.00311, allocations: 0.5376 MB / 380.2 MB, free: 464 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.355e-05/0.003164, allocations: 0 / 380.2 MB, free: 464 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.003372, allocations: 31.78 kB / 380.3 MB, free: 432 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002607/0.003633, allocations: 83.55 kB / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005087/0.004142, allocations: 111.5 kB / 380.4 MB, free: 236 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.004282, allocations: 67.83 kB / 380.5 MB, free: 168 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.004382, allocations: 11.98 kB / 380.5 MB, free: 156 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.41e-05/0.004436, allocations: 27.92 kB / 380.6 MB, free: 128 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.562e-05/0.004492, allocations: 23.86 kB / 380.6 MB, free: 104 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.004507, allocations: 0 / 380.6 MB, free: 104 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.801e-05/0.004575, allocations: 31.98 kB / 380.6 MB, free: 72 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.021e-05/0.004625, allocations: 23.91 kB / 380.6 MB, free: 48 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.151e-05/0.004656, allocations: 11.94 kB / 380.6 MB, free: 36 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.004819, allocations: 63.75 kB / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.004821, allocations: 0 / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.004823, allocations: 0 / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.004827, allocations: 0 / 380.7 MB, free: 15.97 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003806/0.005207, allocations: 424.1 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.005244, allocations: 8.031 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.005287, allocations: 12.83 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.005421, allocations: 139.2 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.005431, allocations: 8.375 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.005454, allocations: 384 / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.005566, allocations: 58.94 kB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.005574, allocations: 192 / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-06/0.005584, allocations: 4.125 kB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.005591, allocations: 0 / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.058e-05/0.005621, allocations: 8 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/0.005916, allocations: 275.8 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.006079, allocations: 46.98 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.395e-05/0.006103, allocations: 11.69 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.006123, allocations: 7.938 kB / 381.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.006142, allocations: 37.47 kB / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.006143, allocations: 0 / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000335/0.006478, allocations: 109.4 kB / 381.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.006505, allocations: 51.41 kB / 381.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.00662, allocations: 205.1 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.006632, allocations: 37.64 kB / 382.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/0.006681, allocations: 142.8 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.006701, allocations: 19.88 kB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.00673, allocations: 19.38 kB / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.006837, allocations: 0.5 MB / 382.8 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.369e-05/0.00686, allocations: 8 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.427e-05/0.006875, allocations: 4.188 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.04e-05/0.006915, allocations: 31.67 kB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.006916, allocations: 0 / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.619e-05/0.006992, allocations: 61.61 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.007005, allocations: 4 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.00701, allocations: 3.984 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.007025, allocations: 0 / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.639e-05/0.007071, allocations: 11.94 kB / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.007076, allocations: 8 kB / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.6e-05/0.007092, allocations: 0 / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.007098, allocations: 4 kB / 382.9 MB, free: 13.54 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 (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 6.412e-05/0.007162, allocations: 160.5 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.007184, allocations: 11.95 kB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.007303, allocations: 70.12 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.007305, allocations: 0 / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.007309, allocations: 0 / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.007312, allocations: 0 / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.007547, allocations: 321.4 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.007548, allocations: 4 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.007583, allocations: 11.98 kB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.007586, allocations: 4 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.007593, allocations: 8.125 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.007595, allocations: 4 kB / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.007596, allocations: 0 / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.007698, allocations: 207.8 kB / 383.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-06/0.007706, allocations: 7.953 kB / 383.7 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.007718, allocations: 4 kB / 383.7 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.326e-05/0.007751, allocations: 7.984 kB / 383.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.007782, allocations: 0 / 383.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.007787, allocations: 8 kB / 383.7 MB, free: 12.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.144e-05/0.007848, allocations: 159.1 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007848, allocations: 0 / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001634/0.008011, allocations: 11.94 kB / 383.9 MB, free: 12.48 MB / 362.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.000923/0.008934, allocations: 385.5 kB / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.009036, allocations: 31.61 kB / 384.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.009038, allocations: 4 kB / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.222e-05/0.00906, allocations: 15.69 kB / 384.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.009278, allocations: 19.86 kB / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.009624, allocations: 194.5 kB / 384.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.919e-05/0.009663, allocations: 66.72 kB / 384.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.578e-05/0.009699, allocations: 11.98 kB / 384.6 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.009732, allocations: 16.5 kB / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.009732, allocations: 0 / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of Templates: time 0.003358/0.01309, allocations: 1.174 MB / 385.8 MB, free: 10.67 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.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.198751457966864]