Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001089/0.001089, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.001125/0.001125, allocations: 156.5 kB / 24.55 MB, free: 16 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.044/1.044, allocations: 177 MB / 204.8 MB, free: 5.578 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.2909/0.2909, allocations: 34.87 MB / 296.3 MB, free: 500 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.CombiTable1Dv.Test1,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.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,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.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.514e-06/2.514e-06, allocations: 0 / 378.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.623e-05/3.874e-05, allocations: 3.016 kB / 378.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003559/0.003597, allocations: 1.615 MB / 380.4 MB, free: 412 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.004717, allocations: 0.5487 MB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.427e-05/0.004792, allocations: 0 / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.005052, allocations: 23.86 kB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003954/0.005447, allocations: 83.44 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.005847, allocations: 111.6 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.006041, allocations: 71.72 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.006159, allocations: 7.859 kB / 381.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.572e-05/0.006245, allocations: 35.89 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.983e-05/0.006315, allocations: 19.92 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.006335, allocations: 4 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.611e-05/0.006432, allocations: 28 kB / 381.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.782e-05/0.006489, allocations: 15.91 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.006523, allocations: 8 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.006736, allocations: 71.69 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.00674, allocations: 0 / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.006742, allocations: 0 / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.006748, allocations: 0 / 381.4 MB, free: 15.38 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.0005288/0.007276, allocations: 416.1 kB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.007317, allocations: 8.031 kB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.007361, allocations: 12.89 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.007505, allocations: 136.5 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.007515, allocations: 4.359 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.007543, allocations: 12.31 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.007672, allocations: 54.94 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.007681, allocations: 4.188 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.007691, allocations: 384 / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.007699, allocations: 384 / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.151e-05/0.00773, allocations: 11.94 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.008062, allocations: 271.8 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.008248, allocations: 50.98 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.441e-05/0.008273, allocations: 11.69 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.008296, allocations: 0 / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.008321, allocations: 45.47 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.008322, allocations: 0 / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003725/0.008694, allocations: 101.4 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.008724, allocations: 51.41 kB / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.008839, allocations: 201 kB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.008849, allocations: 29.7 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/0.008902, allocations: 138.9 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.008926, allocations: 23.8 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.008958, allocations: 27.36 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.009088, allocations: 0.4884 MB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.201e-05/0.00911, allocations: 11.92 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.422e-05/0.009125, allocations: 4 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.358e-05/0.009168, allocations: 27.62 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.009169, allocations: 0 / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.435e-05/0.009254, allocations: 65.58 kB / 383.6 MB, free: 13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.009267, allocations: 4 kB / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.009272, allocations: 0 / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.009289, allocations: 4 kB / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.228e-05/0.009341, allocations: 11.98 kB / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.009347, allocations: 0 / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.913e-05/0.009366, allocations: 4 kB / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.009372, allocations: 256 / 383.6 MB, free: 12.97 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 7.012e-05/0.009442, allocations: 164.5 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.009463, allocations: 11.89 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.009595, allocations: 66.14 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.009597, allocations: 4 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.009601, allocations: 0 / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.009605, allocations: 4 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.009856, allocations: 329.3 kB / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.009858, allocations: 0 / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.801e-05/0.009896, allocations: 11.98 kB / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.009899, allocations: 0 / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.009905, allocations: 0 / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.009907, allocations: 0 / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.009909, allocations: 0 / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.01003, allocations: 211.8 kB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.019e-05/0.01004, allocations: 3.953 kB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.01006, allocations: 11.94 kB / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.25e-05/0.01009, allocations: 4.281 kB / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.01012, allocations: 7.984 kB / 384.4 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.01013, allocations: 0 / 384.4 MB, free: 12.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.611e-05/0.01018, allocations: 143.2 kB / 384.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01018, allocations: 0 / 384.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000163/0.01035, allocations: 19.98 kB / 384.6 MB, free: 11.92 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.0009076/0.01125, allocations: 381.6 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001026/0.01136, allocations: 27.69 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01136, allocations: 0 / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.823e-05/0.01139, allocations: 31.73 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.01161, allocations: 23.55 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/0.01197, allocations: 182.6 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.272e-05/0.01201, allocations: 59.34 kB / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.916e-05/0.01205, allocations: 15.97 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.01208, allocations: 12.5 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01208, allocations: 0 / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of Templates: time 0.003518/0.0156, allocations: 1.172 MB / 386.5 MB, free: 10.1 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.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.4167756605893373]