Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.0009904/0.0009904, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.001415/0.001415, allocations: 164.2 kB / 24.99 MB, free: 9.285 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 1.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.59 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.2968/0.2968, allocations: 32.8 MB / 294.6 MB, free: 1.285 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.CombiTable1Dv.Test3,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.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,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.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 376 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/2.939e-05, allocations: 9.344 kB / 376 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002313/0.002342, allocations: 1.649 MB / 377.7 MB, free: 3.293 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007686/0.003111, allocations: 0.5415 MB / 378.2 MB, free: 2.746 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.831e-05/0.003179, allocations: 4 kB / 378.2 MB, free: 2.742 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002716/0.003451, allocations: 75.64 kB / 378.3 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002995/0.00375, allocations: 99.59 kB / 378.4 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.004047, allocations: 119.5 kB / 378.5 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.004213, allocations: 79.83 kB / 378.6 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.004318, allocations: 11.98 kB / 378.6 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.562e-05/0.004393, allocations: 47.83 kB / 378.6 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.772e-05/0.004491, allocations: 47.88 kB / 378.7 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.004506, allocations: 4 kB / 378.7 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.341e-05/0.0046, allocations: 43.92 kB / 378.7 MB, free: 2.223 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.52e-05/0.004655, allocations: 23.91 kB / 378.8 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.004685, allocations: 11.94 kB / 378.8 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.004853, allocations: 95.59 kB / 378.9 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.004856, allocations: 0 / 378.9 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.004857, allocations: 4 kB / 378.9 MB, free: 2.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.004863, allocations: 0 / 378.9 MB, free: 2.09 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.0004221/0.005285, allocations: 439.9 kB / 379.3 MB, free: 1.625 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.005324, allocations: 8.031 kB / 379.3 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.198e-05/0.005376, allocations: 16.89 kB / 379.3 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.005535, allocations: 148.4 kB / 379.5 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.005545, allocations: 384 / 379.5 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.005569, allocations: 8.359 kB / 379.5 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.005691, allocations: 54.95 kB / 379.5 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.0057, allocations: 192 / 379.5 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.005711, allocations: 8.125 kB / 379.5 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.005719, allocations: 4 kB / 379.5 MB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.827e-05/0.005757, allocations: 15.92 kB / 379.6 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.006084, allocations: 287.8 kB / 379.8 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.582e-05/0.006149, allocations: 43.05 kB / 379.9 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.634e-05/0.006176, allocations: 15.62 kB / 379.9 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.0062, allocations: 3.938 kB / 379.9 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.006227, allocations: 41.33 kB / 379.9 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.402e-06/0.006229, allocations: 0 / 379.9 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005654/0.006794, allocations: 165.4 kB / 380.1 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.006828, allocations: 55.39 kB / 380.2 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.006976, allocations: 235.2 kB / 380.4 MB, free: 412 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.006989, allocations: 25.7 kB / 380.4 MB, free: 380 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.007052, allocations: 158.8 kB / 380.6 MB, free: 216 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.007082, allocations: 27.86 kB / 380.6 MB, free: 188 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.007116, allocations: 27.36 kB / 380.6 MB, free: 152 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.007266, allocations: 0.5 MB / 381.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.83e-05/0.007294, allocations: 8 kB / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.203e-05/0.007316, allocations: 11.98 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.127e-05/0.007387, allocations: 43.84 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.007389, allocations: 0 / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001017/0.00749, allocations: 73.59 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.007506, allocations: 8 kB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.007511, allocations: 0 / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.007524, allocations: 0 / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.178e-05/0.007606, allocations: 19.98 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.007613, allocations: 0 / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.034e-05/0.007633, allocations: 4 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.007641, allocations: 4 kB / 381.3 MB, free: 15.46 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 7.528e-05/0.007716, allocations: 168.5 kB / 381.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.007741, allocations: 15.91 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.007892, allocations: 91.11 kB / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.007895, allocations: 0 / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.007898, allocations: 0 / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.007902, allocations: 0 / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.008197, allocations: 373 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.008198, allocations: 4 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.908e-05/0.008237, allocations: 15.94 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.008241, allocations: 8.391 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.008249, allocations: 0 / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.008252, allocations: 7.984 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.008253, allocations: 0 / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.008393, allocations: 243.5 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.053e-05/0.008404, allocations: 11.94 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.008417, allocations: 0 / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.556e-05/0.008452, allocations: 4 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.008487, allocations: 15.92 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.008492, allocations: 0 / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.129e-05/0.008563, allocations: 163.9 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008563, allocations: 7.938 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001656/0.008728, allocations: 27.92 kB / 382.4 MB, free: 14.24 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.0009235/0.009652, allocations: 432.8 kB / 382.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.009768, allocations: 39.67 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.00977, allocations: 0 / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.246e-05/0.009802, allocations: 35.61 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.01003, allocations: 15.98 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006966/0.01073, allocations: 230.3 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.4e-05/0.01078, allocations: 75.33 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.718e-05/0.01084, allocations: 21.02 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.01087, allocations: 12.5 kB / 383.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of SimCode: time 2.124e-06/0.01088, allocations: 3.938 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of Templates: time 0.003461/0.01434, allocations: 1.41 MB / 384.7 MB, free: 12.09 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.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.262620585039258]