Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestVectors.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.001385/0.001385, allocations: 107.9 kB / 19.12 MB, free: 3.797 MB / 14.72 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.001564/0.001564, allocations: 208.9 kB / 22.08 MB, free: 0.8438 MB / 14.72 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 1.443/1.443, allocations: 227.4 MB / 252.3 MB, free: 64 kB / 190.1 MB " [Timeout remaining time 178] 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.2434/0.2434, allocations: 46.16 MB / 351.8 MB, free: 14.3 MB / 286.1 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.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002283, allocations: 85.5 kB / 490.9 MB, free: 28.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1228, allocations: 62.45 MB / 0.5403 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001652/0.1245, allocations: 490.5 kB / 0.5408 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.1261, allocations: 0.7646 MB / 0.5415 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.572e-05/0.1261, allocations: 0 / 0.5415 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.576e-05/0.1261, allocations: 4 kB / 0.5415 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.126e-06/0.1261, allocations: 0 / 0.5415 GB, free: 3.012 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:612:3-661:14:writable] Warning: Pure function 'ModelicaTest.Math.Vectors' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.1279, allocations: 0.664 MB / 0.5422 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.397e-05/0.128, allocations: 0 / 0.5422 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.107e-05/0.128, allocations: 3.984 kB / 0.5422 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.496e-05/0.1281, allocations: 0 / 0.5422 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.831e-05/0.1281, allocations: 4 kB / 0.5422 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.972e-06/0.1281, allocations: 0 / 0.5422 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007241/0.1288, allocations: 395.3 kB / 0.5426 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.926e-06/0.1288, allocations: 3.984 kB / 0.5426 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.682e-05/0.1289, allocations: 0 / 0.5426 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004805/0.1293, allocations: 347 kB / 0.5429 GB, free: 1.609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1294, allocations: 4 kB / 0.5429 GB, free: 1.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1294, allocations: 0 / 0.5429 GB, free: 1.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.1294, allocations: 4 kB / 0.5429 GB, free: 1.602 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004513/0.1298, allocations: 388.8 kB / 0.5433 GB, free: 1.164 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.1299, allocations: 8.031 kB / 0.5433 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.1299, allocations: 0.9375 kB / 0.5433 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.1301, allocations: 164.4 kB / 0.5435 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1301, allocations: 384 / 0.5435 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.988e-06/0.1301, allocations: 4.375 kB / 0.5435 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.227e-05/0.1302, allocations: 30.27 kB / 0.5435 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.1302, allocations: 192 / 0.5435 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.1302, allocations: 7.875 kB / 0.5435 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1302, allocations: 3.984 kB / 0.5435 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.755e-05/0.1302, allocations: 4 kB / 0.5435 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001532/0.1304, allocations: 149.7 kB / 0.5437 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.182e-05/0.1304, allocations: 18.67 kB / 0.5437 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.743e-05/0.1305, allocations: 8.859 kB / 0.5437 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.1305, allocations: 7.938 kB / 0.5437 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.151e-05/0.1306, allocations: 56.27 kB / 0.5437 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1306, allocations: 0 / 0.5437 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001741/0.1307, allocations: 71.27 kB / 0.5438 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.1308, allocations: 77.11 kB / 0.5439 GB, free: 424 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.053e-05/0.1309, allocations: 93.81 kB / 0.544 GB, free: 320 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.1309, allocations: 33.7 kB / 0.544 GB, free: 280 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/0.1309, allocations: 84.27 kB / 0.5441 GB, free: 192 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.131, allocations: 0 / 0.5441 GB, free: 192 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.131, allocations: 9.719 kB / 0.5441 GB, free: 176 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.1312, allocations: 314.8 kB / 0.5444 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.28e-05/0.1312, allocations: 3.984 kB / 0.5444 GB, free: 15.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.49e-06/0.1312, allocations: 0 / 0.5444 GB, free: 15.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.747e-05/0.1313, allocations: 64.2 kB / 0.5445 GB, free: 15.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1313, allocations: 0 / 0.5445 GB, free: 15.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.405e-05/0.1314, allocations: 67.47 kB / 0.5445 GB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/0.1314, allocations: 33.69 kB / 0.5446 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1314, allocations: 0 / 0.5446 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1314, allocations: 3.938 kB / 0.5446 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.1314, allocations: 0 / 0.5446 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.1314, allocations: 0 / 0.5446 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.1315, allocations: 4 kB / 0.5446 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.1315, allocations: 0 / 0.5446 GB, free: 15.65 MB / 414.1 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 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001033/0.1316, allocations: 131.5 kB / 0.5447 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/0.1316, allocations: 11.97 kB / 0.5447 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.021e-05/0.1316, allocations: 7.062 kB / 0.5447 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1316, allocations: 0 / 0.5447 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1316, allocations: 0 / 0.5447 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1316, allocations: 0 / 0.5447 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.1318, allocations: 153.6 kB / 0.5449 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1318, allocations: 0 / 0.5449 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-07/0.1318, allocations: 4 kB / 0.5449 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.1318, allocations: 0 / 0.5449 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.1318, allocations: 7.938 kB / 0.5449 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1318, allocations: 3.938 kB / 0.5449 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1318, allocations: 4 kB / 0.5449 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.1319, allocations: 94.77 kB / 0.545 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.132, allocations: 77.11 kB / 0.545 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.132, allocations: 3.938 kB / 0.545 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.699e-05/0.132, allocations: 4 kB / 0.545 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.949e-05/0.1321, allocations: 7.984 kB / 0.545 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.1321, allocations: 0 / 0.545 GB, free: 15.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.661e-05/0.1321, allocations: 79.31 kB / 0.5451 GB, free: 14.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1321, allocations: 0 / 0.5451 GB, free: 14.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003759/0.1325, allocations: 83.73 kB / 0.5452 GB, free: 14.88 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000563/0.1331, allocations: 216.9 kB / 0.5454 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.1332, allocations: 63.34 kB / 0.5455 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1332, allocations: 0 / 0.5455 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.252e-05/0.1333, allocations: 67.39 kB / 0.5455 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.1334, allocations: 6.188 kB / 0.5455 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001932/0.1336, allocations: 106.8 kB / 0.5456 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.1339, allocations: 0.6729 MB / 0.5463 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.419e-05/0.1339, allocations: 7.438 kB / 0.5463 GB, free: 13.66 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1339, allocations: 0 / 0.5463 GB, free: 13.66 MB / 414.1 MB Notification: Performance of Templates: time 0.004093/0.138, allocations: 1.772 MB / 0.548 GB, free: 11.89 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestVectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.503471166011877]