Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.0009269/0.0009269, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.0009597/0.0009597, allocations: 165 kB / 24.56 MB, free: 8 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.024/1.024, allocations: 177.1 MB / 205 MB, free: 5.598 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.3104/0.3104, allocations: 34.26 MB / 295.7 MB, free: 0.7422 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 378.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.01e-05/3.209e-05, allocations: 2.312 kB / 378.1 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.00264/0.002673, allocations: 1.848 MB / 380 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.004107, allocations: 1.087 MB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.004213, allocations: 3.938 kB / 381.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004916/0.004705, allocations: 311.1 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004671/0.005172, allocations: 259 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.005431, allocations: 107.6 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002841/0.005715, allocations: 275.2 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.772e-05/0.005763, allocations: 5.812 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.005918, allocations: 151.6 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.006115, allocations: 207.6 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.00614, allocations: 12 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.00625, allocations: 51.86 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.006371, allocations: 139.5 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004204/0.006792, allocations: 75.66 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.007095, allocations: 275 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.007099, allocations: 4 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.007099, allocations: 0 / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.007106, allocations: 0 / 382.9 MB, free: 13.76 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.001081/0.008187, allocations: 0.7901 MB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.008228, allocations: 8.031 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.328e-05/0.008311, allocations: 64.55 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.008663, allocations: 336.7 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.008692, allocations: 384 / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.008706, allocations: 4.375 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.008877, allocations: 98.22 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.008886, allocations: 7.938 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.008897, allocations: 0 / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.008906, allocations: 0 / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.353e-05/0.008949, allocations: 15.98 kB / 384.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002761/0.009225, allocations: 320.1 kB / 384.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.009395, allocations: 102.2 kB / 384.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/0.009451, allocations: 35.36 kB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.009467, allocations: 0 / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.009624, allocations: 108.3 kB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.009625, allocations: 0 / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003149/0.00994, allocations: 185.2 kB / 384.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.009986, allocations: 81.11 kB / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005434/0.01053, allocations: 0.7135 MB / 385.7 MB, free: 10.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.01055, allocations: 29.7 kB / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.0107, allocations: 306.8 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.132e-05/0.01075, allocations: 31.75 kB / 386.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-05/0.0108, allocations: 35.36 kB / 386.1 MB, free: 10.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002296/0.01103, allocations: 0.5587 MB / 386.7 MB, free: 9.719 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.4e-05/0.01108, allocations: 15.98 kB / 386.7 MB, free: 9.703 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.564e-05/0.01113, allocations: 54.73 kB / 386.8 MB, free: 9.633 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.904e-05/0.01123, allocations: 83.17 kB / 386.8 MB, free: 9.535 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.01124, allocations: 0 / 386.8 MB, free: 9.535 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001805/0.01142, allocations: 153.2 kB / 387 MB, free: 9.379 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.01143, allocations: 9.703 kB / 387 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.01144, allocations: 3.938 kB / 387 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.01146, allocations: 4 kB / 387 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.01156, allocations: 16 kB / 387 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.01157, allocations: 0 / 387 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.256e-05/0.01163, allocations: 19.94 kB / 387 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.01164, allocations: 8.062 kB / 387 MB, free: 9.32 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 0.0001182/0.01176, allocations: 165.1 kB / 387.2 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.775e-05/0.01181, allocations: 59.64 kB / 387.3 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.01206, allocations: 169.8 kB / 387.4 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.01206, allocations: 4 kB / 387.4 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.01207, allocations: 0 / 387.4 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.01207, allocations: 0 / 387.4 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.01236, allocations: 324.6 kB / 387.7 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.01236, allocations: 8 kB / 387.8 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-05/0.01241, allocations: 8 kB / 387.8 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.01241, allocations: 4 kB / 387.8 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.01242, allocations: 7.938 kB / 387.8 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/0.01243, allocations: 3.938 kB / 387.8 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.01243, allocations: 3.984 kB / 387.8 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.01265, allocations: 211.7 kB / 388 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.267e-05/0.01271, allocations: 59.66 kB / 388 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.01274, allocations: 3.984 kB / 388.1 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.479e-05/0.01279, allocations: 11.94 kB / 388.1 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.01285, allocations: 7.984 kB / 388.1 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.01286, allocations: 4 kB / 388.1 MB, free: 8.207 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003402/0.0132, allocations: 498.7 kB / 388.6 MB, free: 7.723 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.0132, allocations: 0 / 388.6 MB, free: 7.723 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001913/0.01339, allocations: 40 kB / 388.6 MB, free: 7.684 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.000912/0.01431, allocations: 396.3 kB / 389 MB, free: 7.434 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.01449, allocations: 75.52 kB / 389.1 MB, free: 7.355 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01449, allocations: 0 / 389.1 MB, free: 7.355 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.464e-05/0.01454, allocations: 35.67 kB / 389.1 MB, free: 7.316 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.01485, allocations: 82.08 kB / 389.2 MB, free: 7.246 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008046/0.01566, allocations: 0.6754 MB / 389.9 MB, free: 6.535 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.68e-05/0.01573, allocations: 132.2 kB / 390 MB, free: 6.387 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.001e-05/0.0158, allocations: 51.44 kB / 390 MB, free: 6.332 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.564e-05/0.01586, allocations: 32.5 kB / 390.1 MB, free: 6.301 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01586, allocations: 0 / 390.1 MB, free: 6.301 MB / 362.7 MB Notification: Performance of Templates: time 0.007122/0.02298, allocations: 4.286 MB / 394.4 MB, free: 2.047 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.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.324104692786932]