Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.0009985/0.0009985, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001035/0.001035, allocations: 168.8 kB / 25 MB, free: 8.336 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.001/1.001, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.2609/0.2609, allocations: 34.25 MB / 296 MB, free: 0.7734 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.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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 378 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.911e-05, allocations: 2.312 kB / 378 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.00199/0.002009, allocations: 1.65 MB / 379.7 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006574/0.002666, allocations: 0.5414 MB / 380.2 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.612e-05/0.002722, allocations: 0 / 380.2 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.002955, allocations: 83.69 kB / 380.3 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.003195, allocations: 107.5 kB / 380.4 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.003408, allocations: 115.6 kB / 380.5 MB, free: 448 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.003539, allocations: 83.75 kB / 380.6 MB, free: 364 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.669e-05/0.003626, allocations: 11.98 kB / 380.6 MB, free: 352 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.024e-05/0.003686, allocations: 51.83 kB / 380.7 MB, free: 300 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.431e-05/0.003771, allocations: 51.88 kB / 380.7 MB, free: 248 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.003783, allocations: 0 / 380.7 MB, free: 248 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.828e-05/0.003851, allocations: 47.92 kB / 380.8 MB, free: 200 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.746e-05/0.003898, allocations: 31.91 kB / 380.8 MB, free: 168 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.45e-05/0.003923, allocations: 7.938 kB / 380.8 MB, free: 160 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.004063, allocations: 95.66 kB / 380.9 MB, free: 64 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004065, allocations: 0 / 380.9 MB, free: 64 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004066, allocations: 0 / 380.9 MB, free: 64 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.004069, allocations: 0 / 380.9 MB, free: 64 kB / 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.0003815/0.004451, allocations: 444 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.004482, allocations: 8.031 kB / 381.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/0.004525, allocations: 20.83 kB / 381.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.004657, allocations: 145.1 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.004666, allocations: 4.375 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.004685, allocations: 8.375 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.00479, allocations: 62.94 kB / 381.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.004799, allocations: 192 / 381.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.004808, allocations: 4.125 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.004815, allocations: 0 / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.237e-05/0.004847, allocations: 15.92 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002819/0.005129, allocations: 295.7 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.162e-05/0.00519, allocations: 39.05 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.482e-05/0.005215, allocations: 19.62 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.005233, allocations: 8.078 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.005253, allocations: 45.33 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.005254, allocations: 0 / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004812/0.005735, allocations: 173.3 kB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.005763, allocations: 51.41 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.005897, allocations: 242.4 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.005907, allocations: 25.7 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.00596, allocations: 158.8 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.005988, allocations: 27.75 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.006016, allocations: 27.38 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.006123, allocations: 0.504 MB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.09e-05/0.006144, allocations: 7.984 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.804e-05/0.006162, allocations: 12 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.59e-05/0.006208, allocations: 39.61 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.006209, allocations: 0 / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.951e-05/0.006289, allocations: 73.59 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.006299, allocations: 4 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.006302, allocations: 0 / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.006314, allocations: 0 / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.732e-05/0.006381, allocations: 27.98 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.006385, allocations: 0 / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.732e-05/0.006402, allocations: 0 / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.006408, allocations: 4 kB / 383.4 MB, free: 13.39 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.409e-05/0.006472, allocations: 164.5 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.006493, allocations: 15.91 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.006614, allocations: 87.11 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.006616, allocations: 4 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.006619, allocations: 0 / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.006622, allocations: 0 / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.006894, allocations: 385.4 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.006896, allocations: 3.984 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.157e-05/0.006937, allocations: 19.94 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.006939, allocations: 0 / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.006945, allocations: 0 / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.006947, allocations: 4 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.006948, allocations: 0 / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.007066, allocations: 243.5 kB / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-06/0.007074, allocations: 7.953 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.007086, allocations: 4 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.293e-05/0.007119, allocations: 8.031 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.00715, allocations: 12.34 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.007154, allocations: 0 / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.268e-05/0.007226, allocations: 179 kB / 384.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007227, allocations: 0 / 384.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001629/0.007389, allocations: 27.92 kB / 384.5 MB, free: 12.16 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.0008522/0.008242, allocations: 427.1 kB / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.891e-05/0.008341, allocations: 39.67 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.008342, allocations: 4 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.078e-05/0.008373, allocations: 31.61 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.008581, allocations: 30.12 kB / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003287/0.00891, allocations: 241.8 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.014e-05/0.00895, allocations: 71.33 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.99e-05/0.00899, allocations: 24.95 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/0.009018, allocations: 20.55 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.009018, allocations: 4 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of Templates: time 0.002907/0.01193, allocations: 1.391 MB / 386.8 MB, free: 10.01 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/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: 3.14405140792951]