Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.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.001056/0.001056, 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.001207/0.001207, 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.9903/0.9903, 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.2429/0.2429, allocations: 34.87 MB / 296.6 MB, free: 0.5625 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 378.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.643e-05/1.749e-05, allocations: 6.25 kB / 378.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.001909/0.001927, allocations: 1.64 MB / 380.4 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006637/0.002591, allocations: 0.5214 MB / 380.9 MB, free: 228 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.83e-05/0.002639, allocations: 0 / 380.9 MB, free: 228 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.002789, allocations: 31.72 kB / 381 MB, free: 196 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002019/0.00299, allocations: 83.61 kB / 381 MB, free: 112 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.003181, allocations: 83.66 kB / 381.1 MB, free: 28 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.003303, allocations: 75.77 kB / 381.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.346e-05/0.003367, allocations: 11.86 kB / 381.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.547e-05/0.003412, allocations: 31.91 kB / 381.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.995e-05/0.003452, allocations: 19.84 kB / 381.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.003467, allocations: 4 kB / 381.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.514e-05/0.003522, allocations: 31.92 kB / 381.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.402e-05/0.003556, allocations: 15.92 kB / 381.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.003576, allocations: 12 kB / 381.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.003688, allocations: 71.67 kB / 381.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.00369, allocations: 0 / 381.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.003691, allocations: 0 / 381.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.003695, allocations: 0 / 381.4 MB, free: 15.76 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.000311/0.004006, allocations: 420.1 kB / 381.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.697e-05/0.004033, allocations: 8.031 kB / 381.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.004065, allocations: 8.891 kB / 381.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.004179, allocations: 140.4 kB / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.412e-06/0.004185, allocations: 384 / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.004199, allocations: 4.375 kB / 382 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.114e-05/0.00429, allocations: 66.94 kB / 382 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.004296, allocations: 192 / 382 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-06/0.004302, allocations: 384 / 382 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.004308, allocations: 384 / 382 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.729e-05/0.004335, allocations: 15.88 kB / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002361/0.004571, allocations: 267.8 kB / 382.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.0047, allocations: 43.05 kB / 382.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.781e-05/0.004718, allocations: 11.69 kB / 382.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.004731, allocations: 0 / 382.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.00475, allocations: 41.33 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.004751, allocations: 4 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002779/0.005029, allocations: 113.4 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.005055, allocations: 51.41 kB / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.005161, allocations: 201.9 kB / 382.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.005172, allocations: 29.69 kB / 382.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.808e-05/0.00522, allocations: 146.8 kB / 382.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.005235, allocations: 7.906 kB / 382.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.00526, allocations: 27.36 kB / 383 MB, free: 13.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.005385, allocations: 0.4923 MB / 383.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.731e-05/0.005402, allocations: 4 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.426e-05/0.005416, allocations: 12 kB / 383.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.623e-05/0.005452, allocations: 23.69 kB / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.005453, allocations: 0 / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.127e-05/0.005524, allocations: 69.47 kB / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.005534, allocations: 4 kB / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.005538, allocations: 0 / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.005548, allocations: 0 / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.188e-05/0.00559, allocations: 15.98 kB / 383.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.005594, allocations: 0 / 383.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.64e-05/0.00561, allocations: 4 kB / 383.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.005614, allocations: 4 kB / 383.6 MB, free: 13.34 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 5.675e-05/0.005671, allocations: 156.6 kB / 383.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.005692, allocations: 12.14 kB / 383.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.911e-05/0.005791, allocations: 78.08 kB / 383.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.005793, allocations: 0 / 383.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.005795, allocations: 0 / 383.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.005798, allocations: 0 / 383.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.006006, allocations: 325.3 kB / 384.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006007, allocations: 0 / 384.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.645e-05/0.006034, allocations: 11.98 kB / 384.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.006036, allocations: 4.281 kB / 384.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.006042, allocations: 4 kB / 384.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.006042, allocations: 0 / 384.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.006043, allocations: 3.938 kB / 384.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.722e-05/0.00614, allocations: 207.8 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.876e-06/0.006149, allocations: 11.94 kB / 384.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.00616, allocations: 0 / 384.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.176e-05/0.006192, allocations: 4 kB / 384.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.006214, allocations: 7.984 kB / 384.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.006218, allocations: 0 / 384.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.745e-05/0.006275, allocations: 156 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006275, allocations: 4 kB / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001794/0.006455, allocations: 19.94 kB / 384.6 MB, free: 12.28 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.0007435/0.007198, allocations: 371.7 kB / 384.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.38e-05/0.007292, allocations: 35.61 kB / 385 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-06/0.007293, allocations: 0 / 385 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.236e-05/0.007316, allocations: 23.81 kB / 385 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.00751, allocations: 22.73 kB / 385 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002691/0.00778, allocations: 182.5 kB / 385.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.375e-05/0.007813, allocations: 67.28 kB / 385.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.553e-05/0.007839, allocations: 11.97 kB / 385.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.007861, allocations: 16.5 kB / 385.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.007862, allocations: 0 / 385.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of Templates: time 0.002425/0.01029, allocations: 1.149 MB / 386.4 MB, free: 10.48 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.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.0880008470267057]