Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001037/0.001037, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001554/0.001554, allocations: 164.7 kB / 24.99 MB, free: 8.797 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 1.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] 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.252/0.252, allocations: 34.26 MB / 296 MB, free: 0.7734 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 3.938 kB / 378 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.799e-05, allocations: 5.688 kB / 378 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002289/0.002307, allocations: 1.638 MB / 379.7 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007577/0.003065, allocations: 0.5182 MB / 380.2 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.336e-05/0.003118, allocations: 3.938 kB / 380.2 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.003295, allocations: 31.72 kB / 380.2 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.003526, allocations: 75.62 kB / 380.3 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.003722, allocations: 95.62 kB / 380.4 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.003853, allocations: 67.78 kB / 380.5 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.147e-05/0.003944, allocations: 11.98 kB / 380.5 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.396e-05/0.003998, allocations: 31.91 kB / 380.5 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.85e-05/0.004046, allocations: 15.92 kB / 380.5 MB, free: 488 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.004058, allocations: 0 / 380.5 MB, free: 488 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.396e-05/0.004122, allocations: 35.92 kB / 380.5 MB, free: 452 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.075e-05/0.004163, allocations: 11.92 kB / 380.6 MB, free: 440 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.00419, allocations: 15.92 kB / 380.6 MB, free: 424 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.004323, allocations: 67.75 kB / 380.6 MB, free: 356 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.004324, allocations: 4 kB / 380.6 MB, free: 352 kB / 346.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.004325, allocations: 4 kB / 380.6 MB, free: 348 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.004328, allocations: 0 / 380.6 MB, free: 348 kB / 346.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.0003738/0.004702, allocations: 408.2 kB / 381 MB, free: 15.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.004737, allocations: 8.031 kB / 381.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.004777, allocations: 8.891 kB / 381.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.004912, allocations: 136.5 kB / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.00492, allocations: 384 / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.004939, allocations: 8.375 kB / 381.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.844e-05/0.005037, allocations: 50.95 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.005046, allocations: 4.188 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.005056, allocations: 4.125 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.005064, allocations: 3.984 kB / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.257e-05/0.005097, allocations: 15.92 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002622/0.005359, allocations: 271.8 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.005501, allocations: 39.06 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.054e-05/0.005522, allocations: 11.77 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.005542, allocations: 11.88 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.00556, allocations: 33.39 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.005561, allocations: 0 / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003256/0.005887, allocations: 105.4 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.005916, allocations: 51.41 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.006038, allocations: 204.5 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.00605, allocations: 25.7 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.0061, allocations: 142.8 kB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.006126, allocations: 23.78 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.006164, allocations: 23.38 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.006284, allocations: 0.4923 MB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.908e-05/0.006303, allocations: 8.062 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.579e-05/0.006318, allocations: 4 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.867e-05/0.006357, allocations: 27.69 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.006358, allocations: 0 / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.695e-05/0.006445, allocations: 69.52 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.006456, allocations: 4 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.00646, allocations: 0 / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.006472, allocations: 0 / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.591e-05/0.006518, allocations: 11.98 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.006524, allocations: 4 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.071e-05/0.006545, allocations: 0 / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.00655, allocations: 4 kB / 382.8 MB, free: 13.95 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 (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.743e-05/0.006618, allocations: 156.6 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.006647, allocations: 19.88 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.006755, allocations: 70.08 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.006757, allocations: 0 / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.006759, allocations: 0 / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.006762, allocations: 0 / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.00701, allocations: 325.4 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.007011, allocations: 320 / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.44e-05/0.007046, allocations: 15.98 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.007047, allocations: 3.938 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.007054, allocations: 4 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.007055, allocations: 0 / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.007055, allocations: 0 / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.007167, allocations: 211.8 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-06/0.007174, allocations: 3.953 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.007188, allocations: 4 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.653e-05/0.007234, allocations: 0 / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.007264, allocations: 11.98 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.007267, allocations: 0 / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.462e-05/0.007331, allocations: 149.7 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007332, allocations: 0 / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002295/0.007561, allocations: 23.98 kB / 383.8 MB, free: 12.9 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 (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.0009137/0.008475, allocations: 387.1 kB / 384.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.728e-05/0.008572, allocations: 27.69 kB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.008573, allocations: 4 kB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.579e-05/0.008599, allocations: 19.67 kB / 384.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.008856, allocations: 19.92 kB / 384.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002983/0.009155, allocations: 178.5 kB / 384.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.982e-05/0.009194, allocations: 63.34 kB / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.911e-05/0.009224, allocations: 4 kB / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.00925, allocations: 16.48 kB / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.00925, allocations: 4 kB / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of Templates: time 0.002952/0.0122, allocations: 1.157 MB / 385.7 MB, free: 11.12 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.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.1951185250654817]