Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001421/0.001421, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.0016/0.0016, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 18.57 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.566/1.566, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.3958/0.3958, allocations: 32.8 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] 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.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.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.659e-05/3.827e-05, allocations: 9.484 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003387/0.003425, allocations: 1.599 MB / 376.9 MB, free: 3.355 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.005615, allocations: 1.251 MB / 378.1 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.884e-05/0.005673, allocations: 0 / 378.1 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.005935, allocations: 19.84 kB / 378.1 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003581/0.006293, allocations: 91.55 kB / 378.2 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.006569, allocations: 95.58 kB / 378.3 MB, free: 1.895 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.006737, allocations: 71.77 kB / 378.4 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.652e-05/0.006834, allocations: 11.98 kB / 378.4 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.258e-05/0.006916, allocations: 31.86 kB / 378.4 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.007051, allocations: 27.89 kB / 378.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.007071, allocations: 4 kB / 378.5 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.007253, allocations: 91.88 kB / 378.6 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.803e-05/0.007311, allocations: 11.94 kB / 378.6 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.659e-05/0.007358, allocations: 19.91 kB / 378.6 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.007656, allocations: 147.5 kB / 378.7 MB, free: 1.484 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.00766, allocations: 0 / 378.7 MB, free: 1.484 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.007662, allocations: 0 / 378.7 MB, free: 1.484 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.007667, allocations: 0 / 378.7 MB, free: 1.484 MB / 346.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.000596/0.008263, allocations: 321.7 kB / 379 MB, free: 1.141 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.008301, allocations: 8.031 kB / 379.1 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/0.008356, allocations: 12.89 kB / 379.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.008591, allocations: 137.6 kB / 379.2 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.008606, allocations: 4.375 kB / 379.2 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.00863, allocations: 384 / 379.2 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005165/0.009147, allocations: 93.61 kB / 379.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.009161, allocations: 4.188 kB / 379.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.009174, allocations: 4.125 kB / 379.3 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.009182, allocations: 3.984 kB / 379.3 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.009288, allocations: 23.97 kB / 379.3 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003806/0.009668, allocations: 220.6 kB / 379.6 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.009907, allocations: 42.5 kB / 379.6 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.427e-05/0.009961, allocations: 12.94 kB / 379.6 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.009992, allocations: 11.94 kB / 379.6 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.01003, allocations: 34.56 kB / 379.7 MB, free: 456 kB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.01003, allocations: 0 / 379.7 MB, free: 456 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006071/0.01064, allocations: 141.4 kB / 379.8 MB, free: 308 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.349e-05/0.01071, allocations: 81.11 kB / 379.9 MB, free: 208 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.01092, allocations: 155.5 kB / 380 MB, free: 44 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.01094, allocations: 25.7 kB / 380 MB, free: 12 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.743e-05/0.01104, allocations: 92.14 kB / 380.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.01106, allocations: 15.91 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.01111, allocations: 17.7 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.0113, allocations: 318.8 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.591e-05/0.01137, allocations: 19.98 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.01148, allocations: 63.33 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.01162, allocations: 44.84 kB / 380.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.01163, allocations: 7.922 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002191/0.01185, allocations: 85.91 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.01186, allocations: 4 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.01187, allocations: 0 / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.01189, allocations: 3.938 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.272e-05/0.01196, allocations: 15.98 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.01196, allocations: 0 / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.143e-05/0.01202, allocations: 7.938 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.01202, allocations: 4 kB / 380.7 MB, free: 15.29 MB / 362.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 0.0001146/0.01214, allocations: 121.7 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/0.01218, allocations: 19.94 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.01245, allocations: 86.08 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.01245, allocations: 4 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.01246, allocations: 0 / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01246, allocations: 0 / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004855/0.01295, allocations: 294.1 kB / 381.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01295, allocations: 0 / 381.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.811e-05/0.01301, allocations: 11.98 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.01301, allocations: 4 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.01302, allocations: 0 / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.01302, allocations: 4 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01302, allocations: 0 / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.0133, allocations: 183.3 kB / 381.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.01332, allocations: 7.953 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.01334, allocations: 0 / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.321e-05/0.01342, allocations: 8.172 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.01346, allocations: 4 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.01347, allocations: 12 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001247/0.0136, allocations: 117.1 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0136, allocations: 0 / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003112/0.01391, allocations: 39.86 kB / 381.6 MB, free: 14.32 MB / 362.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.0023/0.01621, allocations: 0.5143 MB / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002184/0.01643, allocations: 51.89 kB / 382.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01643, allocations: 0 / 382.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.974e-05/0.01651, allocations: 27.92 kB / 382.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.0169, allocations: 22.64 kB / 382.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004883/0.01738, allocations: 172.4 kB / 382.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.377e-05/0.01748, allocations: 75.33 kB / 382.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.354e-05/0.01754, allocations: 11.97 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.375e-05/0.01761, allocations: 24.47 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01761, allocations: 4 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of Templates: time 0.005491/0.0231, allocations: 1.825 MB / 384.3 MB, free: 11.78 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.909850372001529]