Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001702/0.001702, allocations: 82.67 kB / 20.68 MB, free: 1.023 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.001973/0.001973, allocations: 162.2 kB / 23.95 MB, free: 4.156 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.383/1.383, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 179] 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.1957/0.1957, allocations: 32.81 MB / 293.5 MB, free: 40 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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.308e-06/4.308e-06, allocations: 4 kB / 440.1 MB, free: 8.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.832e-05, allocations: 6.219 kB / 440.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002911/0.002939, allocations: 1.591 MB / 441.7 MB, free: 6.543 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.004025, allocations: 0.5259 MB / 442.2 MB, free: 6.012 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.841e-05/0.004083, allocations: 0 / 442.2 MB, free: 6.012 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.004309, allocations: 39.77 kB / 442.3 MB, free: 5.973 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002939/0.004603, allocations: 71.62 kB / 442.3 MB, free: 5.902 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.004866, allocations: 91.64 kB / 442.4 MB, free: 5.812 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.005021, allocations: 71.77 kB / 442.5 MB, free: 5.742 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.571e-05/0.005117, allocations: 4 kB / 442.5 MB, free: 5.738 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.137e-05/0.005188, allocations: 35.84 kB / 442.5 MB, free: 5.703 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.731e-05/0.005246, allocations: 15.92 kB / 442.5 MB, free: 5.688 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.005265, allocations: 4 kB / 442.6 MB, free: 5.684 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.611e-05/0.005341, allocations: 35.92 kB / 442.6 MB, free: 5.648 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.656e-05/0.005397, allocations: 19.91 kB / 442.6 MB, free: 5.629 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.005426, allocations: 11.94 kB / 442.6 MB, free: 5.617 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.005605, allocations: 91.64 kB / 442.7 MB, free: 5.527 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.005608, allocations: 0 / 442.7 MB, free: 5.527 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.005609, allocations: 0 / 442.7 MB, free: 5.527 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.005613, allocations: 0 / 442.7 MB, free: 5.527 MB / 366.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.0005084/0.006121, allocations: 317.8 kB / 443 MB, free: 5.188 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.006156, allocations: 8.031 kB / 443 MB, free: 5.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.006194, allocations: 8.891 kB / 443 MB, free: 5.172 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.006381, allocations: 142.1 kB / 443.2 MB, free: 5.008 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.006392, allocations: 384 / 443.2 MB, free: 5.008 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.006414, allocations: 384 / 443.2 MB, free: 5.008 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.006558, allocations: 53.98 kB / 443.2 MB, free: 4.949 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.006571, allocations: 4 kB / 443.2 MB, free: 4.945 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.00658, allocations: 0 / 443.2 MB, free: 4.945 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.006584, allocations: 0 / 443.2 MB, free: 4.945 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.902e-05/0.006673, allocations: 23.98 kB / 443.3 MB, free: 4.922 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003279/0.007001, allocations: 220.5 kB / 443.5 MB, free: 4.676 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.007221, allocations: 54.48 kB / 443.5 MB, free: 4.613 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.003e-05/0.007271, allocations: 12.94 kB / 443.5 MB, free: 4.598 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.00729, allocations: 4 kB / 443.5 MB, free: 4.594 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.007317, allocations: 30.56 kB / 443.6 MB, free: 4.555 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.007318, allocations: 0 / 443.6 MB, free: 4.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005617/0.00788, allocations: 149.3 kB / 443.7 MB, free: 4.402 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.007922, allocations: 55.34 kB / 443.8 MB, free: 4.336 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.008117, allocations: 186.5 kB / 444 MB, free: 4.141 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.008136, allocations: 25.7 kB / 444 MB, free: 4.109 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.842e-05/0.008204, allocations: 96.14 kB / 444.1 MB, free: 4.012 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.00823, allocations: 15.89 kB / 444.1 MB, free: 3.996 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.008267, allocations: 17.72 kB / 444.1 MB, free: 3.973 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.00842, allocations: 322.8 kB / 444.4 MB, free: 3.648 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.884e-05/0.008499, allocations: 23.92 kB / 444.4 MB, free: 3.625 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.103e-05/0.00856, allocations: 19.98 kB / 444.5 MB, free: 3.605 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.008748, allocations: 48.83 kB / 444.5 MB, free: 3.555 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.008749, allocations: 0 / 444.5 MB, free: 3.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001935/0.008942, allocations: 81.62 kB / 444.6 MB, free: 3.469 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.008956, allocations: 4 kB / 444.6 MB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.00896, allocations: 256 / 444.6 MB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.008975, allocations: 0 / 444.6 MB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.918e-05/0.009044, allocations: 19.98 kB / 444.6 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.009051, allocations: 3.938 kB / 444.6 MB, free: 3.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.118e-05/0.009092, allocations: 4 kB / 444.6 MB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.009099, allocations: 4 kB / 444.6 MB, free: 3.434 MB / 366.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 0.0001039/0.009202, allocations: 129.7 kB / 444.8 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.009238, allocations: 11.91 kB / 444.8 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.009496, allocations: 98.05 kB / 444.9 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.009499, allocations: 0 / 444.9 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.009503, allocations: 0 / 444.9 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.009506, allocations: 0 / 444.9 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.009937, allocations: 302.1 kB / 445.2 MB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.009938, allocations: 0 / 445.2 MB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.605e-05/0.009994, allocations: 8 kB / 445.2 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.009999, allocations: 3.984 kB / 445.2 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.01001, allocations: 0 / 445.2 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.01001, allocations: 4 kB / 445.2 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01001, allocations: 0 / 445.2 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.01025, allocations: 179.4 kB / 445.3 MB, free: 2.637 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.65e-05/0.01027, allocations: 7.953 kB / 445.4 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.01029, allocations: 7.984 kB / 445.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.942e-05/0.01036, allocations: 7.938 kB / 445.4 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.01039, allocations: 4 kB / 445.4 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.0104, allocations: 8.172 kB / 445.4 MB, free: 2.602 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001235/0.01052, allocations: 134.2 kB / 445.5 MB, free: 2.473 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01052, allocations: 0 / 445.5 MB, free: 2.473 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.01077, allocations: 19.94 kB / 445.5 MB, free: 2.453 MB / 366.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.001559/0.01232, allocations: 426.1 kB / 445.9 MB, free: 2.215 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.01252, allocations: 47.97 kB / 446 MB, free: 2.168 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01253, allocations: 0 / 446 MB, free: 2.168 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.958e-05/0.0126, allocations: 27.92 kB / 446 MB, free: 2.141 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.01292, allocations: 21.95 kB / 446 MB, free: 2.121 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005017/0.01342, allocations: 201.1 kB / 446.2 MB, free: 1.898 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.343e-05/0.01351, allocations: 79.61 kB / 446.3 MB, free: 1.797 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.978e-05/0.01355, allocations: 11.98 kB / 446.3 MB, free: 1.785 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.01358, allocations: 12.5 kB / 446.3 MB, free: 1.773 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.01358, allocations: 0 / 446.3 MB, free: 1.773 MB / 366.1 MB Notification: Performance of Templates: time 0.004076/0.01766, allocations: 1.156 MB / 447.5 MB, free: 0.6289 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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: 4.530456554144621]