Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.0009874/0.0009874, allocations: 77.97 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.001104/0.001104, allocations: 165.5 kB / 24.82 MB, free: 9.27 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 0.9905/0.9905, allocations: 177.1 MB / 205.3 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] 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.2647/0.2647, allocations: 32.81 MB / 294.6 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 376.5 MB, free: 4.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.894e-05/3.073e-05, allocations: 6.25 kB / 376.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002488/0.002519, allocations: 1.718 MB / 378.2 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008089/0.003328, allocations: 0.5568 MB / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.303e-05/0.003411, allocations: 0 / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003212/0.003732, allocations: 67.66 kB / 378.8 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002904/0.004022, allocations: 103.5 kB / 378.9 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.004325, allocations: 175.5 kB / 379.1 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.004464, allocations: 91.75 kB / 379.2 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.413e-05/0.004558, allocations: 20.16 kB / 379.2 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.766e-05/0.004626, allocations: 51.88 kB / 379.3 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.654e-05/0.004712, allocations: 47.88 kB / 379.3 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.004725, allocations: 8 kB / 379.3 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.825e-05/0.004804, allocations: 47.92 kB / 379.4 MB, free: 1.5 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.309e-05/0.004857, allocations: 23.92 kB / 379.4 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.00488, allocations: 15.92 kB / 379.4 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.005031, allocations: 99.59 kB / 379.5 MB, free: 1.363 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.005033, allocations: 0 / 379.5 MB, free: 1.363 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005034, allocations: 0 / 379.5 MB, free: 1.363 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.955e-06/0.005037, allocations: 0 / 379.5 MB, free: 1.363 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003575/0.005394, allocations: 447.9 kB / 379.9 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.005426, allocations: 11.97 kB / 380 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.005458, allocations: 16.89 kB / 380 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.005576, allocations: 140.4 kB / 380.1 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.005586, allocations: 8.375 kB / 380.1 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.005607, allocations: 12.31 kB / 380.1 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.926e-05/0.005706, allocations: 62.94 kB / 380.2 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.005715, allocations: 192 / 380.2 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.005722, allocations: 4.125 kB / 380.2 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.005727, allocations: 3.938 kB / 380.2 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.583e-05/0.005753, allocations: 11.98 kB / 380.2 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002611/0.006014, allocations: 284.2 kB / 380.5 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.006147, allocations: 55.06 kB / 380.5 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.786e-05/0.006165, allocations: 11.69 kB / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.006188, allocations: 8.062 kB / 380.6 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.006207, allocations: 37.39 kB / 380.6 MB, free: 152 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.006208, allocations: 0 / 380.6 MB, free: 152 kB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005088/0.006717, allocations: 225.6 kB / 380.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.006744, allocations: 51.41 kB / 380.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.006862, allocations: 222.4 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.006873, allocations: 29.7 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.167e-05/0.006925, allocations: 158.8 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.006952, allocations: 35.69 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.006986, allocations: 31.36 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.007107, allocations: 0.5 MB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.788e-05/0.007125, allocations: 8 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.986e-05/0.007145, allocations: 15.98 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.793e-05/0.007193, allocations: 51.61 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.007193, allocations: 0 / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.844e-05/0.007282, allocations: 85.86 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.007293, allocations: 8 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.007298, allocations: 0 / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.007309, allocations: 0 / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.007371, allocations: 19.98 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.007373, allocations: 4 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.216e-05/0.007395, allocations: 7.984 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.007401, allocations: 3.938 kB / 382 MB, free: 14.63 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 (11): * Single equations (assignments): 11 * 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.514e-05/0.007466, allocations: 172.5 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.007486, allocations: 11.95 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.007617, allocations: 110.4 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.007619, allocations: 0 / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.007621, allocations: 4 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.007624, allocations: 3.984 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.007898, allocations: 377.2 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.007899, allocations: 0 / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.562e-05/0.007945, allocations: 23.98 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.007947, allocations: 4.062 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.007955, allocations: 8 kB / 382.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.007957, allocations: 3.984 kB / 382.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.007958, allocations: 192 / 382.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.008091, allocations: 263 kB / 383 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.008101, allocations: 15.94 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-06/0.008111, allocations: 0 / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.987e-05/0.008151, allocations: 4 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.008179, allocations: 15.92 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.008184, allocations: 4 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.386e-05/0.008238, allocations: 159.1 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008238, allocations: 4 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001614/0.008399, allocations: 27.92 kB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008555/0.009255, allocations: 435.3 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.396e-05/0.009349, allocations: 59.53 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.00935, allocations: 0 / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.45e-05/0.009384, allocations: 39.59 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.009585, allocations: 28.09 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003117/0.009897, allocations: 266.1 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.801e-05/0.009945, allocations: 75.33 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.293e-05/0.009987, allocations: 24.47 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.835e-05/0.01005, allocations: 82.19 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01005, allocations: 4 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of Templates: time 0.00306/0.01311, allocations: 1.798 MB / 386 MB, free: 10.67 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.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.0407043150626123]