Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.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.001838/0.001838, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.002174/0.002174, allocations: 169 kB / 24.24 MB, free: 316 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 1.278/1.278, allocations: 158.6 MB / 186 MB, free: 2.539 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.1422/0.1422, allocations: 32.36 MB / 270.7 MB, free: 14.76 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.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 347.7 MB, free: 9.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.918e-05/3.056e-05, allocations: 8.219 kB / 347.7 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.00199/0.002021, allocations: 1.657 MB / 349.3 MB, free: 8.113 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009305/0.002951, allocations: 1.072 MB / 350.4 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.402e-05/0.003015, allocations: 0 / 350.4 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00024/0.003255, allocations: 35.7 kB / 350.4 MB, free: 7 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.003442, allocations: 43.72 kB / 350.5 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.003736, allocations: 147.7 kB / 350.6 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.003891, allocations: 79.69 kB / 350.7 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.004011, allocations: 8 kB / 350.7 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.729e-05/0.004078, allocations: 31.91 kB / 350.7 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.52e-05/0.004174, allocations: 27.91 kB / 350.8 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.004192, allocations: 4 kB / 350.8 MB, free: 6.664 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.712e-05/0.004279, allocations: 55.89 kB / 350.8 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.454e-05/0.004334, allocations: 15.94 kB / 350.8 MB, free: 6.594 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.00436, allocations: 15.98 kB / 350.9 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.00451, allocations: 87.66 kB / 350.9 MB, free: 6.492 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.004513, allocations: 0 / 350.9 MB, free: 6.492 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.004513, allocations: 7.938 kB / 351 MB, free: 6.484 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.004518, allocations: 0 / 351 MB, free: 6.484 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003472/0.004865, allocations: 416.2 kB / 351.4 MB, free: 6.043 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.004897, allocations: 8.031 kB / 351.4 MB, free: 6.035 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.004942, allocations: 8.891 kB / 351.4 MB, free: 6.027 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.005056, allocations: 132.5 kB / 351.5 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.005065, allocations: 384 / 351.5 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.005089, allocations: 4.375 kB / 351.5 MB, free: 5.867 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.00521, allocations: 119.9 kB / 351.6 MB, free: 5.727 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.005219, allocations: 192 / 351.6 MB, free: 5.727 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.005228, allocations: 4.125 kB / 351.6 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.005235, allocations: 4 kB / 351.6 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.979e-05/0.005265, allocations: 4 kB / 351.6 MB, free: 5.715 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002463/0.005511, allocations: 287.7 kB / 351.9 MB, free: 5.398 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.095e-05/0.005572, allocations: 43.09 kB / 352 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.248e-05/0.005595, allocations: 19.61 kB / 352 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.005613, allocations: 4 kB / 352 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.005631, allocations: 37.39 kB / 352 MB, free: 5.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.005632, allocations: 4 kB / 352 MB, free: 5.266 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003634/0.005996, allocations: 113.5 kB / 352.1 MB, free: 5.148 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.006023, allocations: 77.11 kB / 352.2 MB, free: 5.055 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.691e-05/0.0061, allocations: 196.1 kB / 352.4 MB, free: 4.848 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.482e-06/0.006107, allocations: 33.64 kB / 352.4 MB, free: 4.809 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.899e-05/0.006136, allocations: 134.9 kB / 352.6 MB, free: 4.672 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.006154, allocations: 27.86 kB / 352.6 MB, free: 4.645 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.006181, allocations: 27.38 kB / 352.6 MB, free: 4.609 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.974e-05/0.006221, allocations: 0.4923 MB / 353.1 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.006239, allocations: 8 kB / 353.1 MB, free: 4.098 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.95e-05/0.006268, allocations: 57.06 kB / 353.2 MB, free: 4.027 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.86e-05/0.006307, allocations: 43.78 kB / 353.2 MB, free: 3.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.006307, allocations: 0 / 353.2 MB, free: 3.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.494e-05/0.006372, allocations: 61.64 kB / 353.3 MB, free: 3.914 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.006382, allocations: 8 kB / 353.3 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.006385, allocations: 0 / 353.3 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.006398, allocations: 0 / 353.3 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.422e-05/0.006462, allocations: 15.98 kB / 353.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.006467, allocations: 4.031 kB / 353.3 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.214e-05/0.006489, allocations: 12.27 kB / 353.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.006494, allocations: 7.938 kB / 353.3 MB, free: 3.867 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 (7): * Single equations (assignments): 7 * 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.909e-05/0.006533, allocations: 160.5 kB / 353.5 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.006551, allocations: 15.95 kB / 353.5 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.323e-05/0.006644, allocations: 82.03 kB / 353.6 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.006646, allocations: 4 kB / 353.6 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.00665, allocations: 0 / 353.6 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.006652, allocations: 0 / 353.6 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.006835, allocations: 329.3 kB / 353.9 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.006836, allocations: 4 kB / 353.9 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.411e-05/0.00687, allocations: 23.98 kB / 353.9 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.006871, allocations: 0 / 353.9 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.006878, allocations: 0 / 353.9 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.006879, allocations: 0 / 353.9 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.00688, allocations: 0 / 353.9 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.139e-05/0.006961, allocations: 223.8 kB / 354.2 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-06/0.006967, allocations: 7.953 kB / 354.2 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.006978, allocations: 7.922 kB / 354.2 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.356e-05/0.007011, allocations: 4 kB / 354.2 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.007049, allocations: 15.98 kB / 354.2 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.007051, allocations: 0 / 354.2 MB, free: 2.934 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.172e-05/0.007083, allocations: 139.2 kB / 354.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007083, allocations: 0 / 354.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001676/0.007251, allocations: 31.92 kB / 354.4 MB, free: 2.766 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 (7): * Single equations (assignments): 7 * 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.0009476/0.008198, allocations: 427.6 kB / 354.8 MB, free: 2.434 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.008374, allocations: 39.61 kB / 354.8 MB, free: 2.391 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.008377, allocations: 4 kB / 354.8 MB, free: 2.387 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.595e-05/0.008403, allocations: 23.69 kB / 354.8 MB, free: 2.359 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.008648, allocations: 31.83 kB / 354.9 MB, free: 2.328 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.008995, allocations: 190.9 kB / 355.1 MB, free: 2.109 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.945e-05/0.009024, allocations: 67.33 kB / 355.1 MB, free: 2.023 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.931e-05/0.009074, allocations: 15.92 kB / 355.1 MB, free: 2.008 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.009106, allocations: 20.48 kB / 355.2 MB, free: 1.988 MB / 282.7 MB Notification: Performance of SimCode: time 1.203e-06/0.009108, allocations: 4 kB / 355.2 MB, free: 1.984 MB / 282.7 MB Notification: Performance of Templates: time 0.003175/0.01228, allocations: 1.615 MB / 356.8 MB, free: 392 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.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.7657890198752284]