Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001869/0.001869, allocations: 81.95 kB / 21.42 MB, free: 3.074 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.001393/0.001393, allocations: 167.2 kB / 24.82 MB, free: 8.773 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.056/1.056, allocations: 177.1 MB / 205.3 MB, free: 5.527 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.2862/0.2862, allocations: 34.27 MB / 296.1 MB, free: 0.7188 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.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.066e-06/3.066e-06, allocations: 0 / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.554e-05/3.86e-05, allocations: 14.25 kB / 378.5 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002938/0.002976, allocations: 1.626 MB / 380.1 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.00457, allocations: 1.266 MB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.789e-05/0.004648, allocations: 0 / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.004948, allocations: 35.78 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004016/0.00535, allocations: 87.48 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.005607, allocations: 83.7 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.005757, allocations: 71.77 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.005883, allocations: 11.98 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.136e-05/0.005964, allocations: 31.86 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.006102, allocations: 27.95 kB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.006128, allocations: 4 kB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.006275, allocations: 91.81 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.938e-05/0.006334, allocations: 12 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.263e-05/0.006367, allocations: 19.91 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.006592, allocations: 135.5 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.006596, allocations: 0 / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.006597, allocations: 0 / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.006602, allocations: 0 / 382 MB, free: 14.85 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004106/0.007013, allocations: 428 kB / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.007055, allocations: 8.031 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/0.00709, allocations: 8.891 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.007236, allocations: 140.5 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.007245, allocations: 4.375 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.007265, allocations: 4.375 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.007396, allocations: 96.03 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.007404, allocations: 192 / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.007414, allocations: 8.125 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.007418, allocations: 0 / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.227e-05/0.00744, allocations: 23.92 kB / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.007698, allocations: 256.3 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.007831, allocations: 35.06 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.031e-05/0.007852, allocations: 15.77 kB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.007876, allocations: 4 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.007902, allocations: 49.31 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.007903, allocations: 0 / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002846/0.008188, allocations: 85.78 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.008233, allocations: 77.11 kB / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.008367, allocations: 195.9 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.008381, allocations: 25.7 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.526e-05/0.008446, allocations: 142.8 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.00847, allocations: 23.78 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.008502, allocations: 23.36 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.00866, allocations: 0.4962 MB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.364e-05/0.008674, allocations: 3.984 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.413e-05/0.008718, allocations: 49.08 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.457e-05/0.008752, allocations: 23.67 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.008755, allocations: 3.984 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.498e-05/0.00882, allocations: 61.58 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.008833, allocations: 4 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.008838, allocations: 0 / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.008848, allocations: 0 / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.648e-05/0.008884, allocations: 19.92 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-06/0.008886, allocations: 0 / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.861e-05/0.008905, allocations: 4.031 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.00891, allocations: 4 kB / 384.3 MB, free: 12.33 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 8.399e-05/0.008994, allocations: 152.6 kB / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.009017, allocations: 19.88 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000461/0.009478, allocations: 66.39 kB / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.00948, allocations: 64 / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.009482, allocations: 4 kB / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.009487, allocations: 0 / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.009722, allocations: 302 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.009724, allocations: 4 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.806e-05/0.009752, allocations: 11.94 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-06/0.009753, allocations: 0 / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.00976, allocations: 3.984 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.009761, allocations: 0 / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.009762, allocations: 4 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.009868, allocations: 207.8 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.009879, allocations: 11.94 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.009892, allocations: 0 / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.293e-05/0.009925, allocations: 4 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.009953, allocations: 7.984 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.009957, allocations: 4 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.939e-05/0.01002, allocations: 141 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01002, allocations: 0 / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001945/0.01021, allocations: 43.86 kB / 385.3 MB, free: 11.3 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.001265/0.01148, allocations: 481.2 kB / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.088e-05/0.01157, allocations: 31.61 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01157, allocations: 0 / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.834e-05/0.01159, allocations: 19.62 kB / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.0118, allocations: 27.91 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003417/0.01214, allocations: 165.9 kB / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.985e-05/0.01219, allocations: 66.39 kB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.396e-05/0.01225, allocations: 11.98 kB / 386 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.325e-05/0.01233, allocations: 90.19 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01233, allocations: 3.938 kB / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of Templates: time 0.004156/0.01649, allocations: 2.019 MB / 388.2 MB, free: 8.531 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.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.4899342791177332]