Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric.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.001341/0.001341, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001038/0.001038, allocations: 173.1 kB / 24.91 MB, free: 8.258 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 0.9909/0.9909, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2468/0.2468, allocations: 32.8 MB / 294.6 MB, free: 1.258 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.Math.TestInterpolateParametric,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric") translateModel(ModelicaTest.Math.TestInterpolateParametric,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 3.938 kB / 323.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.789e-05, allocations: 11.08 kB / 323.3 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateParametric): time 0.002175/0.002203, allocations: 0.5573 MB / 323.8 MB, free: 9.125 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005937/0.002797, allocations: 215.3 kB / 324 MB, free: 8.914 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.498e-05/0.002822, allocations: 0 / 324 MB, free: 8.914 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.903e-05/0.002891, allocations: 0 / 324 MB, free: 8.914 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.465e-05/0.002936, allocations: 3.938 kB / 324 MB, free: 8.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003806/0.003316, allocations: 43.81 kB / 324.1 MB, free: 8.867 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.409e-05/0.0034, allocations: 15.92 kB / 324.1 MB, free: 8.852 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.03e-05/0.00345, allocations: 12 kB / 324.1 MB, free: 8.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.848e-05/0.003499, allocations: 11.98 kB / 324.1 MB, free: 8.828 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.411e-05/0.003593, allocations: 11.97 kB / 324.1 MB, free: 8.816 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.003615, allocations: 4 kB / 324.1 MB, free: 8.812 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.003813, allocations: 55.94 kB / 324.2 MB, free: 8.758 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.726e-05/0.00387, allocations: 15.94 kB / 324.2 MB, free: 8.742 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.003906, allocations: 15.92 kB / 324.2 MB, free: 8.727 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.004107, allocations: 67.78 kB / 324.3 MB, free: 8.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.004111, allocations: 0 / 324.3 MB, free: 8.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.004112, allocations: 0 / 324.3 MB, free: 8.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.004117, allocations: 0 / 324.3 MB, free: 8.66 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003868/0.004504, allocations: 269.9 kB / 324.5 MB, free: 8.371 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.004542, allocations: 8.031 kB / 324.5 MB, free: 8.363 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.004575, allocations: 4.938 kB / 324.6 MB, free: 8.359 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.004692, allocations: 117.7 kB / 324.7 MB, free: 8.219 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.004706, allocations: 4.375 kB / 324.7 MB, free: 8.215 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.004726, allocations: 4.328 kB / 324.7 MB, free: 8.211 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.451e-05/0.004821, allocations: 62.78 kB / 324.7 MB, free: 8.137 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.004834, allocations: 4.188 kB / 324.7 MB, free: 8.133 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.004844, allocations: 4.375 kB / 324.7 MB, free: 8.129 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.004851, allocations: 8.312 kB / 324.8 MB, free: 8.121 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.562e-05/0.004877, allocations: 11.88 kB / 324.8 MB, free: 8.109 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000131/0.005008, allocations: 66.7 kB / 324.8 MB, free: 8.027 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.951e-05/0.005078, allocations: 36.27 kB / 324.9 MB, free: 7.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.467e-05/0.005092, allocations: 4.859 kB / 324.9 MB, free: 7.973 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.46e-05/0.005137, allocations: 12.08 kB / 324.9 MB, free: 7.961 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.005167, allocations: 34.56 kB / 324.9 MB, free: 7.918 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.005168, allocations: 0 / 324.9 MB, free: 7.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000872/0.00604, allocations: 367.6 kB / 325.3 MB, free: 7.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.006067, allocations: 51.41 kB / 325.3 MB, free: 7.438 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.266e-05/0.00615, allocations: 131.2 kB / 325.5 MB, free: 7.297 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.006163, allocations: 25.7 kB / 325.5 MB, free: 7.266 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.758e-05/0.006191, allocations: 84.14 kB / 325.6 MB, free: 7.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.006225, allocations: 27.77 kB / 325.6 MB, free: 7.152 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/0.006259, allocations: 13.72 kB / 325.6 MB, free: 7.133 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.832e-05/0.006357, allocations: 330.8 kB / 325.9 MB, free: 6.801 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.834e-05/0.006376, allocations: 10.83 kB / 325.9 MB, free: 6.789 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.954e-05/0.006405, allocations: 13.72 kB / 325.9 MB, free: 6.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.301e-05/0.006458, allocations: 35.3 kB / 326 MB, free: 6.727 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.006459, allocations: 0 / 326 MB, free: 6.727 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.975e-05/0.006549, allocations: 51.33 kB / 326 MB, free: 6.668 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.006565, allocations: 8 kB / 326 MB, free: 6.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-05/0.006601, allocations: 19.91 kB / 326.1 MB, free: 6.641 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.006616, allocations: 0 / 326.1 MB, free: 6.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.483e-05/0.006681, allocations: 8 kB / 326.1 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.006686, allocations: 8.031 kB / 326.1 MB, free: 6.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.793e-05/0.006713, allocations: 7.938 kB / 326.1 MB, free: 6.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.006729, allocations: 4 kB / 326.1 MB, free: 6.613 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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.283e-05/0.006802, allocations: 112.7 kB / 326.2 MB, free: 6.492 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.006816, allocations: 4 kB / 326.2 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.006978, allocations: 77.72 kB / 326.3 MB, free: 6.406 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.006981, allocations: 0 / 326.3 MB, free: 6.406 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.006985, allocations: 4.188 kB / 326.3 MB, free: 6.402 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.00699, allocations: 4 kB / 326.3 MB, free: 6.398 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.007262, allocations: 250.7 kB / 326.5 MB, free: 6.129 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.262e-05/0.007305, allocations: 49.62 kB / 326.6 MB, free: 6.074 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.022e-05/0.007355, allocations: 11.98 kB / 326.6 MB, free: 6.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.007358, allocations: 0 / 326.6 MB, free: 6.062 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.007364, allocations: 0 / 326.6 MB, free: 6.062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.007367, allocations: 0 / 326.6 MB, free: 6.062 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.007368, allocations: 4 kB / 326.6 MB, free: 6.059 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.007525, allocations: 214.1 kB / 326.8 MB, free: 5.832 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.007538, allocations: 7.953 kB / 326.8 MB, free: 5.824 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.007551, allocations: 0 / 326.8 MB, free: 5.824 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.253e-05/0.007613, allocations: 3.984 kB / 326.8 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.007629, allocations: 7.938 kB / 326.8 MB, free: 5.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.00764, allocations: 4 kB / 326.8 MB, free: 5.809 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.54e-05/0.007675, allocations: 25.83 kB / 326.9 MB, free: 5.781 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007675, allocations: 0 / 326.9 MB, free: 5.781 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001919/0.007867, allocations: 47.86 kB / 326.9 MB, free: 5.734 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (xIntegrated) * Number of discrete variables: 2 ($cse2,i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001564/0.008024, allocations: 128.4 kB / 327 MB, free: 5.602 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.645e-05/0.00809, allocations: 28.78 kB / 327.1 MB, free: 5.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.008093, allocations: 0 / 327.1 MB, free: 5.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.228e-05/0.008135, allocations: 72.25 kB / 327.1 MB, free: 5.484 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000116/0.008251, allocations: 4 kB / 327.1 MB, free: 5.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000226/0.008477, allocations: 163.2 kB / 327.3 MB, free: 5.293 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.452e-05/0.008512, allocations: 67.33 kB / 327.4 MB, free: 5.207 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.716e-05/0.008539, allocations: 8.062 kB / 327.4 MB, free: 5.199 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.653e-05/0.008595, allocations: 67.36 kB / 327.4 MB, free: 5.133 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008596, allocations: 4 kB / 327.4 MB, free: 5.129 MB / 298.7 MB Notification: Performance of Templates: time 0.002858/0.01145, allocations: 1.362 MB / 328.8 MB, free: 3.785 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateParametric_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestInterpolateParametric/TestInterpolateParametric.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.8104120390489697]