Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 95.2 kB / 20.43 MB, free: 4.141 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9689/0.9689, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1552/0.1552, allocations: 32.36 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 3.938 kB / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.236e-05, allocations: 4.281 kB / 347.8 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002692/0.002714, allocations: 1.726 MB / 349.5 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.003902, allocations: 0.7998 MB / 350.3 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.332e-05/0.003965, allocations: 0 / 350.3 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.00424, allocations: 51.69 kB / 350.3 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.004436, allocations: 47.77 kB / 350.4 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.004635, allocations: 91.69 kB / 350.5 MB, free: 6.637 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.004785, allocations: 103.6 kB / 350.6 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.121e-05/0.004866, allocations: 8.219 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.178e-05/0.004948, allocations: 47.84 kB / 350.6 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.171e-05/0.005029, allocations: 27.91 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.005049, allocations: 4 kB / 350.7 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.199e-05/0.005131, allocations: 39.92 kB / 350.7 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.538e-05/0.005187, allocations: 23.92 kB / 350.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.023e-05/0.005227, allocations: 19.86 kB / 350.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.005402, allocations: 103.6 kB / 350.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.005405, allocations: 4 kB / 350.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005405, allocations: 4 kB / 350.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.00541, allocations: 0 / 350.8 MB, free: 6.258 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004008/0.005811, allocations: 431.9 kB / 351.3 MB, free: 5.801 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.005846, allocations: 8.031 kB / 351.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.005894, allocations: 16.89 kB / 351.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.006048, allocations: 148.4 kB / 351.4 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.006065, allocations: 384 / 351.4 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.006085, allocations: 12.31 kB / 351.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.0062, allocations: 58.94 kB / 351.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.00621, allocations: 3.938 kB / 351.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.00622, allocations: 8 kB / 351.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.006227, allocations: 0 / 351.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.989e-05/0.006267, allocations: 15.98 kB / 351.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002699/0.006537, allocations: 271.8 kB / 351.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.006654, allocations: 59.09 kB / 351.9 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.331e-05/0.006687, allocations: 27.59 kB / 351.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.006701, allocations: 0 / 351.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001059/0.006807, allocations: 69.05 kB / 351.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.006808, allocations: 4 kB / 352 MB, free: 5.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004146/0.007223, allocations: 153.3 kB / 352.1 MB, free: 4.855 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.007252, allocations: 55.41 kB / 352.2 MB, free: 4.789 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.007381, allocations: 228 kB / 352.4 MB, free: 4.551 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.278e-06/0.00739, allocations: 25.7 kB / 352.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/0.007429, allocations: 154.8 kB / 352.6 MB, free: 4.363 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.007457, allocations: 31.75 kB / 352.6 MB, free: 4.332 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.007493, allocations: 27.38 kB / 352.6 MB, free: 4.297 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.925e-05/0.007562, allocations: 0.4923 MB / 353.1 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.973e-05/0.007592, allocations: 15.98 kB / 353.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.746e-05/0.00763, allocations: 39.73 kB / 353.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.042e-05/0.00769, allocations: 47.31 kB / 353.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.007691, allocations: 0 / 353.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000118/0.007809, allocations: 97.55 kB / 353.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.007822, allocations: 4 kB / 353.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.007828, allocations: 4 kB / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.007844, allocations: 0 / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.139e-05/0.007925, allocations: 15.94 kB / 353.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.00793, allocations: 0 / 353.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.77e-05/0.007968, allocations: 16.02 kB / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.007976, allocations: 4 kB / 353.3 MB, free: 3.531 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 5.644e-05/0.008032, allocations: 160.5 kB / 353.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.008053, allocations: 15.91 kB / 353.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.008212, allocations: 110.5 kB / 353.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.008214, allocations: 0 / 353.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.008218, allocations: 0 / 353.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.008222, allocations: 0 / 353.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.008488, allocations: 389 kB / 354 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.00849, allocations: 0 / 354 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.08e-05/0.008521, allocations: 16.03 kB / 354 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.008523, allocations: 0 / 354 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.008531, allocations: 3.984 kB / 354 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.008532, allocations: 0 / 354 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.008534, allocations: 4 kB / 354 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.00867, allocations: 263.4 kB / 354.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.008681, allocations: 7.953 kB / 354.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.0087, allocations: 0 / 354.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.439e-05/0.008765, allocations: 0 / 354.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.008797, allocations: 15.92 kB / 354.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.008811, allocations: 11.94 kB / 354.3 MB, free: 2.469 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.467e-05/0.008875, allocations: 168 kB / 354.5 MB, free: 2.305 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008875, allocations: 0 / 354.5 MB, free: 2.305 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002805/0.009156, allocations: 27.92 kB / 354.5 MB, free: 2.277 MB / 282.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009357/0.01009, allocations: 439 kB / 354.9 MB, free: 1.938 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.795e-05/0.01019, allocations: 59.53 kB / 355 MB, free: 1.875 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.01019, allocations: 0 / 355 MB, free: 1.875 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.443e-05/0.01022, allocations: 27.67 kB / 355 MB, free: 1.844 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.01043, allocations: 32.02 kB / 355.1 MB, free: 1.812 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/0.01073, allocations: 225.6 kB / 355.3 MB, free: 1.559 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.756e-05/0.01075, allocations: 67.33 kB / 355.3 MB, free: 1.473 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.753e-05/0.01078, allocations: 12.48 kB / 355.4 MB, free: 1.461 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.01081, allocations: 20.48 kB / 355.4 MB, free: 1.441 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01081, allocations: 0 / 355.4 MB, free: 1.441 MB / 282.7 MB Notification: Performance of Templates: time 0.00344/0.01425, allocations: 1.98 MB / 357.4 MB, free: 15.48 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.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.1935012973845005]