Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001917/0.001917, allocations: 107.5 kB / 20.97 MB, free: 3.453 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.002266/0.002266, allocations: 156.8 kB / 24.27 MB, free: 160 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.578/1.578, allocations: 177 MB / 204.5 MB, free: 5.602 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.3762/0.3762, allocations: 34.26 MB / 295.2 MB, free: 0.6523 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.057e-05/3.224e-05, allocations: 2.312 kB / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003731/0.003764, allocations: 1.607 MB / 378.8 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.004952, allocations: 0.5253 MB / 379.4 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.55e-05/0.005017, allocations: 4 kB / 379.4 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.005241, allocations: 19.8 kB / 379.4 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00034/0.005581, allocations: 83.55 kB / 379.5 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/0.005878, allocations: 87.7 kB / 379.6 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.006057, allocations: 71.77 kB / 379.6 MB, free: 496 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.595e-05/0.006153, allocations: 8 kB / 379.6 MB, free: 488 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.653e-05/0.006249, allocations: 31.89 kB / 379.7 MB, free: 456 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.287e-05/0.006312, allocations: 15.94 kB / 379.7 MB, free: 440 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.006335, allocations: 4 kB / 379.7 MB, free: 436 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.042e-05/0.006425, allocations: 27.98 kB / 379.7 MB, free: 408 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.818e-05/0.006484, allocations: 19.91 kB / 379.7 MB, free: 388 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.222e-05/0.006516, allocations: 11.94 kB / 379.7 MB, free: 376 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.006702, allocations: 75.67 kB / 379.8 MB, free: 300 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/0.006712, allocations: 11.98 kB / 379.8 MB, free: 288 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.006713, allocations: 0 / 379.8 MB, free: 288 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.006718, allocations: 0 / 379.8 MB, free: 288 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005977/0.007316, allocations: 403.8 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.007354, allocations: 8.031 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.398e-05/0.007408, allocations: 16.89 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.007609, allocations: 136.5 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.007622, allocations: 4.375 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.007639, allocations: 384 / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.007779, allocations: 50.17 kB / 380.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.007793, allocations: 4.188 kB / 380.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.007804, allocations: 4.375 kB / 380.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.007808, allocations: 384 / 380.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.574e-05/0.007894, allocations: 19.92 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.008328, allocations: 287.7 kB / 380.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.00858, allocations: 50.98 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.711e-05/0.008627, allocations: 11.69 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.008647, allocations: 0 / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.008689, allocations: 41.39 kB / 380.8 MB, free: 15.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.00869, allocations: 4 kB / 380.8 MB, free: 15.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005756/0.009265, allocations: 133.4 kB / 381 MB, free: 14.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.009319, allocations: 51.41 kB / 381 MB, free: 14.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.00953, allocations: 208.8 kB / 381.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.009551, allocations: 25.7 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.009656, allocations: 146.9 kB / 381.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.009693, allocations: 19.84 kB / 381.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-05/0.009744, allocations: 23.36 kB / 381.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002625/0.01001, allocations: 0.4923 MB / 381.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.912e-05/0.01008, allocations: 15.98 kB / 381.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.389e-05/0.01013, allocations: 19.98 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.01024, allocations: 43.67 kB / 382 MB, free: 13.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.01024, allocations: 4.125 kB / 382 MB, free: 13.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001781/0.01042, allocations: 77.58 kB / 382.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.01044, allocations: 4 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.01044, allocations: 4 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.01046, allocations: 0 / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.092e-05/0.01052, allocations: 11.98 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.01052, allocations: 4 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.681e-05/0.01056, allocations: 7.953 kB / 382.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.01057, allocations: 0 / 382.1 MB, free: 13.78 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 0.0001226/0.01069, allocations: 160.6 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.01073, allocations: 15.88 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.01097, allocations: 86.08 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.01097, allocations: 0 / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.01097, allocations: 0 / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.01098, allocations: 0 / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004584/0.01143, allocations: 353.4 kB / 382.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01144, allocations: 3.938 kB / 382.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.007e-05/0.01149, allocations: 8 kB / 382.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.01149, allocations: 7.938 kB / 382.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.01149, allocations: 0 / 382.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.0115, allocations: 0 / 382.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.0115, allocations: 0 / 382.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.01177, allocations: 227.8 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.244e-05/0.01178, allocations: 4.203 kB / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.0118, allocations: 8 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.283e-05/0.01187, allocations: 7.984 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.01191, allocations: 4 kB / 383 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.01191, allocations: 4 kB / 383 MB, free: 12.83 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001258/0.01204, allocations: 155.2 kB / 383.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01204, allocations: 3.938 kB / 383.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002365/0.01228, allocations: 12 kB / 383.2 MB, free: 12.66 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.002931/0.01521, allocations: 426.6 kB / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.0154, allocations: 47.67 kB / 383.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.0154, allocations: 0 / 383.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.885e-05/0.01548, allocations: 31.73 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.01582, allocations: 36.27 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004693/0.01629, allocations: 194.5 kB / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.87e-05/0.01638, allocations: 75.33 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.527e-05/0.01642, allocations: 11.98 kB / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.01646, allocations: 12.5 kB / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of SimCode: time 9.71e-07/0.01646, allocations: 0 / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of Templates: time 0.00454/0.021, allocations: 1.152 MB / 385.1 MB, free: 10.79 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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: 4.9404108739690855]