Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.001242/0.001242, allocations: 77.97 kB / 21.42 MB, free: 3.07 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.001065/0.001065, allocations: 171.3 kB / 24.82 MB, free: 9.316 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.09/1.09, allocations: 177.2 MB / 205.3 MB, free: 5.5 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.2865/0.2865, allocations: 34.25 MB / 296.1 MB, free: 0.668 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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,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.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 378.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.413e-05/3.613e-05, allocations: 5.406 kB / 378.5 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003881/0.003917, allocations: 1.626 MB / 380.1 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.006202, allocations: 1.274 MB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.006319, allocations: 0 / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003544/0.006673, allocations: 23.78 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005452/0.007218, allocations: 91.48 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004151/0.007633, allocations: 87.7 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.007889, allocations: 71.77 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.008028, allocations: 7.938 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.008149, allocations: 43.89 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.008304, allocations: 19.92 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.008329, allocations: 4 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002547/0.008584, allocations: 87.88 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.977e-05/0.008654, allocations: 19.92 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.008692, allocations: 11.98 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003701/0.009062, allocations: 139.4 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.009067, allocations: 0 / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.009069, allocations: 0 / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.009076, allocations: 0 / 382 MB, free: 14.83 MB / 362.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.000562/0.009638, allocations: 420 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.009693, allocations: 16.03 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.009749, allocations: 8.891 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.009953, allocations: 136.5 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.009967, allocations: 8.375 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.00999, allocations: 384 / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.01016, allocations: 100 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.01017, allocations: 4.125 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.01018, allocations: 4.125 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.01019, allocations: 0 / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.966e-05/0.01022, allocations: 15.98 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003267/0.01054, allocations: 260.3 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.01073, allocations: 47.02 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.522e-05/0.01075, allocations: 19.69 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.01078, allocations: 0 / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.01081, allocations: 37.33 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.01081, allocations: 0 / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003631/0.01118, allocations: 85.64 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.01124, allocations: 85.05 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.01141, allocations: 189.9 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.01144, allocations: 29.7 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.925e-05/0.01154, allocations: 150.8 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.01157, allocations: 11.84 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/0.01162, allocations: 23.38 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002297/0.01185, allocations: 0.4923 MB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.363e-05/0.01187, allocations: 4 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.303e-05/0.01193, allocations: 53.05 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.432e-05/0.01197, allocations: 23.69 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.01197, allocations: 0 / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.531e-05/0.01207, allocations: 61.52 kB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.01208, allocations: 8 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01209, allocations: 4.031 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.0121, allocations: 0 / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.394e-05/0.01216, allocations: 11.98 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-06/0.01216, allocations: 0 / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.439e-05/0.01219, allocations: 4 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.0122, allocations: 0 / 384.3 MB, free: 12.32 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 9.817e-05/0.0123, allocations: 160.6 kB / 384.4 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.01233, allocations: 11.89 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/0.01248, allocations: 74.31 kB / 384.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01248, allocations: 0 / 384.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.01248, allocations: 4 kB / 384.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.01249, allocations: 3.938 kB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.01281, allocations: 298 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01281, allocations: 0 / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.612e-05/0.01284, allocations: 8 kB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.01285, allocations: 4 kB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-06/0.01285, allocations: 0 / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.01285, allocations: 0 / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01286, allocations: 0 / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.01299, allocations: 215.8 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.485e-05/0.01301, allocations: 11.94 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.01302, allocations: 4 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.45e-05/0.01307, allocations: 0 / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.0131, allocations: 7.984 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.01311, allocations: 4 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.731e-05/0.01319, allocations: 141.2 kB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01319, allocations: 0 / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003102/0.0135, allocations: 39.86 kB / 385.3 MB, free: 11.29 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.001449/0.01495, allocations: 496 kB / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.01505, allocations: 27.62 kB / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.01506, allocations: 0 / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.09e-05/0.01509, allocations: 19.67 kB / 385.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.01542, allocations: 30.84 kB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000452/0.01588, allocations: 177.9 kB / 386 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.175e-05/0.01593, allocations: 59.34 kB / 386 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.07e-05/0.01599, allocations: 11.94 kB / 386.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.01609, allocations: 86.17 kB / 386.1 MB, free: 10.51 MB / 362.7 MB Notification: Performance of SimCode: time 1.243e-06/0.0161, allocations: 4 kB / 386.1 MB, free: 10.51 MB / 362.7 MB Notification: Performance of Templates: time 0.005912/0.02201, allocations: 2.019 MB / 388.2 MB, free: 8.508 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.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.2494361428543925]