Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.002509/0.002509, allocations: 99.53 kB / 20.97 MB, free: 3.449 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.002897/0.002897, allocations: 156.8 kB / 24.27 MB, free: 152 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.562/1.562, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3776/0.3776, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 377.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.122e-05/3.29e-05, allocations: 7.797 kB / 377.2 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.00349/0.003523, allocations: 1.63 MB / 378.9 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.004817, allocations: 0.5409 MB / 379.4 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.79e-05/0.004885, allocations: 4 kB / 379.4 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.005185, allocations: 67.72 kB / 379.5 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003066/0.005491, allocations: 111.5 kB / 379.6 MB, free: 0.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.005812, allocations: 111.6 kB / 379.7 MB, free: 400 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.006003, allocations: 83.8 kB / 379.8 MB, free: 316 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.467e-05/0.006098, allocations: 8 kB / 379.8 MB, free: 308 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.331e-05/0.006191, allocations: 43.83 kB / 379.8 MB, free: 264 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.006306, allocations: 47.94 kB / 379.9 MB, free: 216 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.006331, allocations: 4 kB / 379.9 MB, free: 212 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.006437, allocations: 43.92 kB / 379.9 MB, free: 168 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.273e-05/0.0065, allocations: 23.86 kB / 379.9 MB, free: 144 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.728e-05/0.006537, allocations: 15.92 kB / 380 MB, free: 128 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.006755, allocations: 111.6 kB / 380.1 MB, free: 16 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.006758, allocations: 0 / 380.1 MB, free: 16 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.00676, allocations: 4 kB / 380.1 MB, free: 12 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.006765, allocations: 0 / 380.1 MB, free: 12 kB / 346.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.0006385/0.007403, allocations: 439.6 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.007439, allocations: 8.031 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.098e-05/0.00749, allocations: 12.89 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.007722, allocations: 148.3 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.007734, allocations: 4.375 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.007755, allocations: 4.375 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.007896, allocations: 50.25 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.007907, allocations: 192 / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.007919, allocations: 4.359 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.007923, allocations: 384 / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.962e-05/0.008013, allocations: 27.91 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006818/0.008695, allocations: 311.6 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.008815, allocations: 39.06 kB / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.332e-05/0.008868, allocations: 23.77 kB / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.008892, allocations: 0 / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.008932, allocations: 41.33 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.008932, allocations: 4 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009106/0.009843, allocations: 197.2 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.009888, allocations: 51.41 kB / 381.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.01014, allocations: 242.6 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.01016, allocations: 25.7 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.01028, allocations: 162.8 kB / 381.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.01031, allocations: 23.86 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.908e-05/0.01037, allocations: 35.36 kB / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002838/0.01065, allocations: 0.4962 MB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.221e-05/0.01073, allocations: 19.98 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.196e-05/0.01079, allocations: 24.12 kB / 382.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.01093, allocations: 55.81 kB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.01093, allocations: 0 / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002061/0.01113, allocations: 93.47 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.01115, allocations: 7.984 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.01116, allocations: 7.938 kB / 382.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.01117, allocations: 0 / 382.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.932e-05/0.01127, allocations: 16 kB / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.01127, allocations: 0 / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.484e-05/0.01132, allocations: 11.92 kB / 382.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.01133, allocations: 4 kB / 382.6 MB, free: 13.25 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 0.0001389/0.01147, allocations: 160.6 kB / 382.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.01151, allocations: 15.89 kB / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/0.01179, allocations: 111.4 kB / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.01179, allocations: 4 kB / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.01179, allocations: 0 / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.0118, allocations: 4 kB / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006685/0.01246, allocations: 409 kB / 383.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.01247, allocations: 0 / 383.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.609e-05/0.01253, allocations: 12 kB / 383.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.01253, allocations: 0 / 383.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.01255, allocations: 8 kB / 383.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.01255, allocations: 3.984 kB / 383.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.01255, allocations: 0 / 383.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.01288, allocations: 263.4 kB / 383.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.0129, allocations: 11.95 kB / 383.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.01291, allocations: 0 / 383.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.01299, allocations: 8 kB / 383.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.01302, allocations: 3.984 kB / 383.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.01303, allocations: 4 kB / 383.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001507/0.01318, allocations: 171.9 kB / 383.8 MB, free: 12 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01318, allocations: 0 / 383.8 MB, free: 12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002657/0.01345, allocations: 23.94 kB / 383.8 MB, free: 11.98 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.003311/0.01676, allocations: 485.5 kB / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002589/0.01702, allocations: 71.58 kB / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01702, allocations: 0 / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.611e-05/0.01712, allocations: 43.61 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.01747, allocations: 23.22 kB / 384.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005949/0.01807, allocations: 234.3 kB / 384.6 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.01835, allocations: 96.3 kB / 384.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.768e-05/0.01843, allocations: 21.08 kB / 384.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.01848, allocations: 16.5 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of SimCode: time 1.252e-06/0.01848, allocations: 0 / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of Templates: time 0.00521/0.02369, allocations: 1.406 MB / 386.2 MB, free: 9.719 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.862267208984122]