Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001882/0.001882, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001959/0.001959, allocations: 165.6 kB / 24.27 MB, free: 156 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.551/1.551, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.3441/0.3441, allocations: 32.8 MB / 293.9 MB, free: 1.191 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.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.712e-05/3.887e-05, allocations: 2.312 kB / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003706/0.003745, allocations: 1.615 MB / 376.9 MB, free: 3.355 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.005052, allocations: 0.522 MB / 377.4 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.026e-05/0.005123, allocations: 3.938 kB / 377.4 MB, free: 2.824 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.00541, allocations: 23.8 kB / 377.4 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.00572, allocations: 91.55 kB / 377.5 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.006001, allocations: 83.7 kB / 377.6 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.006185, allocations: 71.7 kB / 377.7 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.006297, allocations: 11.98 kB / 377.7 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.639e-05/0.006384, allocations: 27.92 kB / 377.7 MB, free: 2.52 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.276e-05/0.006446, allocations: 19.97 kB / 377.7 MB, free: 2.5 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.006467, allocations: 0 / 377.7 MB, free: 2.5 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.664e-05/0.006564, allocations: 31.98 kB / 377.8 MB, free: 2.469 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.58e-05/0.00663, allocations: 11.94 kB / 377.8 MB, free: 2.457 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.723e-05/0.006667, allocations: 19.92 kB / 377.8 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.006883, allocations: 83.66 kB / 377.9 MB, free: 2.355 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.006886, allocations: 0 / 377.9 MB, free: 2.355 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.006887, allocations: 0 / 377.9 MB, free: 2.355 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.006893, allocations: 3.938 kB / 377.9 MB, free: 2.352 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006126/0.007506, allocations: 427.7 kB / 378.3 MB, free: 1.898 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.007539, allocations: 8.031 kB / 378.3 MB, free: 1.891 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.025e-05/0.007589, allocations: 8.891 kB / 378.3 MB, free: 1.883 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.007797, allocations: 141 kB / 378.5 MB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.007808, allocations: 4.375 kB / 378.5 MB, free: 1.715 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.007831, allocations: 4.375 kB / 378.5 MB, free: 1.711 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.007972, allocations: 50 kB / 378.5 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.007986, allocations: 0 / 378.5 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.007996, allocations: 0 / 378.5 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.008002, allocations: 4 kB / 378.5 MB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.375e-05/0.008086, allocations: 19.92 kB / 378.5 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004567/0.008543, allocations: 287.7 kB / 378.8 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.008774, allocations: 54.97 kB / 378.9 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.37e-05/0.008828, allocations: 19.69 kB / 378.9 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.008848, allocations: 3.938 kB / 378.9 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.008884, allocations: 37.48 kB / 378.9 MB, free: 1.176 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.008884, allocations: 0 / 378.9 MB, free: 1.176 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005613/0.009446, allocations: 129.4 kB / 379.1 MB, free: 1.043 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.009495, allocations: 51.41 kB / 379.1 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.009729, allocations: 224.7 kB / 379.3 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.009752, allocations: 29.7 kB / 379.4 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.00986, allocations: 154.8 kB / 379.5 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.009888, allocations: 15.84 kB / 379.5 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.009937, allocations: 23.38 kB / 379.5 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003211/0.01026, allocations: 0.5078 MB / 380 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.429e-05/0.01032, allocations: 15.98 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.913e-05/0.01037, allocations: 15.98 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.01049, allocations: 43.67 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.01049, allocations: 0 / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001776/0.01067, allocations: 77.77 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.01068, allocations: 4 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.01069, allocations: 0 / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.0107, allocations: 4 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.19e-05/0.01076, allocations: 15.98 kB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.01077, allocations: 0 / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.661e-05/0.0108, allocations: 4 kB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.01081, allocations: 4 kB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001413/0.01095, allocations: 164.5 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.694e-05/0.01101, allocations: 15.89 kB / 380.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.01125, allocations: 82.08 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01125, allocations: 0 / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.01125, allocations: 4 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01125, allocations: 0 / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004826/0.01174, allocations: 353.4 kB / 380.8 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01174, allocations: 0 / 380.8 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.079e-05/0.01179, allocations: 8 kB / 380.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.01179, allocations: 3.938 kB / 380.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.0118, allocations: 4 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01181, allocations: 0 / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.01181, allocations: 3.984 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.01211, allocations: 223.8 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.352e-05/0.01212, allocations: 7.953 kB / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.01215, allocations: 8.234 kB / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.824e-05/0.0122, allocations: 0 / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.01225, allocations: 12 kB / 381.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.01226, allocations: 0 / 381.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001459/0.0124, allocations: 165.7 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0124, allocations: 0 / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002372/0.01264, allocations: 19.94 kB / 381.3 MB, free: 14.67 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.003042/0.01568, allocations: 449.4 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.0159, allocations: 51.66 kB / 381.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.0159, allocations: 0 / 381.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.515e-05/0.01597, allocations: 27.67 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.01628, allocations: 15.98 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006388/0.01692, allocations: 194.5 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.01702, allocations: 83.31 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.857e-05/0.01707, allocations: 19.98 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.882e-05/0.01711, allocations: 16.48 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01711, allocations: 0 / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of Templates: time 0.004779/0.02188, allocations: 1.156 MB / 383.3 MB, free: 12.8 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.959973631077446]