Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.001221/0.001221, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001161/0.001161, allocations: 173 kB / 24.25 MB, free: 312 kB / 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.251/1.251, allocations: 158.6 MB / 186 MB, free: 2.91 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.1382/0.1382, allocations: 32.38 MB / 270.7 MB, free: 14.77 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 347.7 MB, free: 9.715 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.018e-05/3.23e-05, allocations: 14.25 kB / 347.7 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003417/0.003449, allocations: 1.948 MB / 349.7 MB, free: 7.746 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.004923, allocations: 0.8193 MB / 350.5 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.005055, allocations: 3.938 kB / 350.5 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003879/0.005443, allocations: 51.62 kB / 350.6 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.005713, allocations: 55.7 kB / 350.6 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003533/0.006066, allocations: 111.5 kB / 350.7 MB, free: 6.699 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002653/0.006332, allocations: 143.5 kB / 350.9 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.006467, allocations: 25.61 kB / 350.9 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.006604, allocations: 71.75 kB / 351 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.006719, allocations: 43.88 kB / 351 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.006749, allocations: 8 kB / 351 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.006863, allocations: 39.98 kB / 351 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.725e-05/0.00693, allocations: 31.84 kB / 351.1 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.357e-05/0.006994, allocations: 27.92 kB / 351.1 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.007264, allocations: 123.4 kB / 351.2 MB, free: 6.191 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.007268, allocations: 0 / 351.2 MB, free: 6.191 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.007271, allocations: 4 kB / 351.2 MB, free: 6.188 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.007278, allocations: 3.938 kB / 351.2 MB, free: 6.184 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.0006/0.007877, allocations: 0.4897 MB / 351.7 MB, free: 5.652 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.007924, allocations: 12.03 kB / 351.7 MB, free: 5.641 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.311e-05/0.007997, allocations: 24.83 kB / 351.8 MB, free: 5.617 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.008223, allocations: 172.2 kB / 351.9 MB, free: 5.422 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.008247, allocations: 384 / 351.9 MB, free: 5.422 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.008275, allocations: 12.38 kB / 351.9 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.008516, allocations: 135.7 kB / 352.1 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.008527, allocations: 3.938 kB / 352.1 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.008542, allocations: 12 kB / 352.1 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.008552, allocations: 0 / 352.1 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.073e-05/0.008633, allocations: 31.91 kB / 352.1 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005743/0.009207, allocations: 0.5795 MB / 352.7 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.009503, allocations: 63.16 kB / 352.8 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.947e-05/0.009563, allocations: 23.69 kB / 352.8 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.00958, allocations: 4 kB / 352.8 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/0.009758, allocations: 110.7 kB / 352.9 MB, free: 4.344 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 2.094e-06/0.00976, allocations: 0 / 352.9 MB, free: 4.344 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003168/0.01008, allocations: 109.5 kB / 353 MB, free: 4.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.01011, allocations: 55.39 kB / 353.1 MB, free: 4.164 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.01027, allocations: 234.7 kB / 353.3 MB, free: 3.918 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.01028, allocations: 25.7 kB / 353.3 MB, free: 3.887 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.904e-05/0.01036, allocations: 166.8 kB / 353.5 MB, free: 3.719 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.01039, allocations: 35.72 kB / 353.5 MB, free: 3.684 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.764e-05/0.01045, allocations: 39.31 kB / 353.5 MB, free: 3.637 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.101e-05/0.01052, allocations: 0.4961 MB / 354 MB, free: 3.129 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.494e-05/0.01056, allocations: 19.98 kB / 354.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.127e-05/0.01062, allocations: 62.42 kB / 354.1 MB, free: 3.027 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.01074, allocations: 86.67 kB / 354.2 MB, free: 2.922 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.01074, allocations: 0 / 354.2 MB, free: 2.922 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001988/0.01094, allocations: 117.4 kB / 354.3 MB, free: 2.801 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.01096, allocations: 12.11 kB / 354.3 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.01097, allocations: 4 kB / 354.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.01099, allocations: 0 / 354.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.732e-05/0.01108, allocations: 16 kB / 354.4 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.01109, allocations: 7.938 kB / 354.4 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.069e-05/0.01116, allocations: 15.92 kB / 354.4 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.01117, allocations: 4 kB / 354.4 MB, free: 2.742 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.426e-05/0.01124, allocations: 168.5 kB / 354.5 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.01127, allocations: 15.91 kB / 354.6 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.01148, allocations: 111.1 kB / 354.7 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.01149, allocations: 4 kB / 354.7 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.01149, allocations: 4 kB / 354.7 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.0115, allocations: 0 / 354.7 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.01163, allocations: 160.5 kB / 354.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.01163, allocations: 0 / 354.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.361e-05/0.01171, allocations: 15.98 kB / 354.9 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.01171, allocations: 0 / 354.9 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.01173, allocations: 4 kB / 354.9 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/0.01173, allocations: 0 / 354.9 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01173, allocations: 0 / 354.9 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.01194, allocations: 164.2 kB / 355 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.01196, allocations: 11.89 kB / 355 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.01198, allocations: 4 kB / 355 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.632e-05/0.01201, allocations: 4 kB / 355 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.01206, allocations: 7.984 kB / 355 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.01208, allocations: 7.984 kB / 355.1 MB, free: 1.992 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.274e-05/0.01214, allocations: 173.1 kB / 355.2 MB, free: 1.824 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01214, allocations: 3.938 kB / 355.2 MB, free: 1.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000168/0.01231, allocations: 31.89 kB / 355.3 MB, free: 1.789 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.00102/0.01333, allocations: 389.1 kB / 355.6 MB, free: 1.496 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.01346, allocations: 59.55 kB / 355.7 MB, free: 1.434 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01346, allocations: 0 / 355.7 MB, free: 1.434 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.281e-05/0.0135, allocations: 40.05 kB / 355.7 MB, free: 1.391 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.01373, allocations: 43.89 kB / 355.8 MB, free: 1.348 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004352/0.01416, allocations: 264 kB / 356 MB, free: 1.062 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.124e-05/0.01419, allocations: 67.84 kB / 356.1 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.816e-05/0.01424, allocations: 13.14 kB / 356.1 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.01427, allocations: 20.5 kB / 356.1 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01427, allocations: 0 / 356.1 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of Templates: time 0.004279/0.01855, allocations: 2.06 MB / 358.2 MB, free: 14.91 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.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.649301248136908]