Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.001855/0.001855, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001924/0.001924, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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.499/1.499, allocations: 177.2 MB / 204.3 MB, free: 9.203 MB / 190.1 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.2301/0.2301, allocations: 34.29 MB / 295 MB, free: 14.59 MB / 286.1 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 442.8 MB, free: 5.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.597e-05, allocations: 2.281 kB / 442.8 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.00302/0.003046, allocations: 1.719 MB / 444.5 MB, free: 3.613 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.004882, allocations: 0.978 MB / 445.5 MB, free: 2.629 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.343e-05/0.004956, allocations: 4 kB / 445.5 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.005236, allocations: 39.78 kB / 445.5 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003235/0.005559, allocations: 95.53 kB / 445.6 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.005766, allocations: 83.53 kB / 445.7 MB, free: 2.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.005961, allocations: 111.6 kB / 445.8 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.799e-05/0.006049, allocations: 7.984 kB / 445.8 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.006159, allocations: 51.84 kB / 445.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.188e-05/0.006241, allocations: 27.89 kB / 445.9 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.006262, allocations: 7.938 kB / 445.9 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.423e-05/0.006356, allocations: 43.98 kB / 445.9 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.125e-05/0.006418, allocations: 23.92 kB / 445.9 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.852e-05/0.006466, allocations: 23.86 kB / 446 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.006702, allocations: 123.5 kB / 446.1 MB, free: 1.996 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.006704, allocations: 0 / 446.1 MB, free: 1.996 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.006705, allocations: 0 / 446.1 MB, free: 1.996 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.006709, allocations: 0 / 446.1 MB, free: 1.996 MB / 366.1 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.0007014/0.007411, allocations: 345.6 kB / 446.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.007446, allocations: 12.03 kB / 446.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.007488, allocations: 8.891 kB / 446.5 MB, free: 1.609 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.007836, allocations: 165.4 kB / 446.6 MB, free: 1.422 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.007845, allocations: 4.312 kB / 446.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.007873, allocations: 8.375 kB / 446.6 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.008033, allocations: 54.23 kB / 446.7 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.008048, allocations: 3.938 kB / 446.7 MB, free: 1.348 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.008058, allocations: 3.938 kB / 446.7 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.008066, allocations: 4 kB / 446.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.536e-05/0.008141, allocations: 15.98 kB / 446.7 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.008553, allocations: 232.6 kB / 446.9 MB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.008739, allocations: 58.61 kB / 447 MB, free: 1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.647e-05/0.008806, allocations: 24.78 kB / 447 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.008822, allocations: 8 kB / 447 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.008969, allocations: 59.39 kB / 447.1 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.00897, allocations: 0 / 447.1 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006265/0.009596, allocations: 189.3 kB / 447.3 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.009639, allocations: 51.41 kB / 447.3 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.009938, allocations: 215 kB / 447.5 MB, free: 432 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.009958, allocations: 25.7 kB / 447.6 MB, free: 400 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.564e-05/0.01004, allocations: 116.1 kB / 447.7 MB, free: 280 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.01008, allocations: 27.78 kB / 447.7 MB, free: 252 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.01013, allocations: 21.7 kB / 447.7 MB, free: 224 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1981/0.2083, allocations: 326.8 kB / 448 MB, free: 19.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.2084, allocations: 20.97 kB / 448.1 MB, free: 19.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.973e-05/0.2085, allocations: 34.33 kB / 448.1 MB, free: 19.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.2086, allocations: 69.67 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2086, allocations: 0 / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000212/0.2088, allocations: 104 kB / 448.3 MB, free: 18.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2088, allocations: 8.812 kB / 448.3 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2088, allocations: 1.625 kB / 448.3 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.2089, allocations: 0 / 448.3 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.773e-05/0.2089, allocations: 19.47 kB / 448.3 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.209, allocations: 4.844 kB / 448.3 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.419e-05/0.209, allocations: 6.922 kB / 448.3 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.209, allocations: 3.312 kB / 448.3 MB, free: 18.99 MB / 366.1 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 8.341e-05/0.2091, allocations: 127.8 kB / 448.4 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.2091, allocations: 11.47 kB / 448.4 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002904/0.2094, allocations: 125.8 kB / 448.6 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2094, allocations: 0.75 kB / 448.6 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.2094, allocations: 5.125 kB / 448.6 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.2094, allocations: 0.7031 kB / 448.6 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000434/0.2099, allocations: 353.2 kB / 448.9 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2099, allocations: 3.641 kB / 448.9 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.08e-05/0.2099, allocations: 11.84 kB / 448.9 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2099, allocations: 1.688 kB / 448.9 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.2099, allocations: 5.875 kB / 448.9 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2099, allocations: 1.094 kB / 448.9 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.2099, allocations: 1.094 kB / 448.9 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.2102, allocations: 216.5 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.933e-05/0.2102, allocations: 9.859 kB / 449.2 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.2102, allocations: 14.81 kB / 449.2 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.377e-05/0.2103, allocations: 2.156 kB / 449.2 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.2103, allocations: 7.312 kB / 449.2 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.2103, allocations: 4.469 kB / 449.2 MB, free: 18.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.2105, allocations: 158.4 kB / 449.3 MB, free: 18.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2105, allocations: 0 / 449.3 MB, free: 18.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.2108, allocations: 30.17 kB / 449.4 MB, free: 18.38 MB / 366.1 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.001811/0.2126, allocations: 0.493 MB / 449.9 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001864/0.2128, allocations: 63.42 kB / 449.9 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2128, allocations: 0 / 449.9 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.436e-05/0.2128, allocations: 30.12 kB / 450 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.2132, allocations: 29.38 kB / 450 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004359/0.2136, allocations: 255.7 kB / 450.2 MB, free: 18.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.756e-05/0.2137, allocations: 95.11 kB / 450.3 MB, free: 17.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.712e-05/0.2137, allocations: 18.47 kB / 450.3 MB, free: 17.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.2138, allocations: 17.73 kB / 450.4 MB, free: 17.95 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2138, allocations: 0 / 450.4 MB, free: 17.95 MB / 366.1 MB Notification: Performance of Templates: time 0.005057/0.2188, allocations: 1.857 MB / 452.2 MB, free: 17.7 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.02514910325408]