Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001427/0.001427, allocations: 88.33 kB / 20.96 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.001618/0.001618, allocations: 157.7 kB / 24.27 MB, free: 148 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.501/1.501, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.3445/0.3445, allocations: 32.8 MB / 293.9 MB, free: 1.195 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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 375.3 MB, free: 4.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.525e-05/3.723e-05, allocations: 2.312 kB / 375.3 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003623/0.00366, allocations: 1.603 MB / 376.9 MB, free: 3.332 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.004822, allocations: 0.5181 MB / 377.4 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.044e-05/0.004882, allocations: 4 kB / 377.4 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.005144, allocations: 23.8 kB / 377.4 MB, free: 2.781 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.005476, allocations: 83.55 kB / 377.5 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.005775, allocations: 87.69 kB / 377.6 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.005944, allocations: 67.72 kB / 377.6 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.006048, allocations: 11.98 kB / 377.7 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.417e-05/0.006122, allocations: 35.91 kB / 377.7 MB, free: 2.5 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.905e-05/0.006192, allocations: 11.98 kB / 377.7 MB, free: 2.488 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.006211, allocations: 7.938 kB / 377.7 MB, free: 2.48 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.621e-05/0.006297, allocations: 31.98 kB / 377.7 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.208e-05/0.006359, allocations: 11.98 kB / 377.8 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.006396, allocations: 7.938 kB / 377.8 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.006593, allocations: 83.66 kB / 377.8 MB, free: 2.348 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.006597, allocations: 0 / 377.8 MB, free: 2.348 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.068e-05/0.006607, allocations: 4 kB / 377.9 MB, free: 2.344 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.006612, allocations: 0 / 377.9 MB, free: 2.344 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.0005483/0.007161, allocations: 313.8 kB / 378.2 MB, free: 2.008 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.007203, allocations: 8.031 kB / 378.2 MB, free: 2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.721e-05/0.00726, allocations: 8.891 kB / 378.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.007483, allocations: 137.6 kB / 378.3 MB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.007495, allocations: 384 / 378.3 MB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.007522, allocations: 4.375 kB / 378.3 MB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.007684, allocations: 54.17 kB / 378.4 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.007696, allocations: 4.188 kB / 378.4 MB, free: 1.766 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.00771, allocations: 4.125 kB / 378.4 MB, free: 1.762 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.007715, allocations: 0 / 378.4 MB, free: 1.762 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.773e-05/0.007813, allocations: 23.98 kB / 378.4 MB, free: 1.738 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.008224, allocations: 216.6 kB / 378.6 MB, free: 1.496 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.0085, allocations: 46.5 kB / 378.7 MB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.315e-05/0.008573, allocations: 12.94 kB / 378.7 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.008606, allocations: 7.938 kB / 378.7 MB, free: 1.418 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.008639, allocations: 30.56 kB / 378.7 MB, free: 1.379 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.00864, allocations: 0 / 378.7 MB, free: 1.379 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006987/0.009338, allocations: 149.4 kB / 378.9 MB, free: 1.227 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.009398, allocations: 55.41 kB / 378.9 MB, free: 1.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.009602, allocations: 146.1 kB / 379 MB, free: 1.004 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.00963, allocations: 29.7 kB / 379.1 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.557e-05/0.009706, allocations: 92.14 kB / 379.2 MB, free: 0.875 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.00974, allocations: 19.83 kB / 379.2 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.009783, allocations: 17.72 kB / 379.2 MB, free: 0.832 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.009972, allocations: 318.8 kB / 379.5 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.678e-05/0.01005, allocations: 19.98 kB / 379.5 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.196e-05/0.01011, allocations: 19.98 kB / 379.6 MB, free: 484 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.01025, allocations: 48.83 kB / 379.6 MB, free: 432 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.01025, allocations: 3.938 kB / 379.6 MB, free: 428 kB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002097/0.01046, allocations: 85.81 kB / 379.7 MB, free: 336 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.01048, allocations: 6.031 kB / 379.7 MB, free: 332 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.01049, allocations: 4 kB / 379.7 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.01051, allocations: 3.938 kB / 379.7 MB, free: 324 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.892e-05/0.01058, allocations: 19.98 kB / 379.7 MB, free: 304 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.01058, allocations: 0 / 379.7 MB, free: 304 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/0.01063, allocations: 7.953 kB / 379.7 MB, free: 296 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.01063, allocations: 0 / 379.7 MB, free: 296 kB / 346.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.0001077/0.01074, allocations: 117.8 kB / 379.8 MB, free: 168 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.01078, allocations: 11.89 kB / 379.9 MB, free: 156 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.01104, allocations: 94.06 kB / 379.9 MB, free: 56 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.01104, allocations: 288 / 379.9 MB, free: 56 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.01105, allocations: 8 kB / 380 MB, free: 48 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.01105, allocations: 0 / 380 MB, free: 48 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004753/0.01153, allocations: 294.1 kB / 380.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.01153, allocations: 3.938 kB / 380.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.007e-05/0.01159, allocations: 11.98 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.01159, allocations: 0 / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.0116, allocations: 0 / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.0116, allocations: 4 kB / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.0116, allocations: 0 / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.01187, allocations: 183.4 kB / 380.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.515e-05/0.01189, allocations: 7.953 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.0119, allocations: 0 / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.01197, allocations: 4.188 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.01201, allocations: 3.984 kB / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.01203, allocations: 12 kB / 380.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001063/0.01213, allocations: 113.8 kB / 380.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01213, allocations: 3.938 kB / 380.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000256/0.01239, allocations: 16 kB / 380.6 MB, free: 15.35 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.002022/0.01441, allocations: 429.8 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002036/0.01462, allocations: 43.97 kB / 381.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01462, allocations: 0 / 381.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.244e-05/0.0147, allocations: 27.92 kB / 381.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/0.0151, allocations: 27.36 kB / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005081/0.01561, allocations: 188.9 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.745e-05/0.0157, allocations: 75.33 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.659e-05/0.01575, allocations: 12.22 kB / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.01579, allocations: 12.5 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01579, allocations: 0 / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of Templates: time 0.004224/0.02001, allocations: 1.16 MB / 382.6 MB, free: 13.53 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.736298886942677]