Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.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.001182/0.001182, allocations: 81.91 kB / 21.43 MB, free: 3.07 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.004251/0.004251, allocations: 161 kB / 24.82 MB, free: 9.258 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.9316/0.9316, allocations: 177 MB / 205.1 MB, free: 5.492 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.2358/0.2358, allocations: 34.86 MB / 296.6 MB, free: 0.5078 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.CombiTable1Dv.Test35,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.Test35") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test35,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.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.593e-05, allocations: 3.156 kB / 379.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test35): time 0.003407/0.003433, allocations: 1.623 MB / 380.9 MB, free: 188 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.005208, allocations: 1.285 MB / 382.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.418e-05/0.005283, allocations: 3.938 kB / 382.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002277/0.00551, allocations: 27.8 kB / 382.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.005855, allocations: 83.55 kB / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.006195, allocations: 111.7 kB / 382.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.006348, allocations: 71.72 kB / 382.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.00645, allocations: 23.77 kB / 382.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.669e-05/0.006527, allocations: 27.92 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.006637, allocations: 31.89 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.006655, allocations: 4 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003557/0.007011, allocations: 95.81 kB / 382.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.627e-05/0.007057, allocations: 11.94 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.549e-05/0.007082, allocations: 11.98 kB / 382.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.007325, allocations: 135.5 kB / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.007328, allocations: 0 / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.007329, allocations: 0 / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.007333, allocations: 0 / 382.8 MB, free: 14.27 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.0004356/0.007768, allocations: 432 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.007809, allocations: 12.03 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.738e-05/0.007856, allocations: 12.83 kB / 383.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.008015, allocations: 139.2 kB / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.008025, allocations: 384 / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.008042, allocations: 384 / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.008186, allocations: 112 kB / 383.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.008196, allocations: 192 / 383.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.008205, allocations: 4.359 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.008211, allocations: 384 / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.961e-05/0.00824, allocations: 11.88 kB / 383.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003117/0.008552, allocations: 260.4 kB / 383.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.008703, allocations: 39.05 kB / 383.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.865e-05/0.008722, allocations: 7.688 kB / 383.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.008746, allocations: 4 kB / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.008778, allocations: 37.33 kB / 383.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.00878, allocations: 4 kB / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000341/0.009121, allocations: 93.52 kB / 383.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.009161, allocations: 85.11 kB / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.009296, allocations: 185.9 kB / 384.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.009308, allocations: 29.7 kB / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.00937, allocations: 150.8 kB / 384.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.009391, allocations: 11.91 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.979e-05/0.009431, allocations: 23.36 kB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.009569, allocations: 0.4962 MB / 384.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.842e-05/0.009587, allocations: 4 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.38e-05/0.009631, allocations: 53.06 kB / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.337e-05/0.009674, allocations: 27.88 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.009675, allocations: 0 / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001039/0.009779, allocations: 57.58 kB / 385 MB, free: 11.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.009794, allocations: 11.94 kB / 385 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.009799, allocations: 0 / 385 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.009811, allocations: 0 / 385 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.776e-05/0.009869, allocations: 8 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.009873, allocations: 3.984 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.006e-05/0.009903, allocations: 4 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.009908, allocations: 7.969 kB / 385.1 MB, free: 11.74 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 8.286e-05/0.009991, allocations: 160.6 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.01002, allocations: 7.953 kB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.01016, allocations: 73.95 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01016, allocations: 0 / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.01016, allocations: 0 / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.01016, allocations: 0 / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.01046, allocations: 294.1 kB / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.01046, allocations: 3.984 kB / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.605e-05/0.01051, allocations: 8 kB / 385.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.01051, allocations: 15.88 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.01052, allocations: 0 / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.01052, allocations: 0 / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.01052, allocations: 0 / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.01067, allocations: 208.1 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.591e-05/0.01068, allocations: 15.88 kB / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.0107, allocations: 0 / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.036e-05/0.01076, allocations: 4 kB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/0.01078, allocations: 0 / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.01079, allocations: 3.984 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.31e-05/0.01086, allocations: 149.7 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01086, allocations: 4 kB / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003003/0.01116, allocations: 39.86 kB / 386 MB, free: 10.7 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.001366/0.01253, allocations: 476.2 kB / 386.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.01263, allocations: 35.67 kB / 386.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.01264, allocations: 0 / 386.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.15e-05/0.01267, allocations: 19.8 kB / 386.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.01297, allocations: 18.92 kB / 386.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003514/0.01332, allocations: 185.8 kB / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.428e-05/0.01336, allocations: 63.34 kB / 386.8 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.374e-05/0.01341, allocations: 7.984 kB / 386.8 MB, free: 9.992 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.725e-05/0.0135, allocations: 90.19 kB / 386.9 MB, free: 9.902 MB / 362.7 MB Notification: Performance of SimCode: time 1.523e-06/0.0135, allocations: 0 / 386.9 MB, free: 9.902 MB / 362.7 MB Notification: Performance of Templates: time 0.00368/0.01718, allocations: 2.027 MB / 388.9 MB, free: 7.891 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test35/Test35.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.9844463421031833]