Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009526/0.0009526, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008846/0.0008846, allocations: 160.2 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9518/0.9518, allocations: 177 MB / 205.2 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2355/0.2355, allocations: 34.87 MB / 296.6 MB, free: 0.5117 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 325.9 MB, free: 7.219 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173e-05/1.29e-05, allocations: 2.312 kB / 325.9 MB, free: 7.215 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.0009811/0.000994, allocations: 0.524 MB / 326.4 MB, free: 6.695 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003654/0.001359, allocations: 220.2 kB / 326.6 MB, free: 6.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.109e-05/0.001381, allocations: 0 / 326.6 MB, free: 6.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.001505, allocations: 7.938 kB / 326.6 MB, free: 6.473 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 1.985e-05/0.001525, allocations: 0 / 326.6 MB, free: 6.473 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.001755, allocations: 43.88 kB / 326.7 MB, free: 6.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.591e-05/0.001821, allocations: 27.91 kB / 326.7 MB, free: 6.402 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.504e-05/0.001856, allocations: 3.984 kB / 326.7 MB, free: 6.398 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.578e-05/0.001891, allocations: 15.98 kB / 326.7 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.17e-05/0.001983, allocations: 19.97 kB / 326.7 MB, free: 6.363 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.001996, allocations: 4 kB / 326.8 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.176e-05/0.002088, allocations: 55.83 kB / 326.8 MB, free: 6.305 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.303e-05/0.002121, allocations: 19.91 kB / 326.8 MB, free: 6.285 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.006e-05/0.002141, allocations: 8.625 kB / 326.8 MB, free: 6.277 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.002267, allocations: 87.75 kB / 326.9 MB, free: 6.191 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.002269, allocations: 0 / 326.9 MB, free: 6.191 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.002269, allocations: 0 / 326.9 MB, free: 6.191 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.002273, allocations: 0 / 326.9 MB, free: 6.191 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004818/0.002755, allocations: 246.2 kB / 327.2 MB, free: 5.926 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.002789, allocations: 12.03 kB / 327.2 MB, free: 5.914 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.00282, allocations: 4.938 kB / 327.2 MB, free: 5.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.574e-05/0.002906, allocations: 109.7 kB / 327.3 MB, free: 5.777 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.002918, allocations: 8.312 kB / 327.3 MB, free: 5.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.002945, allocations: 12.34 kB / 327.3 MB, free: 5.758 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.003059, allocations: 74.78 kB / 327.4 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.003068, allocations: 192 / 327.4 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.003077, allocations: 384 / 327.4 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/0.003108, allocations: 16.36 kB / 327.4 MB, free: 5.656 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.887e-05/0.003147, allocations: 27.92 kB / 327.4 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001112/0.003259, allocations: 90.58 kB / 327.5 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.003386, allocations: 65.31 kB / 327.6 MB, free: 5.449 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.876e-05/0.003414, allocations: 28.84 kB / 327.6 MB, free: 5.418 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.003442, allocations: 11.94 kB / 327.6 MB, free: 5.406 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.003461, allocations: 34.56 kB / 327.6 MB, free: 5.363 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 8.51e-07/0.003462, allocations: 0 / 327.6 MB, free: 5.363 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.001742/0.005204, allocations: 1.378 MB / 329 MB, free: 3.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.005235, allocations: 55.64 kB / 329.1 MB, free: 3.863 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.581e-05/0.005281, allocations: 98.7 kB / 329.2 MB, free: 3.754 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.005303, allocations: 33.7 kB / 329.2 MB, free: 3.715 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.53e-05/0.005328, allocations: 80.64 kB / 329.3 MB, free: 3.633 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.409e-05/0.005392, allocations: 103.1 kB / 329.4 MB, free: 3.531 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-05/0.005456, allocations: 57.66 kB / 329.4 MB, free: 3.469 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.005556, allocations: 322.8 kB / 329.8 MB, free: 3.145 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.005688, allocations: 150.8 kB / 329.9 MB, free: 2.996 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.005815, allocations: 156 kB / 330.1 MB, free: 2.844 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.006095, allocations: 339 kB / 330.4 MB, free: 2.508 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.006097, allocations: 4 kB / 330.4 MB, free: 2.504 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005982/0.006695, allocations: 378 kB / 330.8 MB, free: 2.129 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.006708, allocations: 8 kB / 330.8 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002196/0.006928, allocations: 320.4 kB / 331.1 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.198e-06/0.006937, allocations: 0 / 331.1 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.007065, allocations: 63.89 kB / 331.1 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.135e-06/0.007068, allocations: 0 / 331.1 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.299e-05/0.007101, allocations: 8 kB / 331.2 MB, free: 1.738 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.00713, allocations: 31.98 kB / 331.2 MB, free: 1.707 MB / 298.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 7.533e-05/0.007205, allocations: 136.5 kB / 331.3 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.007233, allocations: 19.92 kB / 331.3 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004809/0.007714, allocations: 463.2 kB / 331.8 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.007719, allocations: 8 kB / 331.8 MB, free: 1.074 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.007721, allocations: 3.984 kB / 331.8 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.007729, allocations: 4 kB / 331.8 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006119/0.008341, allocations: 0.6808 MB / 332.5 MB, free: 348 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002161/0.008557, allocations: 302.5 kB / 332.8 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.008675, allocations: 47.95 kB / 332.8 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.00868, allocations: 4 kB / 332.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.0087, allocations: 24.12 kB / 332.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.008704, allocations: 7.938 kB / 332.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.008706, allocations: 0 / 332.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004592/0.009165, allocations: 0.6411 MB / 333.5 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.011e-05/0.009175, allocations: 7.953 kB / 333.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.0092, allocations: 11.98 kB / 333.5 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.209e-05/0.009262, allocations: 8 kB / 333.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.009299, allocations: 35.89 kB / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.009329, allocations: 35.98 kB / 333.6 MB, free: 15.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.859e-06/0.009339, allocations: 8.891 kB / 333.6 MB, free: 15.17 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009339, allocations: 0 / 333.6 MB, free: 15.17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001974/0.009537, allocations: 79.88 kB / 333.7 MB, free: 15.09 MB / 314.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.0001631/0.0097, allocations: 136.2 kB / 333.8 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002828/0.009983, allocations: 372.6 kB / 334.2 MB, free: 14.58 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.009985, allocations: 0 / 334.2 MB, free: 14.58 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.01023, allocations: 0.5408 MB / 334.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.01037, allocations: 24.05 kB / 334.8 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.01204, allocations: 1.179 MB / 335.9 MB, free: 12.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.656e-05/0.01209, allocations: 84.48 kB / 336 MB, free: 12.6 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.588e-05/0.01218, allocations: 49.62 kB / 336.1 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/0.01239, allocations: 147.3 kB / 336.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of SimCode: time 7.71e-07/0.0124, allocations: 0 / 336.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of Templates: time 0.004592/0.01699, allocations: 3.644 MB / 339.8 MB, free: 8.82 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.9048996157944202]