Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.0009822/0.0009822, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001582/0.001582, allocations: 170.4 kB / 24.82 MB, free: 9.27 MB / 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.9414/0.9414, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.2237/0.2237, allocations: 32.8 MB / 294.6 MB, free: 1.246 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 376.5 MB, free: 4.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.225e-05/1.346e-05, allocations: 10.25 kB / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.001886/0.001899, allocations: 1.649 MB / 378.2 MB, free: 2.73 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006642/0.002564, allocations: 0.5297 MB / 378.7 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.314e-05/0.002617, allocations: 0 / 378.7 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002217/0.002838, allocations: 87.64 kB / 378.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.003094, allocations: 103.6 kB / 378.9 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.003298, allocations: 95.58 kB / 379 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.003431, allocations: 87.69 kB / 379 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.171e-05/0.003512, allocations: 15.97 kB / 379.1 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.976e-05/0.003572, allocations: 39.91 kB / 379.1 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.192e-05/0.003654, allocations: 51.88 kB / 379.2 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.003667, allocations: 4 kB / 379.2 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.19e-05/0.003739, allocations: 51.92 kB / 379.2 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.947e-05/0.003778, allocations: 23.91 kB / 379.2 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.127e-05/0.003799, allocations: 15.92 kB / 379.2 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.003927, allocations: 83.67 kB / 379.3 MB, free: 1.547 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.003928, allocations: 4 kB / 379.3 MB, free: 1.543 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003929, allocations: 0 / 379.3 MB, free: 1.543 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.003932, allocations: 0 / 379.3 MB, free: 1.543 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003388/0.004271, allocations: 447.8 kB / 379.8 MB, free: 1.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.004303, allocations: 8.031 kB / 379.8 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.004337, allocations: 20.84 kB / 379.8 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.004449, allocations: 141.1 kB / 379.9 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.004459, allocations: 8.375 kB / 379.9 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.004475, allocations: 4.359 kB / 379.9 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.004814, allocations: 58.94 kB / 380 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.004821, allocations: 192 / 380 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.004827, allocations: 8.125 kB / 380 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.004832, allocations: 0 / 380 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.211e-05/0.004854, allocations: 11.92 kB / 380 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002123/0.005066, allocations: 268.3 kB / 380.3 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.529e-05/0.005111, allocations: 35.06 kB / 380.3 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.494e-05/0.005126, allocations: 19.7 kB / 380.3 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.005145, allocations: 4 kB / 380.3 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.005163, allocations: 41.33 kB / 380.4 MB, free: 372 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 6.61e-07/0.005164, allocations: 0 / 380.4 MB, free: 372 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003805/0.005544, allocations: 149.4 kB / 380.5 MB, free: 216 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.318e-05/0.005567, allocations: 55.41 kB / 380.6 MB, free: 148 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.005691, allocations: 226.3 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.005701, allocations: 33.7 kB / 380.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.005754, allocations: 158.7 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.005777, allocations: 31.8 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.005808, allocations: 27.36 kB / 381.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.005919, allocations: 0.5001 MB / 381.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.345e-05/0.005932, allocations: 4 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.546e-05/0.005947, allocations: 8.078 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.566e-05/0.005983, allocations: 35.75 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.005986, allocations: 7.938 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.152e-05/0.006058, allocations: 69.62 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.006067, allocations: 4 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.006071, allocations: 0 / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.006081, allocations: 4 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.891e-05/0.00614, allocations: 19.98 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.006144, allocations: 4 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.006163, allocations: 7.938 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.006169, allocations: 4 kB / 381.7 MB, free: 14.95 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 (8): * Single equations (assignments): 8 * 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.017e-05/0.006229, allocations: 160.5 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.006251, allocations: 19.91 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.006356, allocations: 79.55 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.006357, allocations: 0 / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.006359, allocations: 0 / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.006363, allocations: 7.984 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.006607, allocations: 349.5 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.006609, allocations: 4 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.455e-05/0.006643, allocations: 15.94 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.006645, allocations: 0 / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.006649, allocations: 0 / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.00665, allocations: 4 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.006652, allocations: 3.984 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.006754, allocations: 231.5 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.185e-06/0.006762, allocations: 11.84 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-06/0.006771, allocations: 8.031 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.763e-05/0.006809, allocations: 4 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.006829, allocations: 11.92 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.006833, allocations: 4 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.704e-05/0.00689, allocations: 163.1 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.00689, allocations: 0 / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001564/0.007047, allocations: 19.98 kB / 382.8 MB, free: 13.8 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 (8): * Single equations (assignments): 8 * 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.0007792/0.007826, allocations: 442 kB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.871e-05/0.007904, allocations: 47.61 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.007906, allocations: 0 / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.53e-05/0.007931, allocations: 27.66 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.008123, allocations: 15.98 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002638/0.008387, allocations: 225.8 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.689e-05/0.008424, allocations: 75.33 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.042e-05/0.008454, allocations: 17.09 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.008507, allocations: 86.19 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.008507, allocations: 0 / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of Templates: time 0.002812/0.01132, allocations: 1.496 MB / 385.2 MB, free: 11.5 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.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: 2.9312425092794]