Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.001483/0.001483, 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.002506/0.002506, 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.486/1.486, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.3643/0.3643, allocations: 32.8 MB / 293.9 MB, free: 1.199 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 375.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.158e-05/3.339e-05, allocations: 2.312 kB / 375.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003846/0.003879, allocations: 1.903 MB / 377.2 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.006007, allocations: 1.009 MB / 378.3 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.006119, allocations: 3.938 kB / 378.3 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.00647, allocations: 47.59 kB / 378.3 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004107/0.006881, allocations: 99.47 kB / 378.4 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.007156, allocations: 99.58 kB / 378.5 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002614/0.007417, allocations: 147.5 kB / 378.6 MB, free: 1.566 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.007539, allocations: 21.8 kB / 378.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.007683, allocations: 79.73 kB / 378.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.007805, allocations: 39.83 kB / 378.8 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.007834, allocations: 8 kB / 378.8 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.00795, allocations: 47.92 kB / 378.8 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.889e-05/0.008029, allocations: 31.84 kB / 378.9 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.465e-05/0.008103, allocations: 27.92 kB / 378.9 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.008419, allocations: 155.4 kB / 379 MB, free: 1.164 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.008425, allocations: 4 kB / 379 MB, free: 1.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.008426, allocations: 0 / 379 MB, free: 1.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.008432, allocations: 0 / 379 MB, free: 1.16 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008031/0.009236, allocations: 414.9 kB / 379.5 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.009278, allocations: 12.03 kB / 379.5 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.955e-05/0.009358, allocations: 24.8 kB / 379.5 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.009734, allocations: 178.2 kB / 379.7 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.009752, allocations: 4.375 kB / 379.7 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.009788, allocations: 12.38 kB / 379.7 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.01008, allocations: 130.5 kB / 379.8 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.01009, allocations: 3.938 kB / 379.8 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.01011, allocations: 8 kB / 379.8 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.01011, allocations: 0 / 379.8 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.01027, allocations: 51.89 kB / 379.9 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007036/0.01098, allocations: 456.6 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003765/0.01135, allocations: 86.66 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.01147, allocations: 36.83 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.01149, allocations: 4 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002533/0.01174, allocations: 117 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.01174, allocations: 0 / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.000474/0.01222, allocations: 145.5 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.01227, allocations: 55.41 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.01253, allocations: 207.6 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.01256, allocations: 33.7 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.01266, allocations: 116 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.0127, allocations: 27.78 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-05/0.01276, allocations: 33.67 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.01294, allocations: 326.8 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.01305, allocations: 31.97 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.01318, allocations: 67.97 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.01341, allocations: 100.2 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01341, allocations: 3.938 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000325/0.01374, allocations: 145.4 kB / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.01376, allocations: 5.875 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.01377, allocations: 3.984 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.01379, allocations: 8.125 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.0139, allocations: 23.94 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.01391, allocations: 7.984 kB / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.279e-05/0.01398, allocations: 7.938 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.01399, allocations: 4 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001297/0.01412, allocations: 129.8 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.04e-05/0.01416, allocations: 23.89 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003337/0.0145, allocations: 131 kB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.0145, allocations: 4 kB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01451, allocations: 4 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.01451, allocations: 0 / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.0147, allocations: 157.2 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.0147, allocations: 0 / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.472e-05/0.01479, allocations: 23.92 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.01479, allocations: 0 / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.01481, allocations: 4 kB / 382.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.01481, allocations: 0 / 382.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01481, allocations: 4 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004558/0.01527, allocations: 201.4 kB / 382.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.637e-05/0.01529, allocations: 11.94 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.01532, allocations: 4 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.167e-05/0.01539, allocations: 11.98 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.01544, allocations: 3.984 kB / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.01545, allocations: 4 kB / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001583/0.01561, allocations: 147.2 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01561, allocations: 0 / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002457/0.01586, allocations: 27.94 kB / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.00202/0.01788, allocations: 446.8 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002866/0.01817, allocations: 83.83 kB / 383.3 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.01817, allocations: 0 / 383.3 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.01829, allocations: 35.97 kB / 383.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.01864, allocations: 40.28 kB / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006287/0.01927, allocations: 268.4 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.01939, allocations: 106.1 kB / 383.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.108e-05/0.01947, allocations: 21.47 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.01952, allocations: 20.48 kB / 383.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01952, allocations: 0 / 383.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of Templates: time 0.00646/0.02598, allocations: 2.065 MB / 385.8 MB, free: 10.24 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.774543193983845]