Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.001081/0.001081, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001623/0.002704, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001006/0.001006, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001143/0.002149, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.082/1.082, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08782/1.17, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.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.2834/0.2834, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02858/0.312, allocations: 13.1 MB / 291.5 MB, free: 7.336 MB / 282.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.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 292.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.432e-05, allocations: 3.438 kB / 292.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003098/0.003122, allocations: 1.702 MB / 294.6 MB, free: 4.465 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.004126, allocations: 0.553 MB / 295.1 MB, free: 3.906 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.109e-05/0.004207, allocations: 4 kB / 295.1 MB, free: 3.902 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.004509, allocations: 111.5 kB / 295.2 MB, free: 3.793 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.004837, allocations: 127.4 kB / 295.4 MB, free: 3.668 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.005223, allocations: 115.5 kB / 295.5 MB, free: 3.555 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.005422, allocations: 91.75 kB / 295.6 MB, free: 3.465 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.00553, allocations: 19.97 kB / 295.6 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.005668, allocations: 67.86 kB / 295.6 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.005796, allocations: 55.89 kB / 295.7 MB, free: 3.324 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.005815, allocations: 4 kB / 295.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.005926, allocations: 47.86 kB / 295.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.144e-05/0.005987, allocations: 19.92 kB / 295.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.3e-05/0.00602, allocations: 19.88 kB / 295.8 MB, free: 3.234 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.006218, allocations: 95.67 kB / 295.9 MB, free: 3.141 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.418e-05/0.006232, allocations: 3.938 kB / 295.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.006233, allocations: 0 / 295.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.006246, allocations: 0 / 295.9 MB, free: 3.137 MB / 282.7 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.0005186/0.006764, allocations: 344.9 kB / 296.2 MB, free: 2.777 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.006805, allocations: 8.031 kB / 296.2 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.867e-05/0.006854, allocations: 12.92 kB / 296.2 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.007049, allocations: 150.4 kB / 296.4 MB, free: 2.582 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.007059, allocations: 384 / 296.4 MB, free: 2.582 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.007086, allocations: 8.375 kB / 296.4 MB, free: 2.574 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.007213, allocations: 58.92 kB / 296.5 MB, free: 2.508 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.007226, allocations: 8.125 kB / 296.5 MB, free: 2.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.007237, allocations: 8.125 kB / 296.5 MB, free: 2.492 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.007243, allocations: 0 / 296.5 MB, free: 2.492 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.881e-05/0.007272, allocations: 8 kB / 296.5 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.00758, allocations: 179 kB / 296.7 MB, free: 2.293 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.018e-05/0.00766, allocations: 33.39 kB / 296.7 MB, free: 2.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.107e-05/0.007681, allocations: 12.8 kB / 296.7 MB, free: 2.234 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.007706, allocations: 0 / 296.7 MB, free: 2.234 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.007742, allocations: 34.5 kB / 296.7 MB, free: 2.191 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.007744, allocations: 0 / 296.7 MB, free: 2.191 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006707/0.008414, allocations: 150 kB / 296.9 MB, free: 2.039 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.008457, allocations: 55.41 kB / 296.9 MB, free: 1.973 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.008646, allocations: 201.6 kB / 297.1 MB, free: 1.762 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.008664, allocations: 25.7 kB / 297.2 MB, free: 1.73 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/0.008715, allocations: 100 kB / 297.3 MB, free: 1.629 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.008747, allocations: 23.8 kB / 297.3 MB, free: 1.605 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.008792, allocations: 25.7 kB / 297.3 MB, free: 1.574 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.008899, allocations: 322.8 kB / 297.6 MB, free: 1.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.958e-05/0.008919, allocations: 15.94 kB / 297.6 MB, free: 1.234 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.73e-05/0.008936, allocations: 4 kB / 297.6 MB, free: 1.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.792e-05/0.008994, allocations: 39.58 kB / 297.7 MB, free: 1.188 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.008996, allocations: 0 / 297.7 MB, free: 1.188 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001088/0.009105, allocations: 61.62 kB / 297.7 MB, free: 1.121 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.009121, allocations: 4 kB / 297.7 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.009129, allocations: 4 kB / 297.7 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.009146, allocations: 0 / 297.7 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.00925, allocations: 19.98 kB / 297.8 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.009254, allocations: 0 / 297.8 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.421e-05/0.009288, allocations: 15.92 kB / 297.8 MB, free: 1.078 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.009298, allocations: 3.984 kB / 297.8 MB, free: 1.074 MB / 282.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 (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 7.452e-05/0.009372, allocations: 116.6 kB / 297.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.009404, allocations: 11.94 kB / 297.9 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001858/0.00959, allocations: 75.42 kB / 298 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.009593, allocations: 4 kB / 298 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.009595, allocations: 0 / 298 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.009599, allocations: 0 / 298 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003697/0.009968, allocations: 255.5 kB / 298.2 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.009971, allocations: 4 kB / 298.2 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.806e-05/0.01005, allocations: 23.95 kB / 298.3 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.799e-05/0.01007, allocations: 11.95 kB / 298.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.01007, allocations: 0 / 298.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.01008, allocations: 8 kB / 298.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.01008, allocations: 0 / 298.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.01009, allocations: 0 / 298.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.01023, allocations: 160.3 kB / 298.4 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.01025, allocations: 4 kB / 298.4 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.586e-05/0.01032, allocations: 7.984 kB / 298.5 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.01035, allocations: 7.938 kB / 298.5 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.01036, allocations: 4 kB / 298.5 MB, free: 336 kB / 282.7 MB Notification: Performance of sorting global known variables: time 8.2e-05/0.01044, allocations: 69.41 kB / 298.5 MB, free: 264 kB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01044, allocations: 0 / 298.5 MB, free: 264 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002421/0.01068, allocations: 23.95 kB / 298.6 MB, free: 240 kB / 282.7 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.002071/0.01275, allocations: 0.6313 MB / 299.2 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.01287, allocations: 36.77 kB / 299.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/0.01288, allocations: 4 kB / 299.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.261e-05/0.01293, allocations: 28.78 kB / 299.3 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.01323, allocations: 79.86 kB / 299.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006567/0.01389, allocations: 254.5 kB / 299.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.984e-05/0.01395, allocations: 75.42 kB / 299.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.82e-05/0.014, allocations: 16.7 kB / 299.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.886e-05/0.01408, allocations: 63.38 kB / 299.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of SimCode: time 9.61e-07/0.01408, allocations: 0 / 299.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of Templates: time 0.004515/0.0186, allocations: 1.541 MB / 301.3 MB, free: 13.81 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9804579373449087]