Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying.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.0007318/0.0007318, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009965/0.001728, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007102/0.0007102, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009552/0.001665, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9686/0.9686, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09417/1.063, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.2978/0.2978, allocations: 34.26 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02471/0.3225, allocations: 13.1 MB / 291.3 MB, free: 7.363 MB / 282.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.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/2.928e-05, allocations: 3.078 kB / 292.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001595/0.001624, allocations: 0.5707 MB / 293.2 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003642/0.001988, allocations: 228 kB / 293.4 MB, free: 5.52 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.354e-05/0.002012, allocations: 0 / 293.4 MB, free: 5.52 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.549e-05/0.002088, allocations: 11.92 kB / 293.4 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.341e-05/0.002101, allocations: 0 / 293.4 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.002334, allocations: 39.83 kB / 293.5 MB, free: 5.469 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.427e-05/0.002408, allocations: 19.92 kB / 293.5 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.817e-05/0.002456, allocations: 11.98 kB / 293.5 MB, free: 5.438 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.784e-05/0.002514, allocations: 19.97 kB / 293.5 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.002627, allocations: 15.97 kB / 293.5 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.002647, allocations: 4 kB / 293.5 MB, free: 5.398 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.002805, allocations: 55.89 kB / 293.6 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.774e-05/0.002842, allocations: 11.94 kB / 293.6 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.002867, allocations: 8.438 kB / 293.6 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.003014, allocations: 63.86 kB / 293.7 MB, free: 5.262 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.096e-05/0.003035, allocations: 3.984 kB / 293.7 MB, free: 5.258 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.003036, allocations: 0 / 293.7 MB, free: 5.258 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.895e-05/0.003055, allocations: 0 / 293.7 MB, free: 5.258 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004545/0.003509, allocations: 265.7 kB / 293.9 MB, free: 4.973 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.003543, allocations: 12.02 kB / 293.9 MB, free: 4.961 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.003578, allocations: 4.938 kB / 293.9 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.234e-05/0.003671, allocations: 105.7 kB / 294 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.003684, allocations: 4.375 kB / 294.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.003706, allocations: 4.375 kB / 294.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.003831, allocations: 82.75 kB / 294.1 MB, free: 4.727 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.003841, allocations: 4.125 kB / 294.1 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.00385, allocations: 4.375 kB / 294.1 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.784e-05/0.003888, allocations: 12.36 kB / 294.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.449e-05/0.003942, allocations: 31.92 kB / 294.2 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/0.004068, allocations: 82.59 kB / 294.3 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.004265, allocations: 73.3 kB / 294.3 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.999e-05/0.004305, allocations: 23.67 kB / 294.4 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.542e-05/0.00435, allocations: 8 kB / 294.4 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.004377, allocations: 38.55 kB / 294.4 MB, free: 4.418 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.854e-06/0.004379, allocations: 0 / 294.4 MB, free: 4.418 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.003142/0.007522, allocations: 1.695 MB / 296.1 MB, free: 2.645 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.007558, allocations: 55.64 kB / 296.2 MB, free: 2.578 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.624e-05/0.007614, allocations: 94.72 kB / 296.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.007641, allocations: 33.7 kB / 296.3 MB, free: 2.434 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.702e-05/0.007668, allocations: 84.62 kB / 296.4 MB, free: 2.348 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.322e-05/0.007751, allocations: 99.11 kB / 296.5 MB, free: 2.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.423e-05/0.007845, allocations: 61.59 kB / 296.5 MB, free: 2.184 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.48e-05/0.00794, allocations: 322.8 kB / 296.8 MB, free: 1.859 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.00809, allocations: 150.8 kB / 297 MB, free: 1.711 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.008245, allocations: 156.1 kB / 297.1 MB, free: 1.559 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/0.008587, allocations: 347.3 kB / 297.5 MB, free: 1.215 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.008588, allocations: 0 / 297.5 MB, free: 1.215 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004099/0.008998, allocations: 377.6 kB / 297.8 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.009017, allocations: 8 kB / 297.9 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003312/0.009348, allocations: 316.4 kB / 298.2 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.009361, allocations: 3.984 kB / 298.2 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.009596, allocations: 75.88 kB / 298.2 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.009601, allocations: 4 kB / 298.2 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.19e-05/0.009653, allocations: 7.984 kB / 298.3 MB, free: 444 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.335e-05/0.009696, allocations: 28 kB / 298.3 MB, free: 416 kB / 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 0.0001098/0.009806, allocations: 128.6 kB / 298.4 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.511e-05/0.009851, allocations: 19.94 kB / 298.4 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007662/0.01062, allocations: 471.3 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.01063, allocations: 8 kB / 298.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.01063, allocations: 0 / 298.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.01063, allocations: 0 / 298.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008221/0.01146, allocations: 0.6841 MB / 299.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003155/0.01177, allocations: 297.5 kB / 299.9 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.01194, allocations: 51.97 kB / 299.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.01196, allocations: 20.09 kB / 299.9 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.01196, allocations: 4 kB / 299.9 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.01199, allocations: 19.94 kB / 300 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.01199, allocations: 0 / 300 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.012, allocations: 7.984 kB / 300 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006467/0.01265, allocations: 0.6337 MB / 300.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.01268, allocations: 12 kB / 300.6 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.01279, allocations: 8 kB / 300.6 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/0.01286, allocations: 39.88 kB / 300.7 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.916e-05/0.0129, allocations: 32 kB / 300.7 MB, free: 13.89 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.486e-05/0.01292, allocations: 8.891 kB / 300.7 MB, free: 13.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01292, allocations: 0 / 300.7 MB, free: 13.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003624/0.01328, allocations: 83.86 kB / 300.8 MB, free: 13.8 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (xIntegrated) * Number of discrete variables: 2 ($cse14,i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.0002296/0.01351, allocations: 148.1 kB / 300.9 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004188/0.01393, allocations: 362 kB / 301.3 MB, free: 13.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.457e-05/0.01394, allocations: 4 kB / 301.3 MB, free: 13.28 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000352/0.0143, allocations: 0.5444 MB / 301.8 MB, free: 12.65 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.01454, allocations: 48.05 kB / 301.9 MB, free: 12.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/0.01721, allocations: 1.202 MB / 303.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.505e-05/0.01727, allocations: 84.48 kB / 303.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001659/0.01744, allocations: 45.64 kB / 303.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003412/0.01778, allocations: 147.3 kB / 303.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of SimCode: time 1.322e-06/0.01778, allocations: 7.938 kB / 303.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of Templates: time 0.00665/0.02443, allocations: 3.715 MB / 307.1 MB, free: 7.398 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestInterpolateTimeVarying/TestInterpolateTimeVarying.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.8798558404669166]