Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.0009977/0.0009977, allocations: 95.5 kB / 21.2 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.0009985/0.0009985, allocations: 160.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.038/1.038, allocations: 177 MB / 204.8 MB, free: 5.57 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.2877/0.2877, allocations: 34.87 MB / 296.3 MB, free: 0.5547 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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.974e-05/3.117e-05, allocations: 6.25 kB / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.00224/0.002271, allocations: 1.647 MB / 380.4 MB, free: 416 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007447/0.003015, allocations: 0.537 MB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.578e-05/0.003071, allocations: 0 / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.003337, allocations: 79.64 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.003587, allocations: 107.5 kB / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.003794, allocations: 83.7 kB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.003942, allocations: 87.69 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.723e-05/0.00404, allocations: 19.92 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.018e-05/0.00411, allocations: 43.89 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.004215, allocations: 47.88 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.004233, allocations: 0 / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.364e-05/0.004316, allocations: 43.98 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.338e-05/0.00437, allocations: 19.92 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.283e-05/0.004403, allocations: 15.92 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.004595, allocations: 95.53 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.004601, allocations: 4 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.004603, allocations: 0 / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.004608, allocations: 0 / 381.6 MB, free: 15.23 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.0004634/0.005071, allocations: 439.9 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.005115, allocations: 12.03 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/0.005158, allocations: 12.89 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.005302, allocations: 146.6 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.005312, allocations: 4.375 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.005344, allocations: 384 / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.005455, allocations: 66.88 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.005464, allocations: 192 / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.005476, allocations: 4.375 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.005483, allocations: 384 / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.786e-05/0.005521, allocations: 23.91 kB / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002958/0.005817, allocations: 283.8 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.642e-05/0.005874, allocations: 43 kB / 382.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.309e-05/0.005897, allocations: 15.77 kB / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.005918, allocations: 0 / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.00594, allocations: 41.33 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.12e-07/0.005941, allocations: 0 / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005388/0.006479, allocations: 165.2 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.006513, allocations: 63.41 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.006666, allocations: 230.6 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.006678, allocations: 25.7 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.643e-05/0.006734, allocations: 150.8 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.006761, allocations: 31.84 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.006795, allocations: 27.38 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.006908, allocations: 0.4962 MB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.451e-05/0.006932, allocations: 11.92 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.938e-05/0.006952, allocations: 8 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.097e-05/0.007003, allocations: 35.67 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.007004, allocations: 0 / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.115e-05/0.007095, allocations: 85.53 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.00711, allocations: 4 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.007116, allocations: 0 / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.007134, allocations: 0 / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.895e-05/0.007223, allocations: 19.94 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.00723, allocations: 4.297 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.002e-05/0.00725, allocations: 0 / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.007256, allocations: 4 kB / 384 MB, free: 12.6 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.354e-05/0.007329, allocations: 156.6 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.007356, allocations: 23.84 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001559/0.007512, allocations: 91.11 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.007517, allocations: 7.984 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.007521, allocations: 0 / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.007525, allocations: 0 / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.007841, allocations: 373 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.007843, allocations: 0 / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.322e-05/0.007887, allocations: 19.98 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.007891, allocations: 0 / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.007901, allocations: 4 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.007904, allocations: 4.031 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.007905, allocations: 3.938 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.008037, allocations: 239.4 kB / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.00805, allocations: 11.94 kB / 384.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.008065, allocations: 4 kB / 384.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.406e-05/0.008099, allocations: 4 kB / 384.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.008134, allocations: 7.984 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.008138, allocations: 432 / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.461e-05/0.008212, allocations: 167.9 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008212, allocations: 0 / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001782/0.00839, allocations: 23.88 kB / 385.1 MB, free: 11.4 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.0009631/0.009354, allocations: 426.3 kB / 385.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.009468, allocations: 51.58 kB / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.009469, allocations: 0 / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.598e-05/0.009495, allocations: 19.69 kB / 385.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.009719, allocations: 27.98 kB / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.01008, allocations: 226.2 kB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.245e-05/0.01013, allocations: 73.03 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.894e-05/0.01017, allocations: 12.72 kB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.0102, allocations: 16.48 kB / 386 MB, free: 10.63 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.0102, allocations: 0 / 386 MB, free: 10.63 MB / 362.7 MB Notification: Performance of Templates: time 0.003351/0.01355, allocations: 1.362 MB / 387.3 MB, free: 9.273 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.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.410108534153551]