Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.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.0009844/0.0009844, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.0009777/0.0009777, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 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.9485/0.9485, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.1382/0.1382, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.558e-05/1.7e-05, allocations: 12.16 kB / 347.7 MB, free: 9.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.001745/0.001762, allocations: 1.599 MB / 349.3 MB, free: 7.816 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003903/0.002152, allocations: 315.4 kB / 349.6 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.602e-05/0.002188, allocations: 4 kB / 349.6 MB, free: 7.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.002323, allocations: 27.84 kB / 349.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.002447, allocations: 43.72 kB / 349.7 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.002596, allocations: 67.77 kB / 349.7 MB, free: 7.363 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.749e-05/0.002694, allocations: 59.78 kB / 349.8 MB, free: 7.305 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.878e-05/0.002772, allocations: 8 kB / 349.8 MB, free: 7.297 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.94e-05/0.002812, allocations: 23.92 kB / 349.8 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.102e-05/0.002853, allocations: 15.97 kB / 349.8 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.002866, allocations: 3.938 kB / 349.8 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.787e-05/0.002924, allocations: 35.98 kB / 349.9 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.19e-05/0.002956, allocations: 4 kB / 349.9 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.002979, allocations: 19.91 kB / 349.9 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.003093, allocations: 55.77 kB / 349.9 MB, free: 7.141 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.003098, allocations: 7.984 kB / 350 MB, free: 7.133 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003098, allocations: 0 / 350 MB, free: 7.133 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.003102, allocations: 0 / 350 MB, free: 7.133 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.000257/0.003359, allocations: 404.2 kB / 350.4 MB, free: 6.703 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.003388, allocations: 8.031 kB / 350.4 MB, free: 6.695 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.464e-05/0.003412, allocations: 8.891 kB / 350.4 MB, free: 6.688 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.091e-05/0.003493, allocations: 132.5 kB / 350.5 MB, free: 6.531 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-06/0.0035, allocations: 4.375 kB / 350.5 MB, free: 6.527 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.003517, allocations: 4.375 kB / 350.5 MB, free: 6.523 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.132e-05/0.003589, allocations: 54.89 kB / 350.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.003597, allocations: 8.172 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.022e-06/0.003603, allocations: 4.125 kB / 350.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.003607, allocations: 0 / 350.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.293e-05/0.00363, allocations: 7.938 kB / 350.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001641/0.003794, allocations: 275.8 kB / 350.8 MB, free: 6.137 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.003897, allocations: 35.06 kB / 350.9 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.003913, allocations: 19.77 kB / 350.9 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.003927, allocations: 7.938 kB / 350.9 MB, free: 6.059 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.265e-05/0.00394, allocations: 41.33 kB / 350.9 MB, free: 6.008 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 6.11e-07/0.003941, allocations: 0 / 350.9 MB, free: 6.008 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002124/0.004153, allocations: 85.52 kB / 351 MB, free: 5.918 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.401e-05/0.004167, allocations: 55.41 kB / 351.1 MB, free: 5.852 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.93e-05/0.004236, allocations: 192.2 kB / 351.3 MB, free: 5.648 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.811e-06/0.004242, allocations: 25.7 kB / 351.3 MB, free: 5.617 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.028e-05/0.004273, allocations: 146.8 kB / 351.4 MB, free: 5.469 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.357e-05/0.004286, allocations: 11.84 kB / 351.5 MB, free: 5.457 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.206e-05/0.004308, allocations: 23.38 kB / 351.5 MB, free: 5.426 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.598e-05/0.004354, allocations: 0.4962 MB / 352 MB, free: 4.918 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.178e-05/0.004366, allocations: 4 kB / 352 MB, free: 4.914 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.047e-05/0.004376, allocations: 4 kB / 352 MB, free: 4.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.674e-05/0.004403, allocations: 35.86 kB / 352 MB, free: 4.871 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.004404, allocations: 0 / 352 MB, free: 4.871 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.691e-05/0.004451, allocations: 57.53 kB / 352.1 MB, free: 4.809 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/0.004459, allocations: 4 kB / 352.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.004461, allocations: 4 kB / 352.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.324e-06/0.004469, allocations: 0 / 352.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.865e-05/0.004497, allocations: 11.98 kB / 352.1 MB, free: 4.789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.0045, allocations: 4 kB / 352.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.428e-05/0.004514, allocations: 4 kB / 352.1 MB, free: 4.781 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-06/0.004518, allocations: 0 / 352.1 MB, free: 4.781 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 3.283e-05/0.00455, allocations: 156.6 kB / 352.3 MB, free: 4.617 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.004567, allocations: 11.89 kB / 352.3 MB, free: 4.605 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.581e-05/0.004643, allocations: 74.08 kB / 352.3 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.004644, allocations: 0 / 352.3 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.004646, allocations: 3.938 kB / 352.3 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.004649, allocations: 0 / 352.3 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.004793, allocations: 309.4 kB / 352.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.004793, allocations: 8.281 kB / 352.7 MB, free: 4.172 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.203e-05/0.004815, allocations: 11.98 kB / 352.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.91e-07/0.004816, allocations: 0 / 352.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-06/0.004821, allocations: 0 / 352.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.004822, allocations: 4.125 kB / 352.7 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.004823, allocations: 0 / 352.7 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.645e-05/0.004889, allocations: 215.8 kB / 352.9 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-06/0.004895, allocations: 7.953 kB / 352.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-06/0.004903, allocations: 0 / 352.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3e-05/0.004933, allocations: 11.98 kB / 352.9 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/0.004955, allocations: 0 / 352.9 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.004957, allocations: 8 kB / 352.9 MB, free: 3.898 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.391e-05/0.004991, allocations: 146 kB / 353 MB, free: 3.758 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004991, allocations: 0 / 353 MB, free: 3.758 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001534/0.005145, allocations: 19.94 kB / 353.1 MB, free: 3.738 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.0007971/0.005942, allocations: 376.9 kB / 353.4 MB, free: 3.461 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.707e-05/0.006019, allocations: 27.62 kB / 353.5 MB, free: 3.43 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.00602, allocations: 0 / 353.5 MB, free: 3.43 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.911e-05/0.006039, allocations: 23.67 kB / 353.5 MB, free: 3.402 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.006221, allocations: 21.17 kB / 353.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002548/0.006476, allocations: 161.9 kB / 353.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.554e-05/0.006512, allocations: 63.34 kB / 353.7 MB, free: 3.113 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.492e-05/0.006537, allocations: 11.98 kB / 353.7 MB, free: 3.102 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.445e-05/0.006561, allocations: 12.5 kB / 353.7 MB, free: 3.09 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.006562, allocations: 0 / 353.7 MB, free: 3.09 MB / 282.7 MB Notification: Performance of Templates: time 0.002252/0.008815, allocations: 1.144 MB / 354.9 MB, free: 1.957 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.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.067508467938751]