Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.001487/0.001487, allocations: 84.34 kB / 20.95 MB, free: 3.449 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.00155/0.00155, allocations: 169.3 kB / 24.27 MB, free: 140 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.552/1.552, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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.4312/0.4312, allocations: 34.26 MB / 295.3 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 179] 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.Test77,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.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 377.4 MB, free: 2.867 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.945e-05/3.151e-05, allocations: 6.312 kB / 377.4 MB, free: 2.859 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.004054/0.004085, allocations: 1.875 MB / 379.3 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002357/0.006442, allocations: 1.076 MB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.762e-05/0.00654, allocations: 3.938 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004339/0.006973, allocations: 163.3 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004753/0.007449, allocations: 191.1 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.007751, allocations: 111.6 kB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003518/0.008103, allocations: 255.2 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.008208, allocations: 21.89 kB / 381.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.008428, allocations: 139.6 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.008624, allocations: 127.7 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.008652, allocations: 8 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.008797, allocations: 67.91 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.121e-05/0.008888, allocations: 51.78 kB / 381.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.742e-05/0.008966, allocations: 43.84 kB / 381.5 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.009311, allocations: 223.2 kB / 381.7 MB, free: 14.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.009314, allocations: 0 / 381.7 MB, free: 14.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.009314, allocations: 3.938 kB / 381.7 MB, free: 14.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.009319, allocations: 4 kB / 381.7 MB, free: 14.5 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.0007632/0.01008, allocations: 476.5 kB / 382.2 MB, free: 14.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.01012, allocations: 12.03 kB / 382.2 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.265e-05/0.0102, allocations: 32.8 kB / 382.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008189/0.01102, allocations: 221.8 kB / 382.5 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.01103, allocations: 4.375 kB / 382.5 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.01107, allocations: 16.31 kB / 382.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.01132, allocations: 111.8 kB / 382.6 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.01134, allocations: 11.94 kB / 382.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.01135, allocations: 0 / 382.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.01135, allocations: 0 / 382.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.0115, allocations: 51.95 kB / 382.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005917/0.01209, allocations: 408.4 kB / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/0.01249, allocations: 121.2 kB / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.01262, allocations: 37.83 kB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.01264, allocations: 4 kB / 383.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000255/0.01289, allocations: 121.1 kB / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.0129, allocations: 7.938 kB / 383.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001432/0.01433, allocations: 0.5087 MB / 383.8 MB, free: 12.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/0.01439, allocations: 81.05 kB / 383.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004832/0.01488, allocations: 388.5 kB / 384.3 MB, free: 11.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.01491, allocations: 33.7 kB / 384.3 MB, free: 11.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.01504, allocations: 152.6 kB / 384.5 MB, free: 11.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.596e-05/0.01512, allocations: 67.44 kB / 384.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.801e-05/0.0152, allocations: 45.7 kB / 384.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.01539, allocations: 342.8 kB / 384.9 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.01555, allocations: 59.97 kB / 385 MB, free: 11.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.01572, allocations: 95.28 kB / 385.1 MB, free: 10.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.01603, allocations: 163.5 kB / 385.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.01603, allocations: 0 / 385.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000478/0.01651, allocations: 245.3 kB / 385.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.01653, allocations: 8 kB / 385.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.01653, allocations: 0 / 385.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.01655, allocations: 0 / 385.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.01671, allocations: 47.92 kB / 385.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.01672, allocations: 7.938 kB / 385.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.23e-05/0.01681, allocations: 11.98 kB / 385.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.01682, allocations: 4 kB / 385.6 MB, free: 10.44 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.0001737/0.017, allocations: 161.8 kB / 385.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.008e-05/0.01707, allocations: 39.8 kB / 385.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005981/0.01767, allocations: 276.2 kB / 386 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.01767, allocations: 4 kB / 386 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.01768, allocations: 3.938 kB / 386 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.01768, allocations: 3.984 kB / 386 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.01871, allocations: 0.6644 MB / 386.7 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.01871, allocations: 4.125 kB / 386.7 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.01881, allocations: 35.92 kB / 386.7 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.01881, allocations: 3.938 kB / 386.7 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.01883, allocations: 15.98 kB / 386.8 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.01884, allocations: 0 / 386.8 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.01884, allocations: 4 kB / 386.8 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006042/0.01944, allocations: 445.8 kB / 387.2 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.01949, allocations: 27.8 kB / 387.2 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/0.01953, allocations: 15.98 kB / 387.2 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.01969, allocations: 12 kB / 387.2 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.826e-05/0.01975, allocations: 19.91 kB / 387.3 MB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/0.01977, allocations: 15.98 kB / 387.3 MB, free: 8.613 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003267/0.0201, allocations: 287 kB / 387.6 MB, free: 8.332 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0201, allocations: 0 / 387.6 MB, free: 8.332 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003695/0.02047, allocations: 51.92 kB / 387.6 MB, free: 8.281 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.002501/0.02297, allocations: 0.5485 MB / 388.2 MB, free: 7.977 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003987/0.02337, allocations: 167.6 kB / 388.3 MB, free: 7.812 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.02337, allocations: 0 / 388.3 MB, free: 7.812 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.02355, allocations: 83.83 kB / 388.4 MB, free: 7.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005559/0.02411, allocations: 60.62 kB / 388.5 MB, free: 7.676 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009198/0.02503, allocations: 0.5215 MB / 389 MB, free: 7.113 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.02522, allocations: 161.5 kB / 389.1 MB, free: 6.934 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.02533, allocations: 37.94 kB / 389.2 MB, free: 6.895 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.706e-05/0.02541, allocations: 32.48 kB / 389.2 MB, free: 6.863 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02541, allocations: 0 / 389.2 MB, free: 6.863 MB / 362.7 MB Notification: Performance of Templates: time 0.008261/0.03367, allocations: 3.314 MB / 392.5 MB, free: 3.598 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.0767544800182804]