Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.001329/0.001329, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.00151/0.00151, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.476/1.476, allocations: 177.2 MB / 204.9 MB, free: 9.059 MB / 190.1 MB " [Timeout remaining time 178] 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.2188/0.2188, allocations: 34.26 MB / 295.5 MB, free: 14.61 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003125/0.003125, allocations: 67.89 kB / 443.2 MB, free: 6.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3854, allocations: 66 MB / 0.4973 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002786/0.3882, allocations: 1.904 MB / 0.4991 GB, free: 28.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.3898, allocations: 1.02 MB / 0.5001 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.3899, allocations: 3.062 kB / 0.5001 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.3902, allocations: 43.73 kB / 0.5002 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003403/0.3906, allocations: 104.3 kB / 0.5003 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.3908, allocations: 99.83 kB / 0.5004 GB, free: 27.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.391, allocations: 143.5 kB / 0.5005 GB, free: 27.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.3911, allocations: 14.78 kB / 0.5005 GB, free: 27.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.85e-05/0.3912, allocations: 62.41 kB / 0.5006 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.3913, allocations: 50.27 kB / 0.5006 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.3913, allocations: 6.375 kB / 0.5006 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.3914, allocations: 55.31 kB / 0.5007 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.339e-05/0.3915, allocations: 29.38 kB / 0.5007 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.852e-05/0.3916, allocations: 36.89 kB / 0.5008 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.3919, allocations: 160.4 kB / 0.5009 GB, free: 27.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3919, allocations: 0 / 0.5009 GB, free: 27.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3919, allocations: 0 / 0.5009 GB, free: 27.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.3919, allocations: 0 / 0.5009 GB, free: 27.52 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006622/0.3926, allocations: 416.3 kB / 0.5013 GB, free: 27.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.3926, allocations: 9.719 kB / 0.5013 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.3926, allocations: 18.03 kB / 0.5013 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.3929, allocations: 164.4 kB / 0.5015 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.393, allocations: 11.12 kB / 0.5015 GB, free: 26.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.592e-05/0.393, allocations: 18.08 kB / 0.5015 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.3933, allocations: 134.9 kB / 0.5016 GB, free: 26.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.3933, allocations: 0 / 0.5016 GB, free: 26.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.3933, allocations: 0 / 0.5016 GB, free: 26.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.3933, allocations: 7.156 kB / 0.5016 GB, free: 26.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.3935, allocations: 55.02 kB / 0.5017 GB, free: 26.83 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000543/0.394, allocations: 445.8 kB / 0.5021 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003489/0.3944, allocations: 86.06 kB / 0.5022 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.28e-05/0.3945, allocations: 39.22 kB / 0.5022 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.3945, allocations: 0 / 0.5022 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002301/0.3947, allocations: 119.4 kB / 0.5024 GB, free: 26.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.3947, allocations: 0 / 0.5024 GB, free: 26.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004312/0.3952, allocations: 148.5 kB / 0.5025 GB, free: 26.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.3952, allocations: 51.41 kB / 0.5026 GB, free: 26.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.3953, allocations: 212.2 kB / 0.5028 GB, free: 26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.3954, allocations: 25.7 kB / 0.5028 GB, free: 25.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.3954, allocations: 121.3 kB / 0.5029 GB, free: 25.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.3954, allocations: 33.72 kB / 0.5029 GB, free: 25.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.3955, allocations: 31.19 kB / 0.503 GB, free: 25.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.186e-05/0.3955, allocations: 329 kB / 0.5033 GB, free: 25.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.283e-05/0.3956, allocations: 27.33 kB / 0.5033 GB, free: 25.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.458e-05/0.3957, allocations: 60.91 kB / 0.5034 GB, free: 25.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.3959, allocations: 107 kB / 0.5035 GB, free: 25.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3959, allocations: 0 / 0.5035 GB, free: 25.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002254/0.3961, allocations: 140.2 kB / 0.5036 GB, free: 25.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.3961, allocations: 10.38 kB / 0.5036 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.3961, allocations: 0 / 0.5036 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3961, allocations: 3.188 kB / 0.5036 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.389e-05/0.3962, allocations: 22.95 kB / 0.5036 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.3962, allocations: 7.266 kB / 0.5036 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.453e-05/0.3963, allocations: 10.08 kB / 0.5036 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.3963, allocations: 11.09 kB / 0.5037 GB, free: 25.27 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 7.737e-05/0.3964, allocations: 130.9 kB / 0.5038 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.3964, allocations: 14.44 kB / 0.5038 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.3967, allocations: 138.5 kB / 0.5039 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3967, allocations: 2.906 kB / 0.5039 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3967, allocations: 3.938 kB / 0.5039 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3967, allocations: 0 / 0.5039 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.3968, allocations: 144.7 kB / 0.5041 GB, free: 24.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3968, allocations: 0 / 0.5041 GB, free: 24.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.492e-05/0.3968, allocations: 22.34 kB / 0.5041 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3968, allocations: 0 / 0.5041 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3969, allocations: 6.719 kB / 0.5041 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3969, allocations: 0 / 0.5041 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3969, allocations: 7.453 kB / 0.5041 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.3972, allocations: 194.3 kB / 0.5043 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.095e-05/0.3972, allocations: 11.19 kB / 0.5043 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.3972, allocations: 7 kB / 0.5043 GB, free: 24.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.054e-05/0.3973, allocations: 10.48 kB / 0.5043 GB, free: 24.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.3973, allocations: 14.62 kB / 0.5043 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.3973, allocations: 7.062 kB / 0.5043 GB, free: 24.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.3975, allocations: 151.6 kB / 0.5045 GB, free: 24.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3975, allocations: 0 / 0.5045 GB, free: 24.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.3977, allocations: 26.94 kB / 0.5045 GB, free: 24.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001583/0.3993, allocations: 444.6 kB / 0.5049 GB, free: 24.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002454/0.3995, allocations: 85.84 kB / 0.505 GB, free: 24.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3995, allocations: 0 / 0.505 GB, free: 24.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.251e-05/0.3996, allocations: 37.56 kB / 0.505 GB, free: 24.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.3999, allocations: 38.8 kB / 0.5051 GB, free: 24.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004726/0.4004, allocations: 276.1 kB / 0.5053 GB, free: 24.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.416e-05/0.4004, allocations: 119.6 kB / 0.5055 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.76e-05/0.4005, allocations: 14.31 kB / 0.5055 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.4005, allocations: 17.84 kB / 0.5055 GB, free: 24.11 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4005, allocations: 0 / 0.5055 GB, free: 24.11 MB / 446.1 MB Notification: Performance of Templates: time 0.004683/0.4052, allocations: 2.025 MB / 0.5075 GB, free: 23.86 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.059568669064902]