Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001473/0.001473, allocations: 70.42 kB / 21.24 MB, free: 0.5391 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.001476/0.001476, allocations: 162.6 kB / 24.5 MB, free: 3.711 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.465/1.465, allocations: 177.2 MB / 204.9 MB, free: 8.977 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.2371/0.2371, allocations: 32.8 MB / 294.1 MB, free: 15.98 MB / 286.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.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") [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.002336/0.002336, allocations: 71.89 kB / 440.6 MB, free: 9.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3871, allocations: 65.43 MB / 0.4942 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003194/0.3903, allocations: 1.799 MB / 0.496 GB, free: 30.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002385/0.3927, allocations: 1.735 MB / 0.4976 GB, free: 29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.894e-05/0.3928, allocations: 3.938 kB / 0.4977 GB, free: 29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.3931, allocations: 53.28 kB / 0.4977 GB, free: 28.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003763/0.3935, allocations: 140.6 kB / 0.4978 GB, free: 28.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.3937, allocations: 110.6 kB / 0.4979 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.3939, allocations: 207.4 kB / 0.4981 GB, free: 28.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.927e-05/0.394, allocations: 5.062 kB / 0.4981 GB, free: 28.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.3941, allocations: 83.69 kB / 0.4982 GB, free: 28.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.3943, allocations: 83.86 kB / 0.4983 GB, free: 28.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.3943, allocations: 9.562 kB / 0.4983 GB, free: 28.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.3945, allocations: 103.3 kB / 0.4984 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.079e-05/0.3945, allocations: 40.23 kB / 0.4985 GB, free: 28.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.197e-05/0.3946, allocations: 54.69 kB / 0.4985 GB, free: 28.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.3949, allocations: 227 kB / 0.4987 GB, free: 28.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3949, allocations: 3.156 kB / 0.4987 GB, free: 28.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3949, allocations: 0 / 0.4987 GB, free: 28.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.3949, allocations: 3.938 kB / 0.4987 GB, free: 28.47 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006941/0.3956, allocations: 429.6 kB / 0.4991 GB, free: 28.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3957, allocations: 9.531 kB / 0.4991 GB, free: 28.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.788e-05/0.3957, allocations: 15.34 kB / 0.4992 GB, free: 28.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.3961, allocations: 191.6 kB / 0.4993 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.3961, allocations: 4.312 kB / 0.4993 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.3961, allocations: 11.22 kB / 0.4994 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.3963, allocations: 159.1 kB / 0.4995 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3963, allocations: 0 / 0.4995 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.3964, allocations: 7.219 kB / 0.4995 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3964, allocations: 0 / 0.4995 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.3965, allocations: 33.91 kB / 0.4995 GB, free: 27.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.3967, allocations: 158.3 kB / 0.4997 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.3969, allocations: 109.3 kB / 0.4998 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.309e-05/0.397, allocations: 40.28 kB / 0.4998 GB, free: 27.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.397, allocations: 0 / 0.4998 GB, free: 27.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001914/0.3972, allocations: 114.2 kB / 0.5 GB, free: 27.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.3972, allocations: 3.219 kB / 0.5 GB, free: 27.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004164/0.3976, allocations: 178.2 kB / 0.5001 GB, free: 27.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.3976, allocations: 131.7 kB / 0.5002 GB, free: 27.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.3979, allocations: 248.8 kB / 0.5005 GB, free: 27.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.3979, allocations: 29.7 kB / 0.5005 GB, free: 27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.704e-05/0.3979, allocations: 117.9 kB / 0.5006 GB, free: 26.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.398, allocations: 29.47 kB / 0.5007 GB, free: 26.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/0.398, allocations: 30.44 kB / 0.5007 GB, free: 26.85 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.111e-05/0.3981, allocations: 331.7 kB / 0.501 GB, free: 26.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.105e-05/0.3981, allocations: 35.38 kB / 0.501 GB, free: 26.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.3982, allocations: 128.7 kB / 0.5012 GB, free: 26.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.3984, allocations: 94.45 kB / 0.5012 GB, free: 26.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3984, allocations: 3 kB / 0.5012 GB, free: 26.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002401/0.3986, allocations: 142.5 kB / 0.5014 GB, free: 26.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3987, allocations: 6.375 kB / 0.5014 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3987, allocations: 0 / 0.5014 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3987, allocations: 0 / 0.5014 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.3988, allocations: 26.56 kB / 0.5014 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3988, allocations: 3.438 kB / 0.5014 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.153e-05/0.3989, allocations: 14.92 kB / 0.5014 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.3989, allocations: 11.28 kB / 0.5014 GB, free: 26.23 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.082e-05/0.399, allocations: 135.1 kB / 0.5016 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.399, allocations: 20.84 kB / 0.5016 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003264/0.3993, allocations: 163.7 kB / 0.5018 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.3993, allocations: 7.156 kB / 0.5018 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3993, allocations: 3.422 kB / 0.5018 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3993, allocations: 0 / 0.5018 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.3995, allocations: 163.5 kB / 0.5019 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3995, allocations: 0 / 0.5019 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.625e-05/0.3995, allocations: 16.88 kB / 0.5019 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3995, allocations: 7.875 kB / 0.5019 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.3995, allocations: 7.25 kB / 0.5019 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3995, allocations: 0 / 0.5019 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3995, allocations: 0 / 0.5019 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.3998, allocations: 181.9 kB / 0.5021 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.3999, allocations: 26.28 kB / 0.5021 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.3999, allocations: 3 kB / 0.5021 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.178e-05/0.4, allocations: 10.75 kB / 0.5022 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/0.4, allocations: 9.969 kB / 0.5022 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.4, allocations: 7.344 kB / 0.5022 GB, free: 25.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001684/0.4002, allocations: 184.4 kB / 0.5024 GB, free: 25.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4002, allocations: 0 / 0.5024 GB, free: 25.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003028/0.4005, allocations: 56.89 kB / 0.5024 GB, free: 25.59 MB / 446.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001907/0.4024, allocations: 0.5406 MB / 0.5029 GB, free: 25.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003094/0.4027, allocations: 89.59 kB / 0.503 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4027, allocations: 0 / 0.503 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.4028, allocations: 40.95 kB / 0.5031 GB, free: 25.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.4032, allocations: 61.73 kB / 0.5031 GB, free: 25.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006012/0.4038, allocations: 293.5 kB / 0.5034 GB, free: 25.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.613e-05/0.4039, allocations: 108.8 kB / 0.5035 GB, free: 25.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.996e-05/0.404, allocations: 34.89 kB / 0.5035 GB, free: 25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.282e-05/0.4041, allocations: 31.31 kB / 0.5036 GB, free: 24.99 MB / 446.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4041, allocations: 0 / 0.5036 GB, free: 24.99 MB / 446.1 MB Notification: Performance of Templates: time 0.007276/0.4113, allocations: 3.418 MB / 0.5069 GB, free: 24.52 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.05233440909069]