Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.001408/0.001408, allocations: 78.66 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.001683/0.001683, allocations: 170.3 kB / 24.82 MB, free: 9.266 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.062/1.062, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.3057/0.3057, allocations: 34.26 MB / 296.1 MB, free: 0.7344 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.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.257e-05, allocations: 6.312 kB / 378.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002025/0.002048, allocations: 1.63 MB / 380.2 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008707/0.002919, allocations: 0.5297 MB / 380.7 MB, free: 196 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.992e-05/0.002979, allocations: 4 kB / 380.7 MB, free: 192 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001948/0.003173, allocations: 23.84 kB / 380.7 MB, free: 168 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002244/0.003398, allocations: 87.55 kB / 380.8 MB, free: 80 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.003619, allocations: 107.6 kB / 380.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.003744, allocations: 71.77 kB / 381 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.496e-05/0.003829, allocations: 11.98 kB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.899e-05/0.003888, allocations: 31.91 kB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.118e-05/0.003939, allocations: 15.94 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.003956, allocations: 4 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.295e-05/0.004019, allocations: 27.98 kB / 381.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.71e-05/0.004066, allocations: 23.91 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.421e-05/0.00409, allocations: 11.94 kB / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.004225, allocations: 79.61 kB / 381.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004227, allocations: 0 / 381.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004228, allocations: 0 / 381.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.004231, allocations: 0 / 381.2 MB, free: 15.7 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003409/0.004572, allocations: 420 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.004617, allocations: 12.03 kB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.004647, allocations: 12.89 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.00476, allocations: 141 kB / 381.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.184e-06/0.004768, allocations: 384 / 381.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.004785, allocations: 8.312 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.529e-05/0.004871, allocations: 58.7 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.00488, allocations: 0 / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.004886, allocations: 0 / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.004891, allocations: 0 / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.112e-05/0.004913, allocations: 4 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002394/0.005152, allocations: 256.3 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.005288, allocations: 51.05 kB / 382.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.596e-05/0.005304, allocations: 11.62 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.005324, allocations: 4 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.005342, allocations: 33.39 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.005343, allocations: 0 / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002545/0.005597, allocations: 97.69 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.005625, allocations: 55.41 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.00573, allocations: 208 kB / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.00574, allocations: 29.7 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.005797, allocations: 150.8 kB / 382.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.005818, allocations: 23.81 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.005846, allocations: 27.38 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.005972, allocations: 0.4884 MB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.032e-05/0.005983, allocations: 4 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.226e-05/0.005995, allocations: 4 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.565e-05/0.006031, allocations: 35.55 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.006033, allocations: 3.938 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.55e-05/0.006098, allocations: 49.91 kB / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.00611, allocations: 8 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.006117, allocations: 7.984 kB / 383.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.006136, allocations: 4 kB / 383.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.016e-05/0.006176, allocations: 8 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.00618, allocations: 0 / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.687e-05/0.006196, allocations: 4 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.006201, allocations: 0 / 383.4 MB, free: 13.32 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 (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 7.163e-05/0.006272, allocations: 168.4 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.00629, allocations: 15.91 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.709e-05/0.006387, allocations: 66.12 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.006389, allocations: 0 / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.006391, allocations: 0 / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.006395, allocations: 8 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006225/0.007018, allocations: 302 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.007019, allocations: 0 / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.712e-05/0.007047, allocations: 8 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.007049, allocations: 0 / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-06/0.007053, allocations: 0 / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.007055, allocations: 3.984 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.007056, allocations: 4 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.00716, allocations: 211.8 kB / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-06/0.007167, allocations: 3.953 kB / 384.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.007179, allocations: 11.94 kB / 384.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.82e-05/0.007207, allocations: 192 / 384.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/0.007231, allocations: 7.984 kB / 384.1 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.007235, allocations: 4 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.645e-05/0.007291, allocations: 150 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007292, allocations: 0 / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001459/0.007437, allocations: 19.98 kB / 384.3 MB, free: 12.29 MB / 362.7 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.0008002/0.008238, allocations: 386.4 kB / 384.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.527e-05/0.008303, allocations: 23.69 kB / 384.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.008304, allocations: 0 / 384.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.946e-05/0.008324, allocations: 27.61 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.00851, allocations: 26.91 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002529/0.008763, allocations: 186.3 kB / 385 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.96e-05/0.008803, allocations: 71.33 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.345e-05/0.008826, allocations: 4 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.793e-05/0.008874, allocations: 82.19 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.008875, allocations: 0 / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of Templates: time 0.002557/0.01143, allocations: 1.29 MB / 386.4 MB, free: 10.29 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.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.245647232979536]