Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.001001/0.001001, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.0009501/0.0009501, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.033/1.033, allocations: 158.6 MB / 186 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1448/0.1448, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.946e-06/2.946e-06, allocations: 0 / 347.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/3.041e-05, allocations: 6.25 kB / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003078/0.003109, allocations: 1.598 MB / 349.3 MB, free: 8.168 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007016/0.00381, allocations: 319.4 kB / 349.6 MB, free: 7.852 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.251e-05/0.003893, allocations: 0 / 349.6 MB, free: 7.852 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000339/0.004232, allocations: 23.86 kB / 349.6 MB, free: 7.828 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.004477, allocations: 47.7 kB / 349.7 MB, free: 7.781 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.004768, allocations: 67.78 kB / 349.7 MB, free: 7.715 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.004945, allocations: 59.77 kB / 349.8 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.005081, allocations: 12 kB / 349.8 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.468e-05/0.005156, allocations: 27.92 kB / 349.8 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.257e-05/0.005218, allocations: 7.984 kB / 349.8 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.00524, allocations: 4 kB / 349.8 MB, free: 7.605 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.00534, allocations: 39.91 kB / 349.9 MB, free: 7.566 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.353e-05/0.005404, allocations: 8 kB / 349.9 MB, free: 7.559 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.805e-05/0.005442, allocations: 11.92 kB / 349.9 MB, free: 7.547 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.005633, allocations: 67.75 kB / 350 MB, free: 7.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.005636, allocations: 0 / 350 MB, free: 7.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.021e-06/0.005637, allocations: 0 / 350 MB, free: 7.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.005644, allocations: 0 / 350 MB, free: 7.48 MB / 282.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.0004722/0.006116, allocations: 424 kB / 350.4 MB, free: 7.031 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.006167, allocations: 12.03 kB / 350.4 MB, free: 7.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.757e-05/0.006225, allocations: 12.88 kB / 350.4 MB, free: 7.008 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.006396, allocations: 124.6 kB / 350.5 MB, free: 6.859 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.006412, allocations: 4.375 kB / 350.5 MB, free: 6.855 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.006442, allocations: 8.328 kB / 350.5 MB, free: 6.848 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.006586, allocations: 50.95 kB / 350.6 MB, free: 6.789 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.006599, allocations: 192 / 350.6 MB, free: 6.789 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.006613, allocations: 8.125 kB / 350.6 MB, free: 6.781 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.006623, allocations: 0 / 350.6 MB, free: 6.781 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.094e-05/0.006664, allocations: 19.92 kB / 350.6 MB, free: 6.762 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.007004, allocations: 267.8 kB / 350.9 MB, free: 6.465 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.007214, allocations: 39.05 kB / 350.9 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.594e-05/0.00724, allocations: 15.69 kB / 350.9 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.007263, allocations: 3.938 kB / 350.9 MB, free: 6.391 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.007284, allocations: 41.33 kB / 351 MB, free: 6.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.164e-06/0.007286, allocations: 0 / 351 MB, free: 6.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004363/0.007723, allocations: 101.7 kB / 351.1 MB, free: 6.234 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.007756, allocations: 55.41 kB / 351.1 MB, free: 6.168 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.007888, allocations: 201 kB / 351.3 MB, free: 5.957 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.007898, allocations: 33.7 kB / 351.3 MB, free: 5.918 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/0.00795, allocations: 146.8 kB / 351.5 MB, free: 5.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.00798, allocations: 15.84 kB / 351.5 MB, free: 5.754 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.008017, allocations: 23.38 kB / 351.5 MB, free: 5.723 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.15e-05/0.008089, allocations: 0.4923 MB / 352 MB, free: 5.219 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.984e-05/0.008109, allocations: 4 kB / 352 MB, free: 5.215 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.711e-05/0.008126, allocations: 7.984 kB / 352 MB, free: 5.207 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.306e-05/0.008169, allocations: 23.88 kB / 352.1 MB, free: 5.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.00817, allocations: 4 kB / 352.1 MB, free: 5.176 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.296e-05/0.008263, allocations: 65.52 kB / 352.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.008281, allocations: 15.94 kB / 352.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.008287, allocations: 0 / 352.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.008305, allocations: 0 / 352.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.475e-05/0.00836, allocations: 8 kB / 352.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.008367, allocations: 0 / 352.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.398e-05/0.008391, allocations: 4 kB / 352.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.008399, allocations: 3.984 kB / 352.2 MB, free: 5.074 MB / 282.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 6.4e-05/0.008463, allocations: 156.6 kB / 352.3 MB, free: 4.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.008492, allocations: 15.89 kB / 352.3 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.00862, allocations: 62.09 kB / 352.4 MB, free: 4.828 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.008622, allocations: 4 kB / 352.4 MB, free: 4.824 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.008628, allocations: 4 kB / 352.4 MB, free: 4.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.008634, allocations: 3.984 kB / 352.4 MB, free: 4.816 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.008897, allocations: 321.4 kB / 352.7 MB, free: 4.461 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.008899, allocations: 0 / 352.7 MB, free: 4.461 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.008939, allocations: 16 kB / 352.7 MB, free: 4.445 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.008943, allocations: 3.984 kB / 352.7 MB, free: 4.441 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/0.008952, allocations: 0 / 352.7 MB, free: 4.441 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.008954, allocations: 4.125 kB / 352.7 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.008956, allocations: 4 kB / 352.7 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.009059, allocations: 207.8 kB / 352.9 MB, free: 4.211 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-06/0.009069, allocations: 11.95 kB / 352.9 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.009084, allocations: 0 / 352.9 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.932e-05/0.009133, allocations: 4 kB / 353 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.009173, allocations: 3.984 kB / 353 MB, free: 4.191 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.009177, allocations: 4 kB / 353 MB, free: 4.188 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.642e-05/0.009234, allocations: 154.6 kB / 353.1 MB, free: 4.039 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009234, allocations: 0 / 353.1 MB, free: 4.039 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002408/0.009475, allocations: 11.98 kB / 353.1 MB, free: 4.027 MB / 282.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.0009999/0.01047, allocations: 368.2 kB / 353.5 MB, free: 3.754 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.01059, allocations: 39.55 kB / 353.5 MB, free: 3.711 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.0106, allocations: 0 / 353.5 MB, free: 3.711 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.732e-05/0.01062, allocations: 19.67 kB / 353.5 MB, free: 3.688 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.01093, allocations: 25.12 kB / 353.6 MB, free: 3.664 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.01133, allocations: 182.5 kB / 353.7 MB, free: 3.457 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.004e-05/0.01137, allocations: 63.34 kB / 353.8 MB, free: 3.375 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.702e-05/0.01141, allocations: 7.984 kB / 353.8 MB, free: 3.367 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.01144, allocations: 12.5 kB / 353.8 MB, free: 3.355 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01144, allocations: 0 / 353.8 MB, free: 3.355 MB / 282.7 MB Notification: Performance of Templates: time 0.003886/0.01533, allocations: 1.152 MB / 355 MB, free: 2.211 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1638890439644456]