Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.00152/0.00152, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001356/0.001356, allocations: 169.9 kB / 24.99 MB, free: 8.801 MB / 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.079/1.079, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.2729/0.2729, allocations: 34.26 MB / 296 MB, free: 0.7852 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 378.1 MB, free: 2.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.703e-05/1.867e-05, allocations: 2.312 kB / 378.1 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002009/0.002027, allocations: 1.719 MB / 379.8 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.003186, allocations: 0.9819 MB / 380.8 MB, free: 196 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.879e-05/0.003255, allocations: 4 kB / 380.8 MB, free: 192 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.003544, allocations: 91.62 kB / 380.9 MB, free: 100 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.003811, allocations: 119.4 kB / 381 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001206/0.003931, allocations: 75.67 kB / 381.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.004083, allocations: 111.6 kB / 381.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.799e-05/0.004121, allocations: 4.234 kB / 381.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.377e-05/0.004205, allocations: 59.81 kB / 381.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.461e-05/0.00429, allocations: 51.88 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.004304, allocations: 4 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.426e-05/0.004369, allocations: 39.86 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.04e-05/0.004419, allocations: 27.86 kB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.00446, allocations: 19.92 kB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.004615, allocations: 91.67 kB / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004617, allocations: 0 / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.004619, allocations: 0 / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.004622, allocations: 0 / 381.5 MB, free: 15.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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004226/0.005045, allocations: 451.8 kB / 381.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.005081, allocations: 8.031 kB / 381.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.005127, allocations: 12.89 kB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.005292, allocations: 156.3 kB / 382.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.00531, allocations: 8.375 kB / 382.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.709e-06/0.005319, allocations: 4.359 kB / 382.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.005428, allocations: 54.95 kB / 382.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.005437, allocations: 3.938 kB / 382.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.005447, allocations: 3.984 kB / 382.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.005455, allocations: 4 kB / 382.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.076e-05/0.005486, allocations: 7.984 kB / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001387/0.005624, allocations: 144.7 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.091e-05/0.005715, allocations: 51.05 kB / 382.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.764e-05/0.005743, allocations: 19.67 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.005754, allocations: 0 / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.447e-05/0.005848, allocations: 69 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.00585, allocations: 0 / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001854/0.006035, allocations: 93.5 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.006066, allocations: 51.41 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003983/0.006464, allocations: 246.7 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.006475, allocations: 25.7 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/0.00653, allocations: 158.9 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.006557, allocations: 19.84 kB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.006587, allocations: 27.38 kB / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.006699, allocations: 0.4962 MB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.225e-05/0.006721, allocations: 8 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.783e-05/0.006749, allocations: 27.36 kB / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.971e-05/0.006799, allocations: 43.3 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.006801, allocations: 0 / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.887e-05/0.00688, allocations: 73.59 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.006892, allocations: 9.875 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.006898, allocations: 7.969 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.00691, allocations: 3.938 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.723e-05/0.006977, allocations: 11.94 kB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.006982, allocations: 0 / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.788e-05/0.00701, allocations: 7.984 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.007016, allocations: 4 kB / 383.8 MB, free: 13 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 (7): * Single equations (assignments): 7 * 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 6.7e-05/0.007083, allocations: 156.6 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.007098, allocations: 15.91 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.00721, allocations: 86.92 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.007212, allocations: 3.938 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.007216, allocations: 4 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.00722, allocations: 3.984 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.889e-05/0.007309, allocations: 148.6 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.00731, allocations: 0 / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.514e-05/0.007325, allocations: 4.375 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.007326, allocations: 0 / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.007333, allocations: 4 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.007336, allocations: 7.938 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.007337, allocations: 3.984 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.191e-05/0.007429, allocations: 116.3 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/0.007442, allocations: 7.953 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.007458, allocations: 8 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.088e-05/0.007479, allocations: 7.922 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.007507, allocations: 4 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.007519, allocations: 3.938 kB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001074/0.007627, allocations: 185 kB / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007627, allocations: 0 / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002231/0.00785, allocations: 23.94 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008291/0.008679, allocations: 382.5 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.008782, allocations: 35.67 kB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.008784, allocations: 0 / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.269e-05/0.008816, allocations: 35.55 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.009001, allocations: 27.92 kB / 385 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003194/0.009321, allocations: 220.9 kB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.841e-05/0.009359, allocations: 63.34 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.908e-05/0.009388, allocations: 12.48 kB / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.009414, allocations: 12.5 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of SimCode: time 7.12e-07/0.009415, allocations: 0 / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of Templates: time 0.00328/0.01269, allocations: 1.659 MB / 387 MB, free: 9.824 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.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.328570344019681]