Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.000946/0.000946, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009634/0.0009634, allocations: 161 kB / 24.56 MB, free: 16 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 0.9407/0.9407, allocations: 177.1 MB / 205 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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.2466/0.2466, allocations: 32.81 MB / 294.3 MB, free: 1.285 MB / 266.7 MB " [Timeout remaining time 180] 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 376.1 MB, free: 4.609 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.08e-05, allocations: 6.25 kB / 376.1 MB, free: 4.602 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.00536/0.005391, allocations: 1.769 MB / 377.9 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.007414, allocations: 1.001 MB / 378.9 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.007516, allocations: 4 kB / 378.9 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.007902, allocations: 47.69 kB / 378.9 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004191/0.008321, allocations: 99.48 kB / 379 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.008572, allocations: 75.61 kB / 379.1 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.008782, allocations: 107.7 kB / 379.2 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.008882, allocations: 4 kB / 379.2 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.008997, allocations: 59.77 kB / 379.3 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.276e-05/0.00909, allocations: 27.91 kB / 379.3 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.009111, allocations: 4 kB / 379.3 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.009222, allocations: 43.92 kB / 379.3 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.28e-05/0.009285, allocations: 27.92 kB / 379.4 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.003e-05/0.009335, allocations: 27.84 kB / 379.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.009564, allocations: 95.66 kB / 379.5 MB, free: 1.199 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.009569, allocations: 0 / 379.5 MB, free: 1.199 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.00957, allocations: 0 / 379.5 MB, free: 1.199 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.009575, allocations: 0 / 379.5 MB, free: 1.199 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005862/0.01016, allocations: 451.8 kB / 379.9 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.0102, allocations: 12.03 kB / 379.9 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.288e-05/0.01027, allocations: 12.84 kB / 380 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.01049, allocations: 153.1 kB / 380.1 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.01051, allocations: 8.375 kB / 380.1 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.01053, allocations: 384 / 380.1 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.01069, allocations: 62.94 kB / 380.2 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.0107, allocations: 7.875 kB / 380.2 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.01072, allocations: 4 kB / 380.2 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.01072, allocations: 4 kB / 380.2 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.765e-05/0.01077, allocations: 11.92 kB / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.01115, allocations: 287.8 kB / 380.5 MB, free: 104 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.01128, allocations: 47.17 kB / 380.5 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.477e-05/0.01133, allocations: 31.61 kB / 380.6 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.01134, allocations: 0 / 380.6 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/0.01148, allocations: 68.98 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.572e-06/0.01148, allocations: 4 kB / 380.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000529/0.01201, allocations: 145.4 kB / 380.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.01205, allocations: 55.41 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.01223, allocations: 238.3 kB / 381.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.01225, allocations: 25.7 kB / 381.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.01232, allocations: 154.9 kB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.01235, allocations: 23.8 kB / 381.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.501e-05/0.0124, allocations: 31.36 kB / 381.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.01254, allocations: 0.4962 MB / 381.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.679e-05/0.01258, allocations: 12 kB / 381.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.851e-05/0.01263, allocations: 31.36 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.757e-05/0.01272, allocations: 63.59 kB / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.01272, allocations: 0 / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001629/0.01288, allocations: 93.53 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.0129, allocations: 4 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.0129, allocations: 4 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.01292, allocations: 4.031 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.345e-05/0.01301, allocations: 19.98 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.01301, allocations: 0 / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.248e-05/0.01306, allocations: 0 / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.01307, allocations: 7.984 kB / 382 MB, free: 14.44 MB / 362.7 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 9.564e-05/0.01316, allocations: 164.5 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.01319, allocations: 11.95 kB / 382.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.01339, allocations: 107.2 kB / 382.3 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.0134, allocations: 4 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.0134, allocations: 0 / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01341, allocations: 4 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/0.01381, allocations: 404.9 kB / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01381, allocations: 0 / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.252e-05/0.01385, allocations: 11.94 kB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.01386, allocations: 4 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.01387, allocations: 0 / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.01387, allocations: 0 / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.01387, allocations: 4 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.01408, allocations: 255.4 kB / 383 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.697e-05/0.01409, allocations: 15.94 kB / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.01412, allocations: 7.984 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.01419, allocations: 4 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.01423, allocations: 3.984 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.01425, allocations: 8 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001077/0.01435, allocations: 172.1 kB / 383.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01435, allocations: 0 / 383.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000295/0.01465, allocations: 27.92 kB / 383.2 MB, free: 13.17 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: 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.001261/0.01591, allocations: 432.2 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001594/0.01607, allocations: 59.61 kB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01607, allocations: 0 / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.868e-05/0.01613, allocations: 31.61 kB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.01649, allocations: 30.84 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.01693, allocations: 218.3 kB / 384 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.244e-05/0.01699, allocations: 71.33 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.228e-05/0.01704, allocations: 17.09 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.01708, allocations: 20.48 kB / 384.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01708, allocations: 0 / 384.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of Templates: time 0.005126/0.02221, allocations: 2.006 MB / 386.1 MB, free: 10.43 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.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: 2.996107561979443]