Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.0009737/0.0009737, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001163/0.001163, allocations: 161 kB / 24.56 MB, free: 12 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 0.9561/0.9561, allocations: 177.1 MB / 205 MB, free: 5.246 MB / 186.7 MB " [Timeout remaining time 179] 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.2935/0.2935, allocations: 34.25 MB / 295.7 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.01e-05, allocations: 5.688 kB / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002046/0.002066, allocations: 1.673 MB / 379.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007375/0.002804, allocations: 0.5453 MB / 380.3 MB, free: 404 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.873e-05/0.002863, allocations: 0 / 380.3 MB, free: 404 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.003107, allocations: 39.72 kB / 380.3 MB, free: 364 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000264/0.003371, allocations: 87.53 kB / 380.4 MB, free: 276 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.003599, allocations: 95.69 kB / 380.5 MB, free: 180 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.003748, allocations: 87.7 kB / 380.6 MB, free: 92 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.73e-05/0.003845, allocations: 27.97 kB / 380.6 MB, free: 64 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.862e-05/0.003914, allocations: 39.91 kB / 380.7 MB, free: 24 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.895e-05/0.004012, allocations: 31.95 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.004028, allocations: 4 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.864e-05/0.004107, allocations: 43.86 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.837e-05/0.004155, allocations: 27.91 kB / 380.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.004184, allocations: 19.88 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.004341, allocations: 95.59 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.004342, allocations: 0 / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004343, allocations: 0 / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.004347, allocations: 0 / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003937/0.004741, allocations: 436 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.004776, allocations: 8.031 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.004817, allocations: 12.89 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.004959, allocations: 152.3 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.00497, allocations: 8.359 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.004997, allocations: 4.328 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.005118, allocations: 70.94 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.005127, allocations: 192 / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.005138, allocations: 8.125 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.005146, allocations: 3.984 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.429e-05/0.005191, allocations: 23.98 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.005508, allocations: 307.6 kB / 381.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.872e-05/0.005587, allocations: 58.98 kB / 381.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.729e-05/0.005614, allocations: 15.84 kB / 382 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.005639, allocations: 11.97 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.00566, allocations: 33.39 kB / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.005661, allocations: 0 / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006089/0.00627, allocations: 237.7 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.006297, allocations: 51.41 kB / 382.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.006421, allocations: 213.6 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.006434, allocations: 29.7 kB / 382.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.00649, allocations: 154.8 kB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.006522, allocations: 39.64 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.006558, allocations: 35.38 kB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.006679, allocations: 0.4923 MB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.789e-05/0.006707, allocations: 11.98 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.821e-05/0.006735, allocations: 19.98 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.333e-05/0.006808, allocations: 59.12 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.006809, allocations: 4 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001173/0.006927, allocations: 101.6 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.006939, allocations: 8 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.006943, allocations: 0 / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.006959, allocations: 0 / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.604e-05/0.007045, allocations: 27.92 kB / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.007051, allocations: 3.938 kB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.055e-05/0.007072, allocations: 8 kB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.00708, allocations: 7.984 kB / 383.5 MB, free: 12.99 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 (13): * Single equations (assignments): 13 * 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.871e-05/0.007149, allocations: 160.6 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.007172, allocations: 11.95 kB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.007333, allocations: 118.4 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.007335, allocations: 0 / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.007339, allocations: 4 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.007345, allocations: 11.86 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003268/0.007672, allocations: 420.9 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.007674, allocations: 0 / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.604e-05/0.00773, allocations: 27.98 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.007733, allocations: 3.969 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.007742, allocations: 12 kB / 384.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.007743, allocations: 0 / 384.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.007745, allocations: 0 / 384.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.007895, allocations: 251.5 kB / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.007907, allocations: 11.89 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.007921, allocations: 8 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.438e-05/0.007956, allocations: 3.984 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.00799, allocations: 11.98 kB / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.007995, allocations: 4 kB / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.08e-05/0.008056, allocations: 151.2 kB / 384.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008056, allocations: 4 kB / 384.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001804/0.008237, allocations: 28 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.0009045/0.009141, allocations: 441.3 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001381/0.009279, allocations: 71.41 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.009281, allocations: 0 / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.212e-05/0.009323, allocations: 39.61 kB / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.009542, allocations: 31.06 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000398/0.00994, allocations: 242.4 kB / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.149e-05/0.009981, allocations: 67.34 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.085e-05/0.01002, allocations: 24.47 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.01005, allocations: 16.5 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01006, allocations: 0 / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of Templates: time 0.003111/0.01317, allocations: 1.547 MB / 387.2 MB, free: 9.348 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.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.2331538326106966]