Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001909/0.001909, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.002052/0.002052, allocations: 165.3 kB / 24.27 MB, free: 148 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 1.667/1.667, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3905/0.3905, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.228e-05/4.462e-05, allocations: 2.312 kB / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003922/0.003966, allocations: 1.623 MB / 378.9 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.00519, allocations: 0.5414 MB / 379.5 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.694e-05/0.005247, allocations: 4 kB / 379.5 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.005578, allocations: 75.64 kB / 379.6 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003388/0.005917, allocations: 99.53 kB / 379.7 MB, free: 0.582 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.006244, allocations: 107.7 kB / 379.8 MB, free: 488 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.006454, allocations: 87.73 kB / 379.8 MB, free: 400 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.006565, allocations: 16 kB / 379.9 MB, free: 384 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.006676, allocations: 43.88 kB / 379.9 MB, free: 340 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.006803, allocations: 51.88 kB / 380 MB, free: 288 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.006823, allocations: 0 / 380 MB, free: 288 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.006935, allocations: 47.92 kB / 380 MB, free: 240 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.855e-05/0.006994, allocations: 19.88 kB / 380 MB, free: 220 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.571e-05/0.007039, allocations: 19.91 kB / 380 MB, free: 200 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.007249, allocations: 99.64 kB / 380.1 MB, free: 100 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.007253, allocations: 0 / 380.1 MB, free: 100 kB / 346.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.007254, allocations: 0 / 380.1 MB, free: 100 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.007259, allocations: 3.938 kB / 380.1 MB, free: 96 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.0006477/0.007907, allocations: 443.6 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.007944, allocations: 8.031 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.38e-05/0.008008, allocations: 16.89 kB / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.008225, allocations: 144.3 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.008237, allocations: 384 / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.008261, allocations: 4.375 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.008405, allocations: 54.22 kB / 380.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.00842, allocations: 4.188 kB / 380.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.008432, allocations: 4.125 kB / 380.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.008435, allocations: 3.938 kB / 380.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.008537, allocations: 23.98 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004799/0.009017, allocations: 299.7 kB / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.009146, allocations: 50.98 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.926e-05/0.009205, allocations: 27.61 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.009227, allocations: 0 / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/0.009271, allocations: 33.39 kB / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.009272, allocations: 0 / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009005/0.01017, allocations: 205.4 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.01023, allocations: 51.41 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.01049, allocations: 238.6 kB / 381.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.01052, allocations: 29.7 kB / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.01064, allocations: 162.8 kB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.01068, allocations: 27.91 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.01074, allocations: 27.38 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002947/0.01103, allocations: 0.5079 MB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.93e-05/0.0111, allocations: 15.98 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.421e-05/0.01116, allocations: 27.92 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.0113, allocations: 51.67 kB / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.0113, allocations: 0 / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002111/0.01152, allocations: 93.58 kB / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.01153, allocations: 4 kB / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.01154, allocations: 0 / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.01155, allocations: 0 / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.01166, allocations: 15.98 kB / 382.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.01166, allocations: 11.88 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.008e-05/0.0117, allocations: 11.94 kB / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.01171, allocations: 4 kB / 382.7 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 (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 0.0001376/0.01185, allocations: 160.5 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.01189, allocations: 15.95 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.01217, allocations: 107.1 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.01218, allocations: 3.984 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.01218, allocations: 0 / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.01219, allocations: 0 / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005993/0.01279, allocations: 405.4 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01279, allocations: 0 / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.205e-05/0.01286, allocations: 23.92 kB / 383.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01286, allocations: 0 / 383.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.01287, allocations: 0 / 383.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.01287, allocations: 4 kB / 383.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01288, allocations: 80 / 383.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.01323, allocations: 255.4 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.01326, allocations: 15.95 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.01329, allocations: 4 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.471e-05/0.01335, allocations: 7.969 kB / 383.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.0134, allocations: 11.92 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.01341, allocations: 4 kB / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001602/0.01357, allocations: 175.9 kB / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01357, allocations: 0 / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002555/0.01382, allocations: 19.98 kB / 383.9 MB, free: 12.05 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.003243/0.01707, allocations: 494.3 kB / 384.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002394/0.01731, allocations: 63.59 kB / 384.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01731, allocations: 0 / 384.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.772e-05/0.0174, allocations: 35.67 kB / 384.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.01773, allocations: 27.89 kB / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005846/0.01832, allocations: 246.2 kB / 384.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.01844, allocations: 92.3 kB / 384.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.56e-05/0.0185, allocations: 21.02 kB / 384.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.162e-05/0.01855, allocations: 20.5 kB / 384.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01855, allocations: 0 / 384.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of Templates: time 0.005485/0.02404, allocations: 1.409 MB / 386.3 MB, free: 9.816 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.03151322202757]