Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001298/0.001298, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001253/0.001253, allocations: 166.2 kB / 24.99 MB, free: 8.355 MB / 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.098/1.098, allocations: 177.1 MB / 205.3 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.298/0.298, allocations: 34.26 MB / 296 MB, free: 0.7773 MB / 266.7 MB " [Timeout remaining time 180] 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 378.1 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.15e-05, allocations: 4.141 kB / 378.1 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002219/0.002241, allocations: 1.93 MB / 380.1 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.003582, allocations: 1.107 MB / 381.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.594e-05/0.003658, allocations: 4 kB / 381.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.003927, allocations: 163.3 kB / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003009/0.004228, allocations: 183.1 kB / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.00442, allocations: 123.5 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.004635, allocations: 251.2 kB / 381.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.82e-05/0.004713, allocations: 25.89 kB / 381.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.004838, allocations: 135.6 kB / 382 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.004952, allocations: 123.7 kB / 382.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.004968, allocations: 8 kB / 382.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.735e-05/0.005055, allocations: 63.92 kB / 382.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.208e-05/0.005117, allocations: 63.69 kB / 382.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.335e-05/0.005161, allocations: 31.88 kB / 382.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.005351, allocations: 191.2 kB / 382.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.005353, allocations: 0 / 382.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005354, allocations: 0 / 382.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.005357, allocations: 0 / 382.5 MB, free: 14.48 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004706/0.005828, allocations: 0.5847 MB / 383.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.809e-05/0.005856, allocations: 8.031 kB / 383.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.005907, allocations: 28.8 kB / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.006101, allocations: 216.6 kB / 383.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.006117, allocations: 384 / 383.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.006136, allocations: 16.38 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.006288, allocations: 121.7 kB / 383.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.006299, allocations: 3.938 kB / 383.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.006309, allocations: 4 kB / 383.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.006318, allocations: 4 kB / 383.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.58e-05/0.006374, allocations: 27.97 kB / 383.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.006729, allocations: 0.4984 MB / 384 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.006938, allocations: 118.1 kB / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.61e-05/0.006984, allocations: 43.47 kB / 384.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.006996, allocations: 4 kB / 384.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.007131, allocations: 120.1 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/0.007132, allocations: 0 / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007092/0.007842, allocations: 456.9 kB / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.007879, allocations: 89.03 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.0081, allocations: 354.3 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.008115, allocations: 33.69 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.216e-05/0.008197, allocations: 199.3 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.008245, allocations: 79.41 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/0.008292, allocations: 51.36 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.008411, allocations: 0.5118 MB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.199e-05/0.008463, allocations: 35.97 kB / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.897e-05/0.008532, allocations: 78.72 kB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.008655, allocations: 126.8 kB / 386.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.008656, allocations: 7.938 kB / 386.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002012/0.008857, allocations: 197.3 kB / 386.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.00887, allocations: 8 kB / 386.5 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.008873, allocations: 0 / 386.5 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.008884, allocations: 0 / 386.5 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.639e-05/0.00897, allocations: 47.91 kB / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.008977, allocations: 7.938 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.863e-05/0.009026, allocations: 8 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.009037, allocations: 8 kB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.062e-05/0.009118, allocations: 180.6 kB / 386.7 MB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.009151, allocations: 35.77 kB / 386.8 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002542/0.009406, allocations: 232.3 kB / 387 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.00941, allocations: 4 kB / 387 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.009413, allocations: 3.938 kB / 387 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.009417, allocations: 0 / 387 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005116/0.009928, allocations: 0.7372 MB / 387.7 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.009931, allocations: 4.125 kB / 387.7 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.012e-05/0.009991, allocations: 39.92 kB / 387.8 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.009994, allocations: 4 kB / 387.8 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.01, allocations: 4 kB / 387.8 MB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.01001, allocations: 4 kB / 387.8 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.01001, allocations: 0 / 387.8 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.01029, allocations: 0.5082 MB / 388.3 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.276e-05/0.01032, allocations: 27.81 kB / 388.3 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.01034, allocations: 8 kB / 388.3 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.543e-05/0.01042, allocations: 11.92 kB / 388.3 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.01045, allocations: 23.97 kB / 388.4 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.01047, allocations: 12 kB / 388.4 MB, free: 8.207 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001376/0.01061, allocations: 254.9 kB / 388.6 MB, free: 7.957 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01061, allocations: 0 / 388.6 MB, free: 7.957 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002243/0.01083, allocations: 51.92 kB / 388.7 MB, free: 7.906 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009695/0.0118, allocations: 496.2 kB / 389.2 MB, free: 7.605 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.012, allocations: 132 kB / 389.3 MB, free: 7.473 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.012, allocations: 0 / 389.3 MB, free: 7.473 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.529e-05/0.01208, allocations: 67.53 kB / 389.3 MB, free: 7.402 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.0124, allocations: 76.02 kB / 389.4 MB, free: 7.332 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000506/0.0129, allocations: 469.9 kB / 389.9 MB, free: 6.824 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.019e-05/0.01296, allocations: 96.31 kB / 390 MB, free: 6.711 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.879e-05/0.01303, allocations: 33.92 kB / 390 MB, free: 6.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.01308, allocations: 32.48 kB / 390 MB, free: 6.648 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01308, allocations: 4 kB / 390 MB, free: 6.645 MB / 362.7 MB Notification: Performance of Templates: time 0.004803/0.01788, allocations: 3.317 MB / 393.4 MB, free: 3.375 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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.4271389569621533]