Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.00228/0.00228, allocations: 96.2 kB / 20.21 MB, free: 4.195 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.003071/0.003071, allocations: 157.3 kB / 23.52 MB, free: 0.8945 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 1.64/1.64, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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.2454/0.2454, allocations: 32.36 MB / 270 MB, free: 14.79 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 347 MB, free: 9.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.571e-05, allocations: 6.312 kB / 347 MB, free: 9.742 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002753/0.002778, allocations: 1.888 MB / 348.9 MB, free: 7.844 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.003927, allocations: 0.8038 MB / 349.7 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.68e-05/0.004014, allocations: 4 kB / 349.7 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003182/0.004332, allocations: 43.7 kB / 349.7 MB, free: 6.984 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002558/0.004588, allocations: 67.56 kB / 349.8 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.004868, allocations: 103.7 kB / 349.9 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.005061, allocations: 143.5 kB / 350 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.005171, allocations: 17.62 kB / 350.1 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.005279, allocations: 75.8 kB / 350.1 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.908e-05/0.005368, allocations: 43.83 kB / 350.2 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.005392, allocations: 4 kB / 350.2 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.312e-05/0.005475, allocations: 47.92 kB / 350.2 MB, free: 6.488 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.938e-05/0.005535, allocations: 31.84 kB / 350.3 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.785e-05/0.005592, allocations: 27.92 kB / 350.3 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.005818, allocations: 155.4 kB / 350.4 MB, free: 6.277 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.005821, allocations: 0 / 350.4 MB, free: 6.277 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.005822, allocations: 0 / 350.4 MB, free: 6.277 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.005826, allocations: 0 / 350.4 MB, free: 6.277 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005338/0.00636, allocations: 407.1 kB / 350.8 MB, free: 5.844 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.006396, allocations: 8.031 kB / 350.8 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.76e-05/0.006463, allocations: 24.83 kB / 350.9 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.006699, allocations: 161.5 kB / 351 MB, free: 5.629 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.006715, allocations: 8.375 kB / 351 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.006743, allocations: 8.359 kB / 351 MB, free: 5.613 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.006968, allocations: 139.4 kB / 351.2 MB, free: 5.457 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.00698, allocations: 7.875 kB / 351.2 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.006992, allocations: 8 kB / 351.2 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.006997, allocations: 0 / 351.2 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.007133, allocations: 47.97 kB / 351.2 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.00754, allocations: 448.7 kB / 351.7 MB, free: 4.918 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.007857, allocations: 90.64 kB / 351.8 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.422e-05/0.007941, allocations: 40.77 kB / 351.8 MB, free: 4.777 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.007959, allocations: 8 kB / 351.8 MB, free: 4.77 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.00812, allocations: 101.1 kB / 351.9 MB, free: 4.652 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.008121, allocations: 0 / 351.9 MB, free: 4.652 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003624/0.008483, allocations: 153.5 kB / 352.1 MB, free: 4.496 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.987e-05/0.008503, allocations: 55.39 kB / 352.1 MB, free: 4.43 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.008632, allocations: 187.6 kB / 352.3 MB, free: 4.234 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.008643, allocations: 29.7 kB / 352.3 MB, free: 4.199 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.237e-05/0.008706, allocations: 120 kB / 352.5 MB, free: 4.078 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.008726, allocations: 39.72 kB / 352.5 MB, free: 4.039 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.008765, allocations: 25.72 kB / 352.5 MB, free: 4.008 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.586e-05/0.008811, allocations: 330.8 kB / 352.8 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.179e-05/0.008893, allocations: 31.97 kB / 352.9 MB, free: 3.645 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.284e-05/0.008976, allocations: 64.22 kB / 352.9 MB, free: 3.566 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.009131, allocations: 100.6 kB / 353 MB, free: 3.453 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.009133, allocations: 4 kB / 353 MB, free: 3.449 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002324/0.009365, allocations: 145.4 kB / 353.2 MB, free: 3.301 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.009376, allocations: 4 kB / 353.2 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.00938, allocations: 7.938 kB / 353.2 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.009398, allocations: 0 / 353.2 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.337e-05/0.009491, allocations: 27.92 kB / 353.2 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.009496, allocations: 0 / 353.2 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.009562, allocations: 20.11 kB / 353.2 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.00957, allocations: 4 kB / 353.2 MB, free: 3.238 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.491e-05/0.009645, allocations: 129.7 kB / 353.4 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.009672, allocations: 19.89 kB / 353.4 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.009921, allocations: 135 kB / 353.5 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.009923, allocations: 0 / 353.5 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.009926, allocations: 0 / 353.5 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.009929, allocations: 0 / 353.5 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.572e-05/0.01002, allocations: 153.2 kB / 353.7 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.01003, allocations: 4 kB / 353.7 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.46e-05/0.0101, allocations: 19.94 kB / 353.7 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.0101, allocations: 3.984 kB / 353.7 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.01011, allocations: 0 / 353.7 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.01011, allocations: 0 / 353.7 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01011, allocations: 0 / 353.7 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.01043, allocations: 200.8 kB / 353.9 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.796e-05/0.01045, allocations: 7.984 kB / 353.9 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.01047, allocations: 4 kB / 353.9 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.01054, allocations: 12.05 kB / 353.9 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.01058, allocations: 4 kB / 353.9 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.0106, allocations: 7.984 kB / 353.9 MB, free: 2.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.966e-05/0.01068, allocations: 149.1 kB / 354.1 MB, free: 2.336 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01068, allocations: 0 / 354.1 MB, free: 2.336 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002254/0.0109, allocations: 31.89 kB / 354.1 MB, free: 2.305 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001769/0.01267, allocations: 441.2 kB / 354.5 MB, free: 1.977 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.0129, allocations: 87.95 kB / 354.6 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.0129, allocations: 0 / 354.6 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.866e-05/0.01299, allocations: 39.92 kB / 354.7 MB, free: 1.852 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.0133, allocations: 45.5 kB / 354.7 MB, free: 1.809 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000465/0.01377, allocations: 274.5 kB / 355 MB, free: 1.516 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.875e-05/0.01383, allocations: 102.9 kB / 355.1 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.153e-05/0.01389, allocations: 17.14 kB / 355.1 MB, free: 1.379 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.01392, allocations: 16.5 kB / 355.1 MB, free: 1.363 MB / 282.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01392, allocations: 0 / 355.1 MB, free: 1.363 MB / 282.7 MB Notification: Performance of Templates: time 0.005212/0.01914, allocations: 2.047 MB / 357.2 MB, free: 15.33 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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: 5.16936140100006]