Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001561/0.001561, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001719/0.001719, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3708/0.3708, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 377.4 MB, free: 2.867 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.882e-05, allocations: 2.312 kB / 377.4 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003731/0.00376, allocations: 1.73 MB / 379.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.005826, allocations: 0.9936 MB / 380.1 MB, free: 124 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.661e-05/0.005913, allocations: 4 kB / 380.1 MB, free: 120 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000363/0.006276, allocations: 87.62 kB / 380.2 MB, free: 32 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004535/0.006729, allocations: 119.5 kB / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.006997, allocations: 83.55 kB / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000242/0.007239, allocations: 131.6 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.095e-05/0.00733, allocations: 8 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.007483, allocations: 75.73 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.007634, allocations: 59.86 kB / 380.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.007657, allocations: 4 kB / 380.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.007799, allocations: 63.92 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.615e-05/0.007875, allocations: 31.84 kB / 380.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.452e-05/0.00793, allocations: 19.92 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002846/0.008214, allocations: 139.5 kB / 380.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.008218, allocations: 0 / 380.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.008219, allocations: 0 / 380.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.008225, allocations: 0 / 380.9 MB, free: 15.31 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006725/0.008897, allocations: 369.3 kB / 381.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.008934, allocations: 8.031 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.671e-05/0.009011, allocations: 20.84 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.009332, allocations: 162.3 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.009348, allocations: 4.375 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.009375, allocations: 4.375 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.00956, allocations: 58.23 kB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.009578, allocations: 7.922 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.009589, allocations: 0 / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.009596, allocations: 4 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.247e-05/0.009689, allocations: 27.92 kB / 381.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004229/0.01011, allocations: 240.5 kB / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.01039, allocations: 70.48 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.366e-05/0.01047, allocations: 24.86 kB / 381.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.0105, allocations: 4 kB / 381.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.01067, allocations: 75.44 kB / 382 MB, free: 14.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.01068, allocations: 0 / 382 MB, free: 14.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008928/0.01157, allocations: 249.2 kB / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.01162, allocations: 55.41 kB / 382.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.0119, allocations: 239.6 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.01193, allocations: 33.7 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.965e-05/0.01202, allocations: 112.1 kB / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/0.01207, allocations: 35.69 kB / 382.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.01213, allocations: 25.72 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.01232, allocations: 334.8 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-05/0.0124, allocations: 31.92 kB / 383.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.0125, allocations: 53.45 kB / 383.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.01267, allocations: 77.7 kB / 383.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.01267, allocations: 0 / 383.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002825/0.01296, allocations: 149.5 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.01297, allocations: 6.188 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.01298, allocations: 0 / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.013, allocations: 0 / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.844e-05/0.01308, allocations: 23.98 kB / 383.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.01309, allocations: 3.938 kB / 383.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.858e-05/0.01315, allocations: 8 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.01316, allocations: 4 kB / 383.4 MB, free: 12.66 MB / 362.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 (13): * Single equations (assignments): 13 * 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.0001337/0.0133, allocations: 133.8 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.01334, allocations: 15.94 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000342/0.01369, allocations: 159 kB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.01369, allocations: 0 / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.01369, allocations: 0 / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.0137, allocations: 0 / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006393/0.01433, allocations: 411.6 kB / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.01434, allocations: 0 / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-05/0.0144, allocations: 15.94 kB / 384.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.0144, allocations: 0 / 384.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.01441, allocations: 8.047 kB / 384.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.01442, allocations: 4 kB / 384.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.01442, allocations: 7.938 kB / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.01477, allocations: 237.1 kB / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.01481, allocations: 27.88 kB / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.01484, allocations: 7.938 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.533e-05/0.01492, allocations: 4 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.01497, allocations: 11.92 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.01499, allocations: 8 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001899/0.01518, allocations: 175.2 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01518, allocations: 4 kB / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003082/0.01549, allocations: 35.92 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.0026/0.01809, allocations: 0.544 MB / 385.2 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002505/0.01834, allocations: 75.91 kB / 385.2 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01834, allocations: 0 / 385.2 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.01844, allocations: 39.92 kB / 385.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.01882, allocations: 32.16 kB / 385.3 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000628/0.01944, allocations: 310.1 kB / 385.6 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.01957, allocations: 109.7 kB / 385.7 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.946e-05/0.01964, allocations: 16.62 kB / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.208e-05/0.0197, allocations: 24.5 kB / 385.8 MB, free: 10.38 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.0197, allocations: 0 / 385.8 MB, free: 10.38 MB / 362.7 MB Notification: Performance of Templates: time 0.006011/0.02571, allocations: 2.105 MB / 387.9 MB, free: 8.305 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.962770862039179]