Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.001346/0.001346, allocations: 73.64 kB / 21.24 MB, free: 0.5547 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.001497/0.001497, allocations: 158.6 kB / 24.5 MB, free: 3.715 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.429/1.429, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.1 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.2036/0.2036, allocations: 32.81 MB / 294.1 MB, free: 28 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.CombiTable1Dv.Test21,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.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,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.CombiTable1Dv.Test21") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 67.91 kB / 440.6 MB, free: 9.418 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.348, allocations: 65.44 MB / 0.4942 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002779/0.3508, allocations: 1.602 MB / 0.4957 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.3525, allocations: 1.242 MB / 0.4969 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.29e-05/0.3526, allocations: 3.094 kB / 0.4969 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002337/0.3528, allocations: 26.31 kB / 0.497 GB, free: 29.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.3531, allocations: 86.34 kB / 0.497 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.3534, allocations: 114.6 kB / 0.4972 GB, free: 29.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.3535, allocations: 67.3 kB / 0.4972 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3536, allocations: 14.53 kB / 0.4972 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.891e-05/0.3537, allocations: 23.83 kB / 0.4973 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.3538, allocations: 32.47 kB / 0.4973 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.3538, allocations: 3.25 kB / 0.4973 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.3539, allocations: 88.64 kB / 0.4974 GB, free: 29.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.928e-05/0.354, allocations: 18.67 kB / 0.4974 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.354, allocations: 26.16 kB / 0.4974 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.3543, allocations: 136.5 kB / 0.4975 GB, free: 29.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3543, allocations: 0 / 0.4975 GB, free: 29.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3543, allocations: 3.938 kB / 0.4976 GB, free: 29.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.3543, allocations: 0 / 0.4976 GB, free: 29.16 MB / 446.1 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.0004447/0.3547, allocations: 328.5 kB / 0.4979 GB, free: 28.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.3548, allocations: 9.906 kB / 0.4979 GB, free: 28.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.817e-05/0.3548, allocations: 8.234 kB / 0.4979 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.355, allocations: 134.1 kB / 0.498 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.355, allocations: 3.781 kB / 0.498 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.355, allocations: 4.375 kB / 0.498 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.3552, allocations: 100.1 kB / 0.4981 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3552, allocations: 3.938 kB / 0.4981 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3552, allocations: 0 / 0.4981 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3552, allocations: 0 / 0.4981 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.999e-05/0.3553, allocations: 26.48 kB / 0.4981 GB, free: 28.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.3556, allocations: 228 kB / 0.4984 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.3558, allocations: 53.17 kB / 0.4984 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.801e-05/0.3558, allocations: 21.27 kB / 0.4984 GB, free: 28.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.3559, allocations: 3.938 kB / 0.4984 GB, free: 28.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.3559, allocations: 41.41 kB / 0.4985 GB, free: 28.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3559, allocations: 0 / 0.4985 GB, free: 28.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005525/0.3564, allocations: 144.1 kB / 0.4986 GB, free: 28.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.3565, allocations: 80.48 kB / 0.4987 GB, free: 28.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.3566, allocations: 149.5 kB / 0.4988 GB, free: 28.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.3566, allocations: 29.05 kB / 0.4989 GB, free: 27.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.073e-05/0.3566, allocations: 95.39 kB / 0.4989 GB, free: 27.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.3566, allocations: 19.12 kB / 0.499 GB, free: 27.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.3567, allocations: 20.38 kB / 0.499 GB, free: 27.85 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.961e-05/0.3567, allocations: 325.5 kB / 0.4993 GB, free: 27.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.712e-05/0.3568, allocations: 16.98 kB / 0.4993 GB, free: 27.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.73e-05/0.3569, allocations: 61.77 kB / 0.4994 GB, free: 27.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.357, allocations: 54.89 kB / 0.4994 GB, free: 27.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.357, allocations: 32 / 0.4994 GB, free: 27.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001722/0.3572, allocations: 93.72 kB / 0.4995 GB, free: 27.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.3572, allocations: 2.875 kB / 0.4995 GB, free: 27.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3572, allocations: 2.969 kB / 0.4995 GB, free: 27.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.3572, allocations: 0 / 0.4995 GB, free: 27.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.532e-05/0.3573, allocations: 12.11 kB / 0.4995 GB, free: 27.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.3573, allocations: 0 / 0.4995 GB, free: 27.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/0.3573, allocations: 2.906 kB / 0.4995 GB, free: 27.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.3573, allocations: 3 kB / 0.4995 GB, free: 27.4 MB / 446.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 (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.919e-05/0.3574, allocations: 129 kB / 0.4997 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.3574, allocations: 10.39 kB / 0.4997 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.3577, allocations: 91.3 kB / 0.4998 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3577, allocations: 3.156 kB / 0.4998 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3577, allocations: 0 / 0.4998 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3577, allocations: 0 / 0.4998 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003364/0.358, allocations: 309.5 kB / 0.5001 GB, free: 26.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.358, allocations: 0 / 0.5001 GB, free: 26.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.947e-05/0.3581, allocations: 19.55 kB / 0.5001 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3581, allocations: 0 / 0.5001 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.3581, allocations: 0 / 0.5001 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3581, allocations: 0 / 0.5001 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3581, allocations: 7.875 kB / 0.5001 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.3583, allocations: 190.4 kB / 0.5003 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.3583, allocations: 6.891 kB / 0.5003 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.3584, allocations: 0 / 0.5003 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.098e-05/0.3585, allocations: 10.23 kB / 0.5003 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.3585, allocations: 11.16 kB / 0.5003 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-06/0.3585, allocations: 0 / 0.5003 GB, free: 26.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.996e-05/0.3586, allocations: 113.2 kB / 0.5004 GB, free: 26.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3586, allocations: 0 / 0.5004 GB, free: 26.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003097/0.3589, allocations: 41.98 kB / 0.5004 GB, free: 26.66 MB / 446.1 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.001911/0.3608, allocations: 0.5233 MB / 0.5009 GB, free: 26.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002261/0.361, allocations: 46.69 kB / 0.501 GB, free: 26.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.361, allocations: 3.062 kB / 0.501 GB, free: 26.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.724e-05/0.3611, allocations: 34.89 kB / 0.501 GB, free: 26.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.3615, allocations: 16.52 kB / 0.501 GB, free: 26.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004351/0.3619, allocations: 178.3 kB / 0.5012 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.752e-05/0.362, allocations: 78.38 kB / 0.5013 GB, free: 26.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.949e-05/0.362, allocations: 25.12 kB / 0.5013 GB, free: 26.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.3621, allocations: 18.28 kB / 0.5013 GB, free: 26.17 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3621, allocations: 0 / 0.5013 GB, free: 26.17 MB / 446.1 MB Notification: Performance of Templates: time 0.004644/0.3667, allocations: 1.811 MB / 0.5031 GB, free: 25.92 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.869792592013255]