Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.001913/0.001913, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.002568/0.002568, allocations: 161.7 kB / 24.27 MB, free: 172 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.577/1.577, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.3541/0.3541, allocations: 32.8 MB / 293.9 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable1Ds.Test16,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.306e-05/3.522e-05, allocations: 6.25 kB / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003699/0.003734, allocations: 1.622 MB / 376.9 MB, free: 3.332 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.004971, allocations: 0.522 MB / 377.4 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.733e-05/0.005049, allocations: 3.938 kB / 377.4 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003617/0.00541, allocations: 75.7 kB / 377.5 MB, free: 2.727 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004261/0.005836, allocations: 107.5 kB / 377.6 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.006196, allocations: 87.7 kB / 377.7 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000237/0.006433, allocations: 91.69 kB / 377.8 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.006544, allocations: 15.98 kB / 377.8 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.006653, allocations: 39.89 kB / 377.8 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.006784, allocations: 59.86 kB / 377.9 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.006805, allocations: 4 kB / 377.9 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.006928, allocations: 43.92 kB / 377.9 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.925e-05/0.006997, allocations: 19.92 kB / 378 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.017e-05/0.007047, allocations: 15.92 kB / 378 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003298/0.007377, allocations: 111.5 kB / 378.1 MB, free: 2.141 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.007381, allocations: 0 / 378.1 MB, free: 2.141 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.007382, allocations: 4 kB / 378.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.007387, allocations: 0 / 378.1 MB, free: 2.137 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.0005484/0.007935, allocations: 337.6 kB / 378.4 MB, free: 1.777 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.007969, allocations: 8.031 kB / 378.4 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.909e-05/0.008028, allocations: 16.84 kB / 378.4 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.008258, allocations: 146.3 kB / 378.6 MB, free: 1.582 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.008273, allocations: 8.375 kB / 378.6 MB, free: 1.574 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.008301, allocations: 4.359 kB / 378.6 MB, free: 1.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.008465, allocations: 58.19 kB / 378.7 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.008476, allocations: 192 / 378.7 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.008489, allocations: 8.125 kB / 378.7 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.008493, allocations: 0 / 378.7 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.008601, allocations: 27.97 kB / 378.7 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.009005, allocations: 232.5 kB / 378.9 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.009131, allocations: 42.5 kB / 379 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.863e-05/0.009199, allocations: 20.8 kB / 379 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.009224, allocations: 8.016 kB / 379 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.009261, allocations: 34.56 kB / 379 MB, free: 1.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.009262, allocations: 4 kB / 379 MB, free: 1.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009985/0.01026, allocations: 225.3 kB / 379.2 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.01031, allocations: 51.41 kB / 379.3 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.01057, allocations: 218.7 kB / 379.5 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.0106, allocations: 29.7 kB / 379.5 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.332e-05/0.01068, allocations: 104.1 kB / 379.6 MB, free: 440 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.01072, allocations: 31.73 kB / 379.7 MB, free: 408 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.01077, allocations: 21.72 kB / 379.7 MB, free: 380 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.01095, allocations: 330.8 kB / 380 MB, free: 40 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.208e-05/0.01104, allocations: 23.92 kB / 380 MB, free: 16 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.01114, allocations: 24.03 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.0113, allocations: 61 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.01131, allocations: 4 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002425/0.01155, allocations: 113.5 kB / 380.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.01156, allocations: 4 kB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.01157, allocations: 0 / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.01158, allocations: 0 / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.01169, allocations: 23.92 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.0117, allocations: 0 / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.83e-05/0.01175, allocations: 8 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.01176, allocations: 3.984 kB / 380.3 MB, free: 15.77 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.0001214/0.01188, allocations: 129.8 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-05/0.01193, allocations: 19.91 kB / 380.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003068/0.01223, allocations: 111.1 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.01224, allocations: 0 / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.01224, allocations: 4 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.01225, allocations: 0 / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000572/0.01282, allocations: 354.8 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01282, allocations: 4.031 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.524e-05/0.0129, allocations: 23.92 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.0129, allocations: 432 / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.01291, allocations: 0 / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.01291, allocations: 3.984 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01291, allocations: 4 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.01324, allocations: 204.2 kB / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.01326, allocations: 15.92 kB / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.01328, allocations: 8 kB / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.612e-05/0.01336, allocations: 4 kB / 381.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.0134, allocations: 11.92 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.01341, allocations: 4 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001767/0.01359, allocations: 164.2 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01359, allocations: 0 / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000277/0.01386, allocations: 19.98 kB / 381.3 MB, free: 14.64 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.002408/0.01627, allocations: 488.4 kB / 381.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000289/0.01656, allocations: 67.84 kB / 381.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.01656, allocations: 0 / 381.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.01667, allocations: 31.97 kB / 381.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/0.01718, allocations: 16 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000758/0.01793, allocations: 273.5 kB / 382.2 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.01806, allocations: 88.81 kB / 382.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.445e-05/0.01812, allocations: 8.719 kB / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.01816, allocations: 16.5 kB / 382.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01816, allocations: 4 kB / 382.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of Templates: time 0.004993/0.02315, allocations: 1.373 MB / 383.7 MB, free: 12.46 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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: 4.9629055130062625]