Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001486/0.001486, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001388/0.001388, allocations: 162.9 kB / 24.99 MB, free: 8.262 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.9788/0.9788, allocations: 177 MB / 205.2 MB, free: 5.605 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.2561/0.2561, allocations: 34.86 MB / 296.6 MB, free: 0.5781 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.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_trunk_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_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 3.938 kB / 378.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.278e-05, allocations: 4.703 kB / 378.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002189/0.002211, allocations: 1.669 MB / 380.4 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007892/0.003001, allocations: 0.5447 MB / 381 MB, free: 172 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.18e-05/0.003062, allocations: 0 / 381 MB, free: 172 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.003347, allocations: 99.61 kB / 381.1 MB, free: 72 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000274/0.003621, allocations: 119.5 kB / 381.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.003842, allocations: 91.69 kB / 381.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.003999, allocations: 103.7 kB / 381.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.004101, allocations: 23.92 kB / 381.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.816e-05/0.00417, allocations: 55.88 kB / 381.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.477e-05/0.004264, allocations: 59.86 kB / 381.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.004278, allocations: 4 kB / 381.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.824e-05/0.004356, allocations: 47.92 kB / 381.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.665e-05/0.004403, allocations: 31.84 kB / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.004436, allocations: 19.92 kB / 381.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.004593, allocations: 111.5 kB / 381.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.004595, allocations: 0 / 381.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.004596, allocations: 0 / 381.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.004601, allocations: 0 / 381.7 MB, free: 15.41 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.0004037/0.005004, allocations: 463.8 kB / 382.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.005036, allocations: 8.031 kB / 382.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.005079, allocations: 16.84 kB / 382.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.005226, allocations: 156.4 kB / 382.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.005236, allocations: 8.375 kB / 382.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.005261, allocations: 20.3 kB / 382.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.005379, allocations: 70.88 kB / 382.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.005389, allocations: 4.188 kB / 382.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.005398, allocations: 384 / 382.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.005404, allocations: 384 / 382.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.364e-05/0.005448, allocations: 27.91 kB / 382.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.005842, allocations: 319.6 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.81e-05/0.005931, allocations: 59.05 kB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.593e-05/0.005956, allocations: 11.69 kB / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.005978, allocations: 3.938 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.006001, allocations: 45.38 kB / 382.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.006002, allocations: 0 / 382.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.000611/0.006613, allocations: 240.3 kB / 383.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.006644, allocations: 55.41 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.006792, allocations: 254.7 kB / 383.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.006803, allocations: 29.7 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/0.006869, allocations: 154.9 kB / 383.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.006899, allocations: 47.59 kB / 383.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.006935, allocations: 39.36 kB / 383.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.007046, allocations: 0.5002 MB / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.978e-05/0.007076, allocations: 19.92 kB / 384.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.752e-05/0.007103, allocations: 19.98 kB / 384.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.439e-05/0.007168, allocations: 51.62 kB / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.007169, allocations: 0 / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001091/0.007278, allocations: 105.6 kB / 384.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.007289, allocations: 4 kB / 384.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.007295, allocations: 0 / 384.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.007307, allocations: 4 kB / 384.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.507e-05/0.007383, allocations: 27.98 kB / 384.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.007388, allocations: 3.938 kB / 384.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.977e-05/0.007408, allocations: 4 kB / 384.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.007415, allocations: 4 kB / 384.5 MB, free: 12.47 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 7.682e-05/0.007492, allocations: 168.5 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.007515, allocations: 19.86 kB / 384.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000162/0.007677, allocations: 131.3 kB / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.007679, allocations: 0 / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.007682, allocations: 0 / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.007687, allocations: 7.984 kB / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003592/0.008046, allocations: 436.8 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.008048, allocations: 0 / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.006e-05/0.008098, allocations: 27.98 kB / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.0081, allocations: 0 / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.00811, allocations: 7.984 kB / 385.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.008111, allocations: 0 / 385.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.008114, allocations: 3.938 kB / 385.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.008257, allocations: 263.6 kB / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.008268, allocations: 15.91 kB / 385.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.008281, allocations: 4.031 kB / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.67e-05/0.008318, allocations: 8 kB / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.00835, allocations: 11.92 kB / 385.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.008356, allocations: 7.984 kB / 385.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.451e-05/0.008441, allocations: 185.1 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008441, allocations: 0 / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001713/0.008612, allocations: 23.94 kB / 385.8 MB, free: 11.09 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.0009025/0.009515, allocations: 421.5 kB / 386.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002839/0.009799, allocations: 67.66 kB / 386.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.0098, allocations: 0 / 386.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.339e-05/0.009843, allocations: 55.47 kB / 386.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.01007, allocations: 31.91 kB / 386.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003931/0.01046, allocations: 272.7 kB / 386.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.65e-05/0.01051, allocations: 75.27 kB / 386.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.073e-05/0.01055, allocations: 20.55 kB / 386.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.01058, allocations: 20.48 kB / 386.7 MB, free: 10.22 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01058, allocations: 0 / 386.7 MB, free: 10.22 MB / 362.7 MB Notification: Performance of Templates: time 0.003515/0.0141, allocations: 1.543 MB / 388.3 MB, free: 8.691 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 2.9656124769244343]