Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001251/0.001251, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.00176/0.00176, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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.379/1.379, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 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.1955/0.1955, allocations: 32.81 MB / 293.5 MB, free: 32 kB / 270.1 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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.537e-06/3.537e-06, allocations: 4 kB / 440.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.955e-05, allocations: 3.828 kB / 440.1 MB, free: 8.129 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002611/0.00263, allocations: 1.599 MB / 441.7 MB, free: 6.523 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009894/0.00362, allocations: 0.522 MB / 442.2 MB, free: 5.996 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.843e-05/0.003668, allocations: 4 kB / 442.2 MB, free: 5.992 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000253/0.003921, allocations: 99.55 kB / 442.3 MB, free: 5.895 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002763/0.004198, allocations: 111.5 kB / 442.5 MB, free: 5.785 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.00445, allocations: 95.69 kB / 442.5 MB, free: 5.691 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.004604, allocations: 83.77 kB / 442.6 MB, free: 5.609 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.393e-05/0.004688, allocations: 15.97 kB / 442.6 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.43e-05/0.004762, allocations: 39.91 kB / 442.7 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.435e-05/0.004856, allocations: 55.86 kB / 442.7 MB, free: 5.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.004873, allocations: 4 kB / 442.7 MB, free: 5.496 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.404e-05/0.004967, allocations: 43.92 kB / 442.8 MB, free: 5.453 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.611e-05/0.005014, allocations: 23.91 kB / 442.8 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.005045, allocations: 19.88 kB / 442.8 MB, free: 5.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.005226, allocations: 107.6 kB / 442.9 MB, free: 5.305 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.005228, allocations: 7.938 kB / 442.9 MB, free: 5.297 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.82e-07/0.005229, allocations: 0 / 442.9 MB, free: 5.297 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.005237, allocations: 0 / 442.9 MB, free: 5.297 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004969/0.005734, allocations: 345.5 kB / 443.3 MB, free: 4.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.005766, allocations: 12.03 kB / 443.3 MB, free: 4.918 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.005799, allocations: 8.891 kB / 443.3 MB, free: 4.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.006, allocations: 150 kB / 443.4 MB, free: 4.738 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.006012, allocations: 16.3 kB / 443.5 MB, free: 4.723 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.006036, allocations: 4.359 kB / 443.5 MB, free: 4.719 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.006171, allocations: 58.23 kB / 443.5 MB, free: 4.656 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.006182, allocations: 4.188 kB / 443.5 MB, free: 4.652 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.006191, allocations: 4.125 kB / 443.5 MB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.006195, allocations: 3.938 kB / 443.5 MB, free: 4.645 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.737e-05/0.006293, allocations: 27.97 kB / 443.6 MB, free: 4.617 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.006627, allocations: 236.5 kB / 443.8 MB, free: 4.355 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.006731, allocations: 42.5 kB / 443.8 MB, free: 4.305 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.496e-05/0.006796, allocations: 28.88 kB / 443.9 MB, free: 4.273 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.006814, allocations: 0 / 443.9 MB, free: 4.273 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.006841, allocations: 38.56 kB / 443.9 MB, free: 4.227 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.006842, allocations: 0 / 443.9 MB, free: 4.227 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008604/0.007702, allocations: 217.3 kB / 444.1 MB, free: 4.008 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.007738, allocations: 51.41 kB / 444.2 MB, free: 3.945 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.007982, allocations: 234.7 kB / 444.4 MB, free: 3.703 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.008005, allocations: 33.7 kB / 444.4 MB, free: 3.664 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.008137, allocations: 112.1 kB / 444.5 MB, free: 3.551 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.008175, allocations: 27.75 kB / 444.6 MB, free: 3.523 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.008216, allocations: 21.7 kB / 444.6 MB, free: 3.496 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.008366, allocations: 330.8 kB / 444.9 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.896e-05/0.008445, allocations: 19.98 kB / 444.9 MB, free: 3.145 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.064e-05/0.008526, allocations: 32.05 kB / 445 MB, free: 3.113 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.008681, allocations: 60.77 kB / 445 MB, free: 3.051 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.008682, allocations: 4 kB / 445 MB, free: 3.047 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000218/0.0089, allocations: 105.5 kB / 445.1 MB, free: 2.938 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.008915, allocations: 8 kB / 445.1 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.008918, allocations: 0 / 445.1 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.00893, allocations: 0 / 445.1 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.37e-05/0.009023, allocations: 15.98 kB / 445.1 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.095e-06/0.009027, allocations: 0 / 445.1 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.219e-05/0.009069, allocations: 4 kB / 445.1 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.009078, allocations: 4 kB / 445.2 MB, free: 2.906 MB / 366.1 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 (8): * Single equations (assignments): 8 * 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.0001197/0.009198, allocations: 142.4 kB / 445.3 MB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.009234, allocations: 11.91 kB / 445.3 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002784/0.009512, allocations: 119.4 kB / 445.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.009514, allocations: 0 / 445.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.009516, allocations: 0 / 445.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.009519, allocations: 0 / 445.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004939/0.01001, allocations: 354.9 kB / 445.8 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.01002, allocations: 3.984 kB / 445.8 MB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.081e-05/0.01009, allocations: 16.42 kB / 445.8 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.01009, allocations: 3.938 kB / 445.8 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.0101, allocations: 7.922 kB / 445.8 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/0.01011, allocations: 4 kB / 445.8 MB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01011, allocations: 0 / 445.8 MB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.01037, allocations: 208.2 kB / 446 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.0104, allocations: 19.94 kB / 446 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.01042, allocations: 8.031 kB / 446 MB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.136e-05/0.01049, allocations: 0 / 446 MB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.479e-05/0.01052, allocations: 11.92 kB / 446 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.01053, allocations: 4 kB / 446 MB, free: 1.934 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.01069, allocations: 180.3 kB / 446.2 MB, free: 1.758 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01069, allocations: 0 / 446.2 MB, free: 1.758 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.01093, allocations: 19.94 kB / 446.2 MB, free: 1.738 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.00176/0.01269, allocations: 483.1 kB / 446.7 MB, free: 1.473 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.01291, allocations: 67.94 kB / 446.8 MB, free: 1.406 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01291, allocations: 0 / 446.8 MB, free: 1.406 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.83e-05/0.013, allocations: 31.92 kB / 446.8 MB, free: 1.375 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.0133, allocations: 30.06 kB / 446.8 MB, free: 1.352 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.01381, allocations: 270 kB / 447.1 MB, free: 1.055 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.01392, allocations: 96.81 kB / 447.2 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.008e-05/0.01397, allocations: 17.02 kB / 447.2 MB, free: 0.918 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.014, allocations: 16.5 kB / 447.2 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.014, allocations: 0 / 447.2 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of Templates: time 0.1527/0.1667, allocations: 1.363 MB / 448.6 MB, free: 21.33 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.474689930677414]