Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001459/0.001459, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.00165/0.00165, allocations: 177 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9864/0.9864, allocations: 158.6 MB / 185.9 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1549/0.1549, allocations: 32.38 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 348.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.697e-05, allocations: 2.312 kB / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.004942/0.004969, allocations: 1.598 MB / 349.7 MB, free: 7.562 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000602/0.005571, allocations: 307.5 kB / 350 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.279e-05/0.005634, allocations: 0 / 350 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002344/0.005868, allocations: 23.84 kB / 350.1 MB, free: 7.234 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.006066, allocations: 43.72 kB / 350.1 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.006296, allocations: 67.78 kB / 350.2 MB, free: 7.125 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.006422, allocations: 67.77 kB / 350.2 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.795e-05/0.00652, allocations: 8 kB / 350.2 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.624e-05/0.006576, allocations: 23.91 kB / 350.3 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.118e-05/0.006627, allocations: 19.92 kB / 350.3 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.006643, allocations: 0 / 350.3 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.503e-05/0.006718, allocations: 27.98 kB / 350.3 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.032e-05/0.006758, allocations: 11.94 kB / 350.3 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.651e-05/0.006785, allocations: 11.98 kB / 350.3 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.006922, allocations: 59.75 kB / 350.4 MB, free: 6.898 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.006925, allocations: 0 / 350.4 MB, free: 6.898 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.006926, allocations: 4 kB / 350.4 MB, free: 6.895 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.00693, allocations: 4 kB / 350.4 MB, free: 6.891 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.004423/0.01135, allocations: 408.1 kB / 350.8 MB, free: 6.457 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.0114, allocations: 12.03 kB / 350.8 MB, free: 6.445 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.01145, allocations: 8.891 kB / 350.8 MB, free: 6.438 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.01156, allocations: 132.5 kB / 350.9 MB, free: 6.281 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.01157, allocations: 384 / 350.9 MB, free: 6.281 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.01159, allocations: 8.375 kB / 351 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.01169, allocations: 50.95 kB / 351 MB, free: 6.215 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.01171, allocations: 192 / 351 MB, free: 6.215 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.01171, allocations: 4.125 kB / 351 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.01172, allocations: 4 kB / 351 MB, free: 6.207 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.407e-05/0.01174, allocations: 15.92 kB / 351 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002308/0.01197, allocations: 248.4 kB / 351.3 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.01211, allocations: 43.03 kB / 351.3 MB, free: 5.867 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.465e-05/0.01213, allocations: 11.69 kB / 351.3 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.01215, allocations: 0 / 351.3 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.01217, allocations: 45.27 kB / 351.4 MB, free: 5.797 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.01217, allocations: 0 / 351.4 MB, free: 5.797 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002878/0.01246, allocations: 81.66 kB / 351.4 MB, free: 5.711 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.711e-05/0.01248, allocations: 55.41 kB / 351.5 MB, free: 5.645 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.783e-05/0.01255, allocations: 189.9 kB / 351.7 MB, free: 5.441 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.601e-06/0.01256, allocations: 25.7 kB / 351.7 MB, free: 5.41 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.067e-05/0.01259, allocations: 142.8 kB / 351.8 MB, free: 5.266 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.01261, allocations: 19.8 kB / 351.9 MB, free: 5.246 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.01264, allocations: 23.36 kB / 351.9 MB, free: 5.215 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.807e-05/0.01269, allocations: 0.4884 MB / 352.4 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.201e-05/0.0127, allocations: 4 kB / 352.4 MB, free: 4.711 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.287e-05/0.01271, allocations: 7.984 kB / 352.4 MB, free: 4.703 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.127e-05/0.01274, allocations: 23.67 kB / 352.4 MB, free: 4.676 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01275, allocations: 3.938 kB / 352.4 MB, free: 4.672 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.94e-05/0.01283, allocations: 65.52 kB / 352.5 MB, free: 4.602 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.01284, allocations: 8 kB / 352.5 MB, free: 4.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.01284, allocations: 0 / 352.5 MB, free: 4.594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.01286, allocations: 0 / 352.5 MB, free: 4.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.996e-05/0.01291, allocations: 8 kB / 352.5 MB, free: 4.586 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.01291, allocations: 0 / 352.5 MB, free: 4.586 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.367e-05/0.01293, allocations: 11.98 kB / 352.5 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.01294, allocations: 0 / 352.5 MB, free: 4.574 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 (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 5.022e-05/0.01299, allocations: 152.6 kB / 352.7 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.01301, allocations: 15.89 kB / 352.7 MB, free: 4.398 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.01312, allocations: 66.41 kB / 352.7 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.01313, allocations: 4 kB / 352.7 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.01313, allocations: 0 / 352.7 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.01313, allocations: 3.984 kB / 352.7 MB, free: 4.32 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.01334, allocations: 286 kB / 353 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01334, allocations: 4 kB / 353 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.622e-05/0.01337, allocations: 11.98 kB / 353 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.01338, allocations: 0 / 353 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.01338, allocations: 0 / 353 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01338, allocations: 3.938 kB / 353 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.01338, allocations: 4 kB / 353 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.558e-05/0.01347, allocations: 211.8 kB / 353.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-06/0.01348, allocations: 7.953 kB / 353.3 MB, free: 3.75 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.01349, allocations: 0 / 353.3 MB, free: 3.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.965e-05/0.01354, allocations: 4 kB / 353.3 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/0.01357, allocations: 3.984 kB / 353.3 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.01357, allocations: 0 / 353.3 MB, free: 3.742 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.777e-05/0.01361, allocations: 142.8 kB / 353.4 MB, free: 3.605 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01361, allocations: 0 / 353.4 MB, free: 3.605 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000239/0.01385, allocations: 19.92 kB / 353.4 MB, free: 3.586 MB / 282.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.003956/0.0178, allocations: 388.3 kB / 353.8 MB, free: 3.297 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.925e-05/0.0179, allocations: 27.61 kB / 353.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.0179, allocations: 0 / 353.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.255e-05/0.01793, allocations: 23.8 kB / 353.9 MB, free: 3.238 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.01821, allocations: 21.31 kB / 353.9 MB, free: 3.219 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/0.01849, allocations: 165.9 kB / 354 MB, free: 3.027 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.795e-05/0.01852, allocations: 59.34 kB / 354.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.04e-05/0.01855, allocations: 11.98 kB / 354.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.935e-05/0.0186, allocations: 74.2 kB / 354.2 MB, free: 2.863 MB / 282.7 MB Notification: Performance of SimCode: time 8.12e-07/0.0186, allocations: 0 / 354.2 MB, free: 2.863 MB / 282.7 MB Notification: Performance of Templates: time 0.006522/0.02513, allocations: 1.237 MB / 355.4 MB, free: 1.637 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.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.2804234051145613]