Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.001443/0.001443, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001814/0.001814, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.05/1.05, allocations: 177.1 MB / 205 MB, free: 5.586 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.2862/0.2862, allocations: 32.81 MB / 294.3 MB, free: 1.266 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.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.788e-05/2.962e-05, allocations: 5.266 kB / 376 MB, free: 4.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.008758/0.008788, allocations: 1.728 MB / 377.8 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008621/0.00965, allocations: 0.5491 MB / 378.3 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.595e-05/0.009706, allocations: 0 / 378.3 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.009952, allocations: 47.8 kB / 378.4 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002726/0.01022, allocations: 91.55 kB / 378.4 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.0105, allocations: 135.5 kB / 378.6 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.01065, allocations: 83.77 kB / 378.7 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.01181, allocations: 16.2 kB / 378.7 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.172e-05/0.0119, allocations: 35.91 kB / 378.7 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.946e-05/0.01199, allocations: 47.88 kB / 378.8 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.01201, allocations: 4 kB / 378.8 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.01212, allocations: 51.86 kB / 378.8 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.568e-05/0.0122, allocations: 27.91 kB / 378.8 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.01223, allocations: 11.94 kB / 378.9 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.01242, allocations: 91.72 kB / 378.9 MB, free: 1.699 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.01242, allocations: 0 / 378.9 MB, free: 1.699 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.01242, allocations: 0 / 378.9 MB, free: 1.699 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.01243, allocations: 0 / 378.9 MB, free: 1.699 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.0004747/0.0129, allocations: 443.8 kB / 379.4 MB, free: 1.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.01295, allocations: 12.03 kB / 379.4 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.587e-05/0.013, allocations: 16.84 kB / 379.4 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.01317, allocations: 141 kB / 379.5 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.01318, allocations: 384 / 379.5 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.01322, allocations: 8.375 kB / 379.6 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.0134, allocations: 74.61 kB / 379.6 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.01341, allocations: 0 / 379.6 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.01342, allocations: 4 kB / 379.6 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.01343, allocations: 0 / 379.6 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.841e-05/0.01347, allocations: 8 kB / 379.6 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.01382, allocations: 307.6 kB / 379.9 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.01402, allocations: 51.03 kB / 380 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.764e-05/0.01404, allocations: 11.69 kB / 380 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.01407, allocations: 0 / 380 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.01409, allocations: 37.52 kB / 380 MB, free: 488 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.01409, allocations: 0 / 380 MB, free: 488 kB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006793/0.01477, allocations: 249.6 kB / 380.3 MB, free: 232 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.0148, allocations: 59.34 kB / 380.3 MB, free: 160 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.01509, allocations: 220.9 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.0151, allocations: 25.7 kB / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.559e-05/0.01516, allocations: 154.8 kB / 380.7 MB, free: 15.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.01519, allocations: 35.69 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.01523, allocations: 35.36 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.01534, allocations: 0.4923 MB / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.05e-05/0.01537, allocations: 16 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.71e-05/0.0154, allocations: 15.98 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.299e-05/0.01546, allocations: 51.67 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.01546, allocations: 0 / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001222/0.01558, allocations: 93.47 kB / 381.5 MB, free: 14.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.0156, allocations: 4 kB / 381.5 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.0156, allocations: 4 kB / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.01562, allocations: 0 / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.468e-05/0.01569, allocations: 23.98 kB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.0157, allocations: 4 kB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.573e-05/0.01572, allocations: 11.92 kB / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.01573, allocations: 0 / 381.5 MB, free: 14.93 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 7.794e-05/0.01581, allocations: 168.5 kB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.01583, allocations: 11.95 kB / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000174/0.01601, allocations: 110.4 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.01601, allocations: 0 / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.01601, allocations: 0 / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01602, allocations: 3.938 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004108/0.01643, allocations: 412.6 kB / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.01643, allocations: 0 / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.021e-05/0.01649, allocations: 28.05 kB / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.01649, allocations: 0 / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.01651, allocations: 3.938 kB / 382.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.01651, allocations: 4 kB / 382.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.01651, allocations: 3.938 kB / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.01666, allocations: 251.2 kB / 382.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.01667, allocations: 11.91 kB / 382.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.01669, allocations: 11.88 kB / 382.5 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.307e-05/0.01673, allocations: 12.17 kB / 382.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.01678, allocations: 15.98 kB / 382.5 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.01678, allocations: 4 kB / 382.5 MB, free: 13.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.16e-05/0.01686, allocations: 165.4 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01686, allocations: 0 / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001928/0.01705, allocations: 27.94 kB / 382.7 MB, free: 13.61 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.0009719/0.01802, allocations: 433 kB / 383.2 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.01817, allocations: 63.59 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01817, allocations: 0 / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.227e-05/0.01821, allocations: 35.67 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.01847, allocations: 24.05 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/0.01889, allocations: 252 kB / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.712e-05/0.01893, allocations: 71.34 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.337e-05/0.01898, allocations: 24.41 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.01901, allocations: 16.5 kB / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01902, allocations: 0 / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of Templates: time 0.003539/0.02255, allocations: 1.586 MB / 385.2 MB, free: 11.24 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.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.3898127931170166]