Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001354/0.001354, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001648/0.001648, allocations: 161 kB / 24.56 MB, free: 16 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.9514/0.9514, allocations: 177.1 MB / 205 MB, free: 5.598 MB / 186.7 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.284/0.284, allocations: 32.8 MB / 294.3 MB, free: 1.281 MB / 266.7 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.155e-05, allocations: 2.312 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002139/0.002161, allocations: 1.688 MB / 377.7 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007177/0.002878, allocations: 0.5454 MB / 378.3 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.54e-05/0.002934, allocations: 3.938 kB / 378.3 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.00322, allocations: 99.61 kB / 378.4 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.003478, allocations: 119.5 kB / 378.5 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.003658, allocations: 95.69 kB / 378.6 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.003802, allocations: 99.73 kB / 378.7 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.003902, allocations: 23.92 kB / 378.7 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.635e-05/0.003968, allocations: 55.81 kB / 378.8 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.951e-05/0.004058, allocations: 59.86 kB / 378.8 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.004073, allocations: 4 kB / 378.8 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.485e-05/0.004148, allocations: 47.92 kB / 378.9 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.763e-05/0.004196, allocations: 23.91 kB / 378.9 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.966e-05/0.004225, allocations: 15.94 kB / 378.9 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.00438, allocations: 115.5 kB / 379 MB, free: 1.652 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004382, allocations: 0 / 379 MB, free: 1.652 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.004382, allocations: 0 / 379 MB, free: 1.652 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.004387, allocations: 0 / 379 MB, free: 1.652 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003912/0.004778, allocations: 467.8 kB / 379.5 MB, free: 1.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.004813, allocations: 8.031 kB / 379.5 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.004858, allocations: 16.84 kB / 379.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.004998, allocations: 160.3 kB / 379.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.005008, allocations: 8.375 kB / 379.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.005035, allocations: 4.375 kB / 379.7 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.005158, allocations: 70.92 kB / 379.7 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.005169, allocations: 8.188 kB / 379.8 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.005182, allocations: 4.125 kB / 379.8 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.005189, allocations: 0 / 379.8 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.376e-05/0.005233, allocations: 19.98 kB / 379.8 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.005551, allocations: 319.6 kB / 380.1 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.328e-05/0.005625, allocations: 63.09 kB / 380.1 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.661e-05/0.005651, allocations: 19.61 kB / 380.2 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.005677, allocations: 4 kB / 380.2 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.005698, allocations: 33.39 kB / 380.2 MB, free: 348 kB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.005699, allocations: 0 / 380.2 MB, free: 348 kB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005869/0.006286, allocations: 253.7 kB / 380.5 MB, free: 88 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.006317, allocations: 55.41 kB / 380.5 MB, free: 20 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.006486, allocations: 250.8 kB / 380.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.006497, allocations: 29.7 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.907e-05/0.006556, allocations: 154.9 kB / 380.9 MB, free: 15.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.006587, allocations: 47.58 kB / 381 MB, free: 15.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.479e-05/0.006621, allocations: 35.38 kB / 381 MB, free: 15.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.006734, allocations: 0.5078 MB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.666e-05/0.006761, allocations: 12 kB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.784e-05/0.006789, allocations: 23.92 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.18e-05/0.006851, allocations: 51.67 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.006852, allocations: 0 / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001097/0.006961, allocations: 105.1 kB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.006974, allocations: 4 kB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.006978, allocations: 4 kB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.006993, allocations: 3.984 kB / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.13e-05/0.007074, allocations: 27.92 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.00708, allocations: 4 kB / 381.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.948e-05/0.007099, allocations: 8 kB / 381.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.007109, allocations: 7.938 kB / 381.8 MB, free: 14.7 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.54e-05/0.007174, allocations: 160.6 kB / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.007199, allocations: 19.86 kB / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.007367, allocations: 123 kB / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.00737, allocations: 0 / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.007373, allocations: 3.938 kB / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.007377, allocations: 0 / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.007704, allocations: 440.8 kB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.007705, allocations: 0 / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.807e-05/0.007753, allocations: 27.98 kB / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.007755, allocations: 0 / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.007764, allocations: 7.938 kB / 382.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.007765, allocations: 0 / 382.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.007766, allocations: 0 / 382.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.007909, allocations: 263.5 kB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/0.00792, allocations: 11.91 kB / 382.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.007932, allocations: 3.938 kB / 382.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.637e-05/0.007968, allocations: 11.98 kB / 382.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.007999, allocations: 12.02 kB / 382.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.008004, allocations: 4 kB / 382.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.582e-05/0.00809, allocations: 185.1 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00809, allocations: 3.938 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000164/0.008254, allocations: 27.92 kB / 383 MB, free: 13.34 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.0009135/0.009167, allocations: 437.5 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.009291, allocations: 63.66 kB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.009292, allocations: 0 / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.049e-05/0.009333, allocations: 47.61 kB / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.009544, allocations: 32.08 kB / 383.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.009906, allocations: 272.7 kB / 383.9 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.497e-05/0.009951, allocations: 71.33 kB / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.783e-05/0.009989, allocations: 20.47 kB / 384 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.01002, allocations: 20.56 kB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01002, allocations: 0 / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of Templates: time 0.003134/0.01316, allocations: 1.555 MB / 385.5 MB, free: 10.95 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.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.273488606326282]