Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.001788/0.001788, allocations: 73.56 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.002344/0.002344, allocations: 159.9 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.497/1.497, allocations: 177.2 MB / 204.9 MB, free: 9.023 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.2243/0.2243, allocations: 32.8 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.CombiTable1Ds.Test33,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.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,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.CombiTable1Ds.Test33") [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.002164/0.002164, allocations: 67.91 kB / 440.6 MB, free: 9.414 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3365, allocations: 65.44 MB / 0.4942 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.002605/0.3391, allocations: 1.613 MB / 0.4957 GB, free: 30.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.3409, allocations: 1.23 MB / 0.4969 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.325e-05/0.3409, allocations: 0 / 0.4969 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002778/0.3412, allocations: 25.56 kB / 0.497 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.3416, allocations: 84.66 kB / 0.497 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.3418, allocations: 91.5 kB / 0.4971 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.3419, allocations: 73 kB / 0.4972 GB, free: 29.51 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.342, allocations: 10 kB / 0.4972 GB, free: 29.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.95e-05/0.3421, allocations: 20.33 kB / 0.4972 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.3422, allocations: 31.47 kB / 0.4973 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.3422, allocations: 6.188 kB / 0.4973 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.3424, allocations: 90.48 kB / 0.4974 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.548e-05/0.3424, allocations: 14.45 kB / 0.4974 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.3424, allocations: 18.44 kB / 0.4974 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.3427, allocations: 142.1 kB / 0.4975 GB, free: 29.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3427, allocations: 4 kB / 0.4975 GB, free: 29.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3427, allocations: 0 / 0.4975 GB, free: 29.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3427, allocations: 0 / 0.4975 GB, free: 29.37 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.0004431/0.3431, allocations: 333.2 kB / 0.4978 GB, free: 29.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3432, allocations: 9.688 kB / 0.4978 GB, free: 29.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.3432, allocations: 8.047 kB / 0.4979 GB, free: 29.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.3434, allocations: 130.3 kB / 0.498 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.3434, allocations: 3.438 kB / 0.498 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.3434, allocations: 384 / 0.498 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.3436, allocations: 93.03 kB / 0.4981 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3436, allocations: 7.938 kB / 0.4981 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.3436, allocations: 6.969 kB / 0.4981 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3436, allocations: 0 / 0.4981 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.234e-05/0.3437, allocations: 23.59 kB / 0.4981 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002752/0.344, allocations: 223 kB / 0.4983 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.3442, allocations: 44.27 kB / 0.4984 GB, free: 28.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.777e-05/0.3442, allocations: 19.14 kB / 0.4984 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.3442, allocations: 0 / 0.4984 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.3443, allocations: 41.12 kB / 0.4984 GB, free: 28.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.3443, allocations: 4 kB / 0.4984 GB, free: 28.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005263/0.3448, allocations: 139.5 kB / 0.4986 GB, free: 28.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.3448, allocations: 84.11 kB / 0.4986 GB, free: 28.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.3449, allocations: 142.9 kB / 0.4988 GB, free: 28.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.3449, allocations: 33.08 kB / 0.4988 GB, free: 28.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.345, allocations: 87.3 kB / 0.4989 GB, free: 28.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.345, allocations: 23.27 kB / 0.4989 GB, free: 28.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.345, allocations: 23.97 kB / 0.4989 GB, free: 28.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.616e-05/0.3451, allocations: 325.9 kB / 0.4992 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.968e-05/0.3451, allocations: 13.17 kB / 0.4993 GB, free: 27.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.694e-05/0.3452, allocations: 60.23 kB / 0.4993 GB, free: 27.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.3453, allocations: 45.08 kB / 0.4994 GB, free: 27.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3453, allocations: 0 / 0.4994 GB, free: 27.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001551/0.3455, allocations: 80.05 kB / 0.4994 GB, free: 27.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.3455, allocations: 13.05 kB / 0.4994 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3455, allocations: 3.281 kB / 0.4995 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3455, allocations: 0 / 0.4995 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.955e-05/0.3456, allocations: 17.34 kB / 0.4995 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.3456, allocations: 0 / 0.4995 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.169e-05/0.3456, allocations: 3.094 kB / 0.4995 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.3456, allocations: 3.188 kB / 0.4995 GB, free: 27.61 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.898e-05/0.3457, allocations: 117.8 kB / 0.4996 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/0.3457, allocations: 10.39 kB / 0.4996 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.3459, allocations: 91.5 kB / 0.4997 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3459, allocations: 0 / 0.4997 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3459, allocations: 3.234 kB / 0.4997 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3459, allocations: 0 / 0.4997 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.3462, allocations: 297.1 kB / 0.5 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3462, allocations: 0 / 0.5 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.132e-05/0.3463, allocations: 16.86 kB / 0.5 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3463, allocations: 0 / 0.5 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.3463, allocations: 4 kB / 0.5 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3463, allocations: 0 / 0.5 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3463, allocations: 7.156 kB / 0.5 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.3465, allocations: 178.5 kB / 0.5002 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.393e-05/0.3465, allocations: 7.016 kB / 0.5002 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.3465, allocations: 3.281 kB / 0.5002 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.3466, allocations: 11 kB / 0.5002 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.3466, allocations: 10.5 kB / 0.5002 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.3466, allocations: 0 / 0.5002 GB, free: 26.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.222e-05/0.3467, allocations: 117.3 kB / 0.5003 GB, free: 26.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3467, allocations: 0 / 0.5003 GB, free: 26.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.347, allocations: 37.38 kB / 0.5003 GB, free: 26.88 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.001789/0.3487, allocations: 0.5327 MB / 0.5009 GB, free: 26.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.3489, allocations: 43.84 kB / 0.5009 GB, free: 26.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3489, allocations: 0 / 0.5009 GB, free: 26.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.518e-05/0.349, allocations: 23.09 kB / 0.5009 GB, free: 26.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.3493, allocations: 16.83 kB / 0.5009 GB, free: 26.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003741/0.3497, allocations: 178.1 kB / 0.5011 GB, free: 26.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.745e-05/0.3498, allocations: 77.84 kB / 0.5012 GB, free: 26.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.675e-05/0.3498, allocations: 17.75 kB / 0.5012 GB, free: 26.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.3499, allocations: 18.17 kB / 0.5012 GB, free: 26.4 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3499, allocations: 0 / 0.5012 GB, free: 26.4 MB / 446.1 MB Notification: Performance of Templates: time 0.004176/0.354, allocations: 1.788 MB / 0.503 GB, free: 26.16 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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: 5.065598004963249]