Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.001661/0.001661, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.001737/0.001737, allocations: 161.6 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.568/1.568, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3403/0.3403, allocations: 32.8 MB / 293.9 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 375.4 MB, free: 4.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.353e-05/3.537e-05, allocations: 2.312 kB / 375.4 MB, free: 4.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.004802/0.004837, allocations: 1.883 MB / 377.2 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.007466, allocations: 1.08 MB / 378.3 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.007624, allocations: 0 / 378.3 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005901/0.008214, allocations: 223.2 kB / 378.5 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006996/0.008914, allocations: 223.1 kB / 378.8 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.009348, allocations: 115.6 kB / 378.9 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005263/0.009874, allocations: 267.2 kB / 379.1 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.01002, allocations: 17.97 kB / 379.1 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003439/0.01036, allocations: 151.6 kB / 379.3 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002954/0.01065, allocations: 155.6 kB / 379.4 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.909e-05/0.01069, allocations: 8 kB / 379.5 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.01089, allocations: 63.91 kB / 379.5 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.01102, allocations: 63.77 kB / 379.6 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.01113, allocations: 51.72 kB / 379.6 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004969/0.01163, allocations: 235.1 kB / 379.9 MB, free: 372 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.375e-06/0.01164, allocations: 4 kB / 379.9 MB, free: 368 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.01164, allocations: 0 / 379.9 MB, free: 368 kB / 346.7 MB Notification: Performance of Transformations before backend: time 8.617e-06/0.01165, allocations: 0 / 379.9 MB, free: 368 kB / 346.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.001112/0.01276, allocations: 0.5042 MB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.0128, allocations: 8.031 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.01293, allocations: 32.75 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005134/0.01344, allocations: 225.7 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.01347, allocations: 8.375 kB / 380.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.41e-05/0.01351, allocations: 12.3 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006562/0.01417, allocations: 111.9 kB / 380.8 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.01419, allocations: 3.938 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.0142, allocations: 4 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.01421, allocations: 8 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.0144, allocations: 47.91 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007607/0.01517, allocations: 416.4 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005195/0.01568, allocations: 121.2 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.01583, allocations: 49.81 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.01586, allocations: 0 / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003087/0.01616, allocations: 128.8 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.884e-06/0.01617, allocations: 0 / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001747/0.01791, allocations: 0.5246 MB / 382 MB, free: 14.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.36e-05/0.01801, allocations: 85.05 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006463/0.01865, allocations: 452.5 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.01869, allocations: 33.7 kB / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.01887, allocations: 168.5 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.365e-05/0.01896, allocations: 67.42 kB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.01906, allocations: 49.7 kB / 382.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002328/0.0193, allocations: 346.8 kB / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.01946, allocations: 55.97 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.01965, allocations: 91.41 kB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/0.02, allocations: 159.3 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.02, allocations: 0 / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005717/0.02057, allocations: 265.4 kB / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.02059, allocations: 4 kB / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.0206, allocations: 4 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.972e-05/0.02063, allocations: 7.984 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.0208, allocations: 39.92 kB / 383.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.02081, allocations: 11.92 kB / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.02092, allocations: 11.94 kB / 383.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.02094, allocations: 8 kB / 383.9 MB, free: 12.12 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 0.0002165/0.02115, allocations: 165.8 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.713e-05/0.02123, allocations: 51.77 kB / 384.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006474/0.02188, allocations: 268.9 kB / 384.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.02189, allocations: 4 kB / 384.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.0219, allocations: 3.938 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.0219, allocations: 0 / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.02311, allocations: 0.6761 MB / 385 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.02312, allocations: 4 kB / 385 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.02323, allocations: 36.05 kB / 385.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.02324, allocations: 4 kB / 385.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.02326, allocations: 8 kB / 385.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.02326, allocations: 4 kB / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.02327, allocations: 0 / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006977/0.02396, allocations: 452.5 kB / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.352e-05/0.02404, allocations: 31.8 kB / 385.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.17e-05/0.02409, allocations: 8 kB / 385.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.02426, allocations: 4 kB / 385.6 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.235e-05/0.02434, allocations: 23.97 kB / 385.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/0.02437, allocations: 15.98 kB / 385.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004321/0.02481, allocations: 339 kB / 385.9 MB, free: 9.961 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.02481, allocations: 0 / 385.9 MB, free: 9.961 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004202/0.02523, allocations: 59.88 kB / 386 MB, free: 9.902 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.002743/0.02797, allocations: 0.5618 MB / 386.6 MB, free: 9.582 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000453/0.02842, allocations: 155.7 kB / 386.7 MB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.02843, allocations: 4.125 kB / 386.7 MB, free: 9.426 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.02864, allocations: 79.83 kB / 386.8 MB, free: 9.348 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006527/0.02929, allocations: 65.83 kB / 386.8 MB, free: 9.285 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.03045, allocations: 0.5721 MB / 387.4 MB, free: 8.664 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.03068, allocations: 174.1 kB / 387.6 MB, free: 8.477 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.03081, allocations: 41.91 kB / 387.6 MB, free: 8.438 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.249e-05/0.03091, allocations: 28.5 kB / 387.7 MB, free: 8.41 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.03091, allocations: 0 / 387.7 MB, free: 8.41 MB / 362.7 MB Notification: Performance of Templates: time 0.009884/0.04079, allocations: 3.355 MB / 391 MB, free: 5.105 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.007878541946411]