Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.002196/0.002196, allocations: 95.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.002781/0.002781, allocations: 161.3 kB / 24.27 MB, free: 152 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.549/1.549, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.389/0.389, allocations: 34.27 MB / 295.3 MB, free: 0.6875 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.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 3.938 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.845e-05, allocations: 6.25 kB / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.00336/0.003388, allocations: 1.669 MB / 379 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.005436, allocations: 1.266 MB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.361e-05/0.00548, allocations: 0 / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.005673, allocations: 27.78 kB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003173/0.005991, allocations: 87.44 kB / 380.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.006321, allocations: 135.6 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.006476, allocations: 75.7 kB / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.997e-05/0.006556, allocations: 8 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.097e-05/0.006647, allocations: 43.89 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.00677, allocations: 27.89 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.006791, allocations: 4 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.006971, allocations: 95.83 kB / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.139e-05/0.007033, allocations: 19.92 kB / 380.8 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.007075, allocations: 19.92 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.007372, allocations: 151.5 kB / 380.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.007375, allocations: 0 / 380.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.007375, allocations: 0 / 380.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.00738, allocations: 0 / 380.9 MB, free: 15.3 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006184/0.007998, allocations: 439.6 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.008033, allocations: 8.031 kB / 381.4 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.563e-05/0.008099, allocations: 8.891 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.00832, allocations: 141 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.008329, allocations: 4.375 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.008357, allocations: 12.31 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.008565, allocations: 103.3 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.008574, allocations: 192 / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.008588, allocations: 8.125 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.008592, allocations: 0 / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.008715, allocations: 31.97 kB / 381.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.00914, allocations: 287.7 kB / 381.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.009283, allocations: 51.05 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.987e-05/0.009352, allocations: 27.7 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.009375, allocations: 4 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.009411, allocations: 33.39 kB / 382.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.009412, allocations: 0 / 382.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007183/0.01013, allocations: 177.4 kB / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.828e-05/0.01021, allocations: 81.05 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.01044, allocations: 224.1 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.01046, allocations: 25.7 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.01057, allocations: 138.9 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.01061, allocations: 27.78 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.856e-05/0.01067, allocations: 27.38 kB / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002751/0.01094, allocations: 0.4962 MB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.01105, allocations: 28.05 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.01117, allocations: 73.06 kB / 383.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.01137, allocations: 75.62 kB / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.01137, allocations: 0 / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002581/0.01163, allocations: 101.5 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.01164, allocations: 4 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.01164, allocations: 0 / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.01166, allocations: 0 / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.01177, allocations: 19.98 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.01177, allocations: 0 / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.275e-05/0.01183, allocations: 4 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.01184, allocations: 8 kB / 383.5 MB, free: 12.44 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 (7): * Single equations (assignments): 7 * 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.01197, allocations: 164.5 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.795e-05/0.01202, allocations: 15.95 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005145/0.01254, allocations: 110.3 kB / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.01254, allocations: 0 / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.01254, allocations: 4 kB / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.01254, allocations: 0 / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005899/0.01313, allocations: 385.3 kB / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.01313, allocations: 0 / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.213e-05/0.01322, allocations: 15.94 kB / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.01322, allocations: 0 / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.01323, allocations: 7.984 kB / 384.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.01323, allocations: 0 / 384.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01323, allocations: 0 / 384.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.01359, allocations: 260.2 kB / 384.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.042e-05/0.01361, allocations: 7.953 kB / 384.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.01363, allocations: 8 kB / 384.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.35e-05/0.01372, allocations: 4 kB / 384.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.01376, allocations: 8.266 kB / 384.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.01377, allocations: 4 kB / 384.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001384/0.01391, allocations: 155.2 kB / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01391, allocations: 0 / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002913/0.0142, allocations: 43.81 kB / 384.7 MB, free: 11.19 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 (7): * Single equations (assignments): 7 * 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.003456/0.01766, allocations: 0.5334 MB / 385.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003016/0.01796, allocations: 75.62 kB / 385.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.01797, allocations: 4 kB / 385.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.01808, allocations: 43.61 kB / 385.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.0184, allocations: 26.92 kB / 385.4 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005464/0.01894, allocations: 206.8 kB / 385.6 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.795e-05/0.01904, allocations: 79.19 kB / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.838e-05/0.01911, allocations: 19.97 kB / 385.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.032e-05/0.01917, allocations: 16.5 kB / 385.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01917, allocations: 0 / 385.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of Templates: time 0.005968/0.02514, allocations: 1.962 MB / 387.7 MB, free: 8.414 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.010917256004177]