Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.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.002083/0.002083, allocations: 92.27 kB / 20.96 MB, free: 3.574 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.002671/0.002671, allocations: 152.9 kB / 24.26 MB, free: 280 kB / 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 1.532/1.532, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.3887/0.3887, allocations: 34.25 MB / 295.2 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.787e-06/3.787e-06, allocations: 0 / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.232e-05/5.611e-05, allocations: 2.312 kB / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.006077/0.006133, allocations: 1.613 MB / 378.8 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.007688, allocations: 0.5253 MB / 379.4 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.007789, allocations: 3.938 kB / 379.4 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003944/0.008183, allocations: 79.7 kB / 379.4 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004421/0.008625, allocations: 103.5 kB / 379.5 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.008999, allocations: 87.69 kB / 379.6 MB, free: 472 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002609/0.00926, allocations: 99.73 kB / 379.7 MB, free: 372 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.009393, allocations: 4 kB / 379.7 MB, free: 368 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.009526, allocations: 55.81 kB / 379.8 MB, free: 312 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.009662, allocations: 39.95 kB / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.009682, allocations: 7.938 kB / 379.8 MB, free: 264 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.009825, allocations: 47.91 kB / 379.9 MB, free: 216 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.278e-05/0.009897, allocations: 23.92 kB / 379.9 MB, free: 192 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.613e-05/0.009944, allocations: 11.94 kB / 379.9 MB, free: 180 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.01023, allocations: 111.6 kB / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.01023, allocations: 4 kB / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.01023, allocations: 0 / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.01024, allocations: 0 / 380 MB, free: 64 kB / 346.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.0007057/0.01094, allocations: 337.7 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.01099, allocations: 12.03 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.121e-05/0.01107, allocations: 16.84 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.01135, allocations: 150.3 kB / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.01137, allocations: 384 / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.0114, allocations: 4.375 kB / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.01159, allocations: 58.17 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.01161, allocations: 4.188 kB / 380.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.01162, allocations: 384 / 380.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.01162, allocations: 384 / 380.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.01174, allocations: 31.91 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004717/0.01222, allocations: 236.5 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.01235, allocations: 42.48 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.568e-05/0.0124, allocations: 16.86 kB / 380.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.01243, allocations: 4 kB / 380.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/0.01248, allocations: 34.5 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.01248, allocations: 4 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001099/0.01358, allocations: 229.3 kB / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.01364, allocations: 55.41 kB / 381.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.01396, allocations: 222.7 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.014, allocations: 25.7 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.829e-05/0.01409, allocations: 108.1 kB / 381.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/0.01414, allocations: 23.75 kB / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-05/0.01421, allocations: 29.7 kB / 381.6 MB, free: 14.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.0144, allocations: 326.8 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.53e-05/0.01449, allocations: 23.92 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.747e-05/0.01457, allocations: 28.06 kB / 382 MB, free: 13.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.01474, allocations: 69.03 kB / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.01474, allocations: 0 / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002524/0.01499, allocations: 113.5 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.01501, allocations: 4 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.01502, allocations: 0 / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.86e-05/0.01506, allocations: 0 / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.01519, allocations: 23.92 kB / 382.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.01519, allocations: 0 / 382.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.096e-05/0.01525, allocations: 4 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.01525, allocations: 0 / 382.2 MB, free: 13.68 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 0.0001643/0.01542, allocations: 133.8 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/0.01547, allocations: 19.84 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003305/0.0158, allocations: 111.1 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01581, allocations: 0 / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.01582, allocations: 4 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01582, allocations: 0 / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006452/0.01647, allocations: 350.8 kB / 382.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.01647, allocations: 4.031 kB / 382.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.393e-05/0.01656, allocations: 23.98 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.01656, allocations: 0 / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.01657, allocations: 4 kB / 382.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01657, allocations: 0 / 382.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.01658, allocations: 0 / 382.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.01693, allocations: 216.2 kB / 383.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.178e-05/0.01696, allocations: 7.953 kB / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.01698, allocations: 3.984 kB / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.963e-05/0.01706, allocations: 8 kB / 383.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.01711, allocations: 7.984 kB / 383.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-06/0.01712, allocations: 0 / 383.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001819/0.0173, allocations: 163.2 kB / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0173, allocations: 0 / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002777/0.01758, allocations: 23.94 kB / 383.3 MB, free: 12.55 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.002387/0.01996, allocations: 481.8 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002857/0.02025, allocations: 71.88 kB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.02025, allocations: 0 / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.02036, allocations: 31.98 kB / 383.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004996/0.02086, allocations: 15.98 kB / 383.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000783/0.02164, allocations: 269.5 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.02179, allocations: 88.81 kB / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.162e-05/0.02186, allocations: 9.031 kB / 384.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.008e-05/0.02191, allocations: 20.5 kB / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.02191, allocations: 4 kB / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of Templates: time 0.005336/0.02725, allocations: 1.371 MB / 385.6 MB, free: 10.34 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.032339451950975]