Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.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.001273/0.001273, allocations: 77 kB / 20.65 MB, free: 3.844 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.001158/0.001158, allocations: 177 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9691/0.9691, allocations: 158.6 MB / 185.9 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1479/0.1479, allocations: 32.37 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 348.1 MB, free: 9.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.765e-05, allocations: 2.312 kB / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.00332/0.003348, allocations: 1.599 MB / 349.7 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006456/0.003993, allocations: 307.5 kB / 350 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.017e-05/0.004063, allocations: 0 / 350 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.004313, allocations: 23.84 kB / 350 MB, free: 7.242 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.004541, allocations: 43.73 kB / 350.1 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.004807, allocations: 71.77 kB / 350.2 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.004981, allocations: 55.84 kB / 350.2 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.005099, allocations: 11.98 kB / 350.2 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.939e-05/0.005168, allocations: 31.84 kB / 350.3 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.93e-05/0.005228, allocations: 15.92 kB / 350.3 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.005244, allocations: 4 kB / 350.3 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.983e-05/0.005324, allocations: 20 kB / 350.3 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.213e-05/0.005376, allocations: 19.92 kB / 350.3 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.005409, allocations: 11.98 kB / 350.3 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.005583, allocations: 63.75 kB / 350.4 MB, free: 6.898 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.005587, allocations: 0 / 350.4 MB, free: 6.898 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.005588, allocations: 3.938 kB / 350.4 MB, free: 6.895 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.005593, allocations: 0 / 350.4 MB, free: 6.895 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004378/0.006031, allocations: 412.1 kB / 350.8 MB, free: 6.457 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/0.006089, allocations: 12.03 kB / 350.8 MB, free: 6.445 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.006137, allocations: 8.891 kB / 350.8 MB, free: 6.438 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.006315, allocations: 140.3 kB / 351 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.006327, allocations: 4.375 kB / 351 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.006352, allocations: 384 / 351 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.006481, allocations: 58.95 kB / 351 MB, free: 6.203 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.006496, allocations: 192 / 351 MB, free: 6.203 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.006508, allocations: 4.125 kB / 351 MB, free: 6.199 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.006518, allocations: 0 / 351 MB, free: 6.199 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.716e-05/0.006555, allocations: 11.98 kB / 351 MB, free: 6.188 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003531/0.006908, allocations: 248.4 kB / 351.3 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.007112, allocations: 43.03 kB / 351.3 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.982e-05/0.007131, allocations: 7.688 kB / 351.3 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.007167, allocations: 4 kB / 351.3 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.007195, allocations: 41.33 kB / 351.4 MB, free: 5.797 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.007197, allocations: 4 kB / 351.4 MB, free: 5.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003983/0.007595, allocations: 93.53 kB / 351.5 MB, free: 5.695 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.007624, allocations: 55.34 kB / 351.5 MB, free: 5.629 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.007736, allocations: 192.1 kB / 351.7 MB, free: 5.426 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.007746, allocations: 25.7 kB / 351.7 MB, free: 5.395 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.313e-05/0.007809, allocations: 146.8 kB / 351.9 MB, free: 5.246 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.007839, allocations: 15.91 kB / 351.9 MB, free: 5.23 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.007876, allocations: 27.3 kB / 351.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.007978, allocations: 0.4884 MB / 352.4 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.526e-05/0.007994, allocations: 7.984 kB / 352.4 MB, free: 4.688 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.254e-05/0.008006, allocations: 8 kB / 352.4 MB, free: 4.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.317e-05/0.008039, allocations: 19.69 kB / 352.4 MB, free: 4.656 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.008041, allocations: 0 / 352.4 MB, free: 4.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.597e-05/0.008117, allocations: 61.52 kB / 352.5 MB, free: 4.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.008135, allocations: 4 kB / 352.5 MB, free: 4.586 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.008142, allocations: 0 / 352.5 MB, free: 4.586 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.008159, allocations: 4 kB / 352.5 MB, free: 4.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.534e-05/0.008214, allocations: 8 kB / 352.5 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.008218, allocations: 0 / 352.5 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.909e-05/0.008237, allocations: 7.984 kB / 352.5 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.008243, allocations: 4 kB / 352.5 MB, free: 4.562 MB / 282.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 (5): * Single equations (assignments): 5 * 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.341e-05/0.008307, allocations: 156.6 kB / 352.7 MB, free: 4.398 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.008326, allocations: 15.84 kB / 352.7 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.00844, allocations: 66.39 kB / 352.8 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.008444, allocations: 4 kB / 352.8 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.008447, allocations: 3.938 kB / 352.8 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.008454, allocations: 0 / 352.8 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.008694, allocations: 290 kB / 353 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.008698, allocations: 7.984 kB / 353.1 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.834e-05/0.008736, allocations: 8 kB / 353.1 MB, free: 3.973 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.008739, allocations: 4 kB / 353.1 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.008744, allocations: 0 / 353.1 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.008746, allocations: 0 / 353.1 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.008748, allocations: 0 / 353.1 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.431e-05/0.008842, allocations: 211.8 kB / 353.3 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.217e-06/0.008851, allocations: 7.953 kB / 353.3 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.008863, allocations: 0 / 353.3 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.115e-05/0.008894, allocations: 7.984 kB / 353.3 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.008932, allocations: 0 / 353.3 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.008937, allocations: 0 / 353.3 MB, free: 3.727 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.985e-05/0.008987, allocations: 153.6 kB / 353.4 MB, free: 3.578 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008987, allocations: 4 kB / 353.4 MB, free: 3.574 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000169/0.009156, allocations: 15.94 kB / 353.5 MB, free: 3.559 MB / 282.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 (5): * Single equations (assignments): 5 * 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.0008609/0.01002, allocations: 383.1 kB / 353.8 MB, free: 3.277 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001097/0.01013, allocations: 35.59 kB / 353.9 MB, free: 3.238 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.01013, allocations: 0 / 353.9 MB, free: 3.238 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.168e-05/0.01015, allocations: 19.81 kB / 353.9 MB, free: 3.215 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.01042, allocations: 27.98 kB / 353.9 MB, free: 3.188 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.01075, allocations: 158 kB / 354.1 MB, free: 3.004 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.313e-05/0.01078, allocations: 63.34 kB / 354.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.616e-05/0.01082, allocations: 4 kB / 354.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.169e-05/0.01087, allocations: 82.19 kB / 354.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01087, allocations: 0 / 354.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of Templates: time 0.003598/0.01447, allocations: 1.252 MB / 355.5 MB, free: 1.594 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.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.199922164902091]