Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.0009613/0.0009613, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001005/0.001005, 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 0.9251/0.9251, allocations: 177.1 MB / 205 MB, free: 5.605 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.2396/0.2396, allocations: 32.81 MB / 294.3 MB, free: 1.285 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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.679e-05, allocations: 2.312 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003134/0.003161, allocations: 1.746 MB / 377.8 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.004275, allocations: 0.5881 MB / 378.4 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.928e-05/0.004344, allocations: 0 / 378.4 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.004594, allocations: 35.7 kB / 378.4 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003355/0.00493, allocations: 87.48 kB / 378.5 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004332/0.005363, allocations: 171.6 kB / 378.7 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.005562, allocations: 103.6 kB / 378.8 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.005667, allocations: 15.98 kB / 378.8 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.872e-05/0.005765, allocations: 51.89 kB / 378.8 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.217e-05/0.005847, allocations: 31.89 kB / 378.8 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.005869, allocations: 8 kB / 378.9 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.006053, allocations: 103.8 kB / 379 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.829e-05/0.006121, allocations: 19.92 kB / 379 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.806e-05/0.006169, allocations: 27.91 kB / 379 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.006478, allocations: 159.5 kB / 379.2 MB, free: 1.504 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.00648, allocations: 0 / 379.2 MB, free: 1.504 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.006481, allocations: 0 / 379.2 MB, free: 1.504 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.006485, allocations: 0 / 379.2 MB, free: 1.504 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004521/0.006937, allocations: 467.7 kB / 379.6 MB, free: 1.012 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.006974, allocations: 12.03 kB / 379.6 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.348e-05/0.007028, allocations: 8.891 kB / 379.6 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.007183, allocations: 141.1 kB / 379.8 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.007193, allocations: 4.375 kB / 379.8 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.007216, allocations: 4.375 kB / 379.8 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.0074, allocations: 119.8 kB / 379.9 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.00741, allocations: 3.938 kB / 379.9 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.007419, allocations: 0 / 379.9 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.007427, allocations: 4 kB / 379.9 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.072e-05/0.007467, allocations: 15.97 kB / 379.9 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.007827, allocations: 315.6 kB / 380.2 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.007927, allocations: 50.94 kB / 380.3 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.032e-05/0.007957, allocations: 19.8 kB / 380.3 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.007976, allocations: 4 kB / 380.3 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.007996, allocations: 33.39 kB / 380.3 MB, free: 184 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.007997, allocations: 0 / 380.3 MB, free: 184 kB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004719/0.008469, allocations: 169.3 kB / 380.5 MB, free: 8 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.008515, allocations: 81.05 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.008635, allocations: 208.1 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.00865, allocations: 29.7 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.008703, allocations: 146.8 kB / 381 MB, free: 15.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.008725, allocations: 27.75 kB / 381 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.008765, allocations: 35.36 kB / 381 MB, free: 15.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.008881, allocations: 0.4961 MB / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.473e-05/0.008916, allocations: 12 kB / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.046e-05/0.008967, allocations: 57.06 kB / 381.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.683e-05/0.009033, allocations: 47.66 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.009034, allocations: 0 / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001159/0.00915, allocations: 77.92 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.009163, allocations: 4 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.009168, allocations: 0 / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.009181, allocations: 11.86 kB / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.899e-05/0.00928, allocations: 23.98 kB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.009287, allocations: 4 kB / 381.7 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.259e-05/0.009339, allocations: 15.98 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.009349, allocations: 7.984 kB / 381.8 MB, free: 14.65 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 (10): * Single equations (assignments): 10 * 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.433e-05/0.009423, allocations: 164.5 kB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.009452, allocations: 15.91 kB / 381.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002007/0.009652, allocations: 94.41 kB / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.009655, allocations: 384 / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.009659, allocations: 0 / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.009663, allocations: 3.984 kB / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003311/0.009994, allocations: 377.4 kB / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.009996, allocations: 0 / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.65e-05/0.01008, allocations: 31.92 kB / 382.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.01008, allocations: 0 / 382.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.01009, allocations: 4 kB / 382.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.0101, allocations: 0 / 382.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.0101, allocations: 3.938 kB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.01026, allocations: 231.8 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.01027, allocations: 7.953 kB / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.01029, allocations: 4 kB / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.233e-05/0.01035, allocations: 11.98 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.0104, allocations: 15.92 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.01041, allocations: 7.984 kB / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.917e-05/0.01048, allocations: 161.9 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01048, allocations: 0 / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002014/0.01068, allocations: 47.86 kB / 382.9 MB, free: 13.41 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 (9): * Single equations (assignments): 9 * 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.0009931/0.01167, allocations: 0.4947 MB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001429/0.01181, allocations: 51.61 kB / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01182, allocations: 0 / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.545e-05/0.01186, allocations: 35.61 kB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.01209, allocations: 23.97 kB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003993/0.01249, allocations: 234.5 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.728e-05/0.01252, allocations: 63.34 kB / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.433e-05/0.01259, allocations: 28.45 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.752e-05/0.01263, allocations: 24.48 kB / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01264, allocations: 0 / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of Templates: time 0.004414/0.01705, allocations: 2.978 MB / 386.9 MB, free: 9.629 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.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: 2.904047483112663]