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.001235/0.001235, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0009315/0.0009315, allocations: 159.4 kB / 24.91 MB, free: 8.719 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.9338/0.9338, allocations: 177 MB / 205.2 MB, free: 5.039 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.259/0.259, allocations: 34.86 MB / 296.6 MB, free: 472 kB / 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|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.[0-9,]+.|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 1.523e-06/1.523e-06, allocations: 0 / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.582e-05, allocations: 6.328 kB / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002552/0.002577, allocations: 1.662 MB / 327.6 MB, free: 5.488 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009439/0.003521, allocations: 0.533 MB / 328.1 MB, free: 4.953 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.287e-05/0.003594, allocations: 0 / 328.1 MB, free: 4.953 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003008/0.003895, allocations: 75.7 kB / 328.2 MB, free: 4.879 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000351/0.004246, allocations: 111.5 kB / 328.3 MB, free: 4.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.00455, allocations: 91.64 kB / 328.4 MB, free: 4.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.00474, allocations: 87.69 kB / 328.5 MB, free: 4.594 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.004845, allocations: 15.98 kB / 328.5 MB, free: 4.578 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.619e-05/0.004931, allocations: 43.89 kB / 328.5 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.005055, allocations: 51.88 kB / 328.6 MB, free: 4.484 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.00507, allocations: 0 / 328.6 MB, free: 4.484 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.438e-05/0.005164, allocations: 47.92 kB / 328.6 MB, free: 4.438 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.553e-05/0.00522, allocations: 23.91 kB / 328.7 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.005247, allocations: 11.94 kB / 328.7 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.005418, allocations: 95.59 kB / 328.8 MB, free: 4.309 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.00542, allocations: 0 / 328.8 MB, free: 4.309 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.005421, allocations: 4 kB / 328.8 MB, free: 4.305 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.005426, allocations: 0 / 328.8 MB, free: 4.305 MB / 298.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.0003877/0.005813, allocations: 314.4 kB / 329.1 MB, free: 3.973 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.005853, allocations: 8.031 kB / 329.1 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.005887, allocations: 12.92 kB / 329.1 MB, free: 3.953 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.006056, allocations: 142.3 kB / 329.2 MB, free: 3.785 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.006068, allocations: 8.312 kB / 329.2 MB, free: 3.777 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.006095, allocations: 4.375 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.0062, allocations: 50.95 kB / 329.3 MB, free: 3.715 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.006211, allocations: 4.172 kB / 329.3 MB, free: 3.711 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.006223, allocations: 8.375 kB / 329.3 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.006228, allocations: 4.375 kB / 329.3 MB, free: 3.699 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.523e-05/0.006254, allocations: 7.938 kB / 329.3 MB, free: 3.691 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002499/0.006503, allocations: 171 kB / 329.5 MB, free: 3.508 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6e-05/0.006563, allocations: 34.44 kB / 329.5 MB, free: 3.465 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.966e-05/0.006583, allocations: 16.94 kB / 329.5 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.006606, allocations: 4 kB / 329.5 MB, free: 3.441 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.00663, allocations: 30.56 kB / 329.6 MB, free: 3.402 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.006631, allocations: 0 / 329.6 MB, free: 3.402 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004763/0.007108, allocations: 145.5 kB / 329.7 MB, free: 3.254 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.007145, allocations: 55.41 kB / 329.8 MB, free: 3.188 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.00727, allocations: 181.7 kB / 330 MB, free: 2.996 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.007284, allocations: 25.7 kB / 330 MB, free: 2.965 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.249e-05/0.007326, allocations: 108 kB / 330.1 MB, free: 2.855 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.007354, allocations: 23.8 kB / 330.1 MB, free: 2.832 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.007385, allocations: 21.7 kB / 330.1 MB, free: 2.805 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.007482, allocations: 322.8 kB / 330.4 MB, free: 2.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.431e-05/0.007496, allocations: 8 kB / 330.5 MB, free: 2.473 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.419e-05/0.00751, allocations: 7.984 kB / 330.5 MB, free: 2.465 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.194e-05/0.007552, allocations: 32.83 kB / 330.5 MB, free: 2.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.007553, allocations: 0 / 330.5 MB, free: 2.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.677e-05/0.00763, allocations: 61.83 kB / 330.6 MB, free: 2.363 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.007643, allocations: 8 kB / 330.6 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.007648, allocations: 3.938 kB / 330.6 MB, free: 2.352 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.007661, allocations: 0 / 330.6 MB, free: 2.352 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.054e-05/0.007731, allocations: 16 kB / 330.6 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.007734, allocations: 0 / 330.6 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.171e-05/0.007756, allocations: 11.92 kB / 330.6 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.007762, allocations: 0 / 330.6 MB, free: 2.324 MB / 298.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 6.961e-05/0.007832, allocations: 116.7 kB / 330.7 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.091e-05/0.007852, allocations: 15.92 kB / 330.7 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/0.007988, allocations: 71.08 kB / 330.8 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.00799, allocations: 0 / 330.8 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.007994, allocations: 8 kB / 330.8 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.007997, allocations: 0 / 330.8 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.008253, allocations: 251.5 kB / 331 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.008254, allocations: 0 / 331 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.698e-05/0.008291, allocations: 15.98 kB / 331.1 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.008296, allocations: 4.031 kB / 331.1 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.008302, allocations: 4 kB / 331.1 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.008303, allocations: 0 / 331.1 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.008305, allocations: 0 / 331.1 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.008409, allocations: 168.2 kB / 331.2 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.008421, allocations: 15.89 kB / 331.2 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.008432, allocations: 0 / 331.2 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.452e-05/0.008467, allocations: 4 kB / 331.2 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.008496, allocations: 7.984 kB / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-06/0.008501, allocations: 0 / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.037e-05/0.008551, allocations: 52.14 kB / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008551, allocations: 4 kB / 331.3 MB, free: 1.531 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001467/0.008698, allocations: 20 kB / 331.3 MB, free: 1.512 MB / 298.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.00135/0.01005, allocations: 0.5641 MB / 331.9 MB, free: 1.227 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.905e-05/0.01015, allocations: 32.78 kB / 331.9 MB, free: 1.191 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.01015, allocations: 4 kB / 331.9 MB, free: 1.188 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.028e-05/0.01018, allocations: 28.77 kB / 332 MB, free: 1.156 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.01036, allocations: 27.88 kB / 332 MB, free: 1.129 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.01072, allocations: 220 kB / 332.2 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.678e-05/0.01076, allocations: 67.34 kB / 332.3 MB, free: 0.793 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.381e-05/0.01081, allocations: 17.09 kB / 332.3 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.584e-05/0.01086, allocations: 59.38 kB / 332.3 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01086, allocations: 0 / 332.3 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of Templates: time 0.003023/0.01389, allocations: 1.492 MB / 333.8 MB, free: 15.24 MB / 314.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 240] 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","",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.9472584491595626]