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.0009934/0.0009934, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009565/0.0009565, allocations: 160.5 kB / 24.55 MB, free: 20 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 0.9832/0.9832, allocations: 177 MB / 204.8 MB, free: 5.582 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.2628/0.2628, allocations: 34.86 MB / 296.3 MB, free: 0.543 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.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.553e-06/1.553e-06, allocations: 0 / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.504e-05, allocations: 8.422 kB / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.005706/0.005731, allocations: 1.646 MB / 380.4 MB, free: 428 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000892/0.006623, allocations: 0.5447 MB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.781e-05/0.006681, allocations: 0 / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.006935, allocations: 79.64 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002829/0.007218, allocations: 107.5 kB / 381.2 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003308/0.01053, allocations: 95.62 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.0107, allocations: 91.67 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.784e-05/0.0108, allocations: 8 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.661e-05/0.01087, allocations: 47.89 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.01099, allocations: 51.88 kB / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.855e-05/0.01101, allocations: 4 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.33e-05/0.0111, allocations: 51.91 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.103e-05/0.01115, allocations: 15.92 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.968e-05/0.01118, allocations: 15.94 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.01136, allocations: 91.66 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.01137, allocations: 0 / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.01137, allocations: 7.938 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.01137, allocations: 0 / 381.6 MB, free: 15.21 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004357/0.01181, allocations: 443.9 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.01184, allocations: 8.031 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.01188, allocations: 20.84 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.01202, allocations: 141.1 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.01203, allocations: 384 / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.01206, allocations: 4.375 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.01217, allocations: 58.94 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.01218, allocations: 4.188 kB / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.01219, allocations: 4.312 kB / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.0122, allocations: 384 / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.505e-05/0.01223, allocations: 19.92 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.01251, allocations: 295.7 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.336e-05/0.01258, allocations: 46.98 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.173e-05/0.0126, allocations: 11.69 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.01262, allocations: 0 / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.01264, allocations: 45.41 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.924e-06/0.01264, allocations: 3.984 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.003515/0.01616, allocations: 165.3 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.01618, allocations: 55.41 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.01635, allocations: 238.4 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.01636, allocations: 29.7 kB / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.759e-05/0.01643, allocations: 158.8 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.01646, allocations: 27.8 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.01649, allocations: 23.38 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.01661, allocations: 0.4923 MB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.837e-05/0.01664, allocations: 15.98 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.208e-05/0.01666, allocations: 11.94 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.643e-05/0.01672, allocations: 35.75 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.01672, allocations: 0 / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001007/0.01682, allocations: 85.52 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.01683, allocations: 8 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.01684, allocations: 0 / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.01685, allocations: 0 / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.757e-05/0.01693, allocations: 15.94 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.01694, allocations: 320 / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.673e-05/0.01696, allocations: 7.984 kB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.01697, allocations: 4 kB / 384.1 MB, free: 12.56 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 7.277e-05/0.01704, allocations: 160.5 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.01707, allocations: 19.84 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.01722, allocations: 91.12 kB / 384.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.01722, allocations: 3.984 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-06/0.01722, allocations: 0 / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.01723, allocations: 4 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.01755, allocations: 373 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.01755, allocations: 4 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.672e-05/0.0176, allocations: 19.92 kB / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.0176, allocations: 0 / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.01761, allocations: 4 kB / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01761, allocations: 4.031 kB / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01761, allocations: 3.938 kB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.01775, allocations: 235.5 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-06/0.01776, allocations: 7.953 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.01777, allocations: 7.938 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.487e-05/0.01783, allocations: 4 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.01787, allocations: 7.984 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.01787, allocations: 0 / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.268e-05/0.01797, allocations: 171.2 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01797, allocations: 0 / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002389/0.0182, allocations: 23.94 kB / 385.2 MB, free: 11.35 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.001105/0.01931, allocations: 423.4 kB / 385.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.01948, allocations: 55.56 kB / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.01948, allocations: 0 / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.616e-05/0.01952, allocations: 27.67 kB / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.01981, allocations: 23.33 kB / 385.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004004/0.02021, allocations: 233.8 kB / 385.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.797e-05/0.02026, allocations: 75.39 kB / 386 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.961e-05/0.0203, allocations: 12.72 kB / 386 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.02033, allocations: 16.5 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02033, allocations: 0 / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of Templates: time 0.003696/0.02403, allocations: 1.379 MB / 387.4 MB, free: 9.207 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=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: 3.210885995067656]