Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.00177/0.00177, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.002144/0.002144, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.509/1.509, allocations: 230.2 MB / 255.2 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2208/0.2208, allocations: 46.89 MB / 358.1 MB, free: 10.51 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 84.75 kB / 0.4923 GB, free: 26.61 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1274, allocations: 65.98 MB / 0.5568 GB, free: 8.637 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001691/0.1291, allocations: 0.4892 MB / 0.5573 GB, free: 8.141 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.1306, allocations: 0.7741 MB / 0.558 GB, free: 7.363 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.736e-05/0.1306, allocations: 4 kB / 0.558 GB, free: 7.359 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.22e-05/0.1306, allocations: 3.938 kB / 0.558 GB, free: 7.355 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 4.608e-06/0.1306, allocations: 0 / 0.558 GB, free: 7.355 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.001755/0.1324, allocations: 0.6577 MB / 0.5587 GB, free: 6.695 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.192e-05/0.1324, allocations: 7.922 kB / 0.5587 GB, free: 6.688 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.408e-05/0.1324, allocations: 4 kB / 0.5587 GB, free: 6.684 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.636e-05/0.1325, allocations: 0 / 0.5587 GB, free: 6.684 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.483e-05/0.1325, allocations: 0 / 0.5587 GB, free: 6.684 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.919e-06/0.1325, allocations: 0 / 0.5587 GB, free: 6.684 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007384/0.1332, allocations: 419.2 kB / 0.5591 GB, free: 6.273 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.693e-06/0.1332, allocations: 0 / 0.5591 GB, free: 6.273 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.197e-05/0.1332, allocations: 4 kB / 0.5591 GB, free: 6.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004815/0.1337, allocations: 351.1 kB / 0.5594 GB, free: 5.926 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1337, allocations: 0 / 0.5594 GB, free: 5.926 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1337, allocations: 0 / 0.5594 GB, free: 5.926 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.1337, allocations: 0 / 0.5594 GB, free: 5.926 MB / 414.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.000422/0.1342, allocations: 388.8 kB / 0.5598 GB, free: 5.488 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1342, allocations: 12.03 kB / 0.5598 GB, free: 5.477 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.1342, allocations: 0.9375 kB / 0.5598 GB, free: 5.477 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.1343, allocations: 160.4 kB / 0.5599 GB, free: 5.281 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.1344, allocations: 4.375 kB / 0.5599 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.1344, allocations: 4.375 kB / 0.56 GB, free: 5.273 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.1345, allocations: 34.2 kB / 0.56 GB, free: 5.234 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1345, allocations: 192 / 0.56 GB, free: 5.234 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.1345, allocations: 3.938 kB / 0.56 GB, free: 5.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1345, allocations: 0 / 0.56 GB, free: 5.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.818e-05/0.1345, allocations: 4 kB / 0.56 GB, free: 5.227 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.1347, allocations: 145.7 kB / 0.5601 GB, free: 5.035 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.89e-05/0.1347, allocations: 18.58 kB / 0.5602 GB, free: 5.008 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.961e-05/0.1347, allocations: 12.95 kB / 0.5602 GB, free: 4.992 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.1348, allocations: 0 / 0.5602 GB, free: 4.992 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.599e-05/0.1348, allocations: 64.14 kB / 0.5602 GB, free: 4.914 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.1348, allocations: 0 / 0.5602 GB, free: 4.914 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001811/0.135, allocations: 67.33 kB / 0.5603 GB, free: 4.836 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.1351, allocations: 81.11 kB / 0.5604 GB, free: 4.738 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.315e-05/0.1351, allocations: 93.81 kB / 0.5605 GB, free: 4.637 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1351, allocations: 29.83 kB / 0.5605 GB, free: 4.602 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.1352, allocations: 80.14 kB / 0.5606 GB, free: 4.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.1352, allocations: 4 kB / 0.5606 GB, free: 4.516 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/0.1352, allocations: 9.719 kB / 0.5606 GB, free: 4.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1354, allocations: 314.8 kB / 0.5609 GB, free: 4.184 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.208e-05/0.1354, allocations: 4 kB / 0.5609 GB, free: 4.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.72e-06/0.1354, allocations: 0 / 0.5609 GB, free: 4.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.264e-05/0.1355, allocations: 72.27 kB / 0.5609 GB, free: 4.094 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1355, allocations: 0 / 0.5609 GB, free: 4.094 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.511e-05/0.1355, allocations: 55.41 kB / 0.561 GB, free: 4.027 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/0.1356, allocations: 41.62 kB / 0.561 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1356, allocations: 0 / 0.561 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.1356, allocations: 3.938 kB / 0.561 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.1356, allocations: 0 / 0.561 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1356, allocations: 0 / 0.561 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.43e-05/0.1356, allocations: 0 / 0.561 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.1356, allocations: 4 kB / 0.561 GB, free: 3.973 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 9.855e-05/0.1357, allocations: 135.6 kB / 0.5612 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.1358, allocations: 4 kB / 0.5612 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.336e-05/0.1358, allocations: 11.06 kB / 0.5612 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1358, allocations: 0 / 0.5612 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1358, allocations: 0 / 0.5612 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1358, allocations: 3.984 kB / 0.5612 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.1359, allocations: 149.6 kB / 0.5613 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1359, allocations: 3.984 kB / 0.5613 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-07/0.1359, allocations: 0 / 0.5613 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1359, allocations: 4 kB / 0.5613 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1359, allocations: 7.938 kB / 0.5614 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.1359, allocations: 0 / 0.5614 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1359, allocations: 0 / 0.5614 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.1361, allocations: 90.83 kB / 0.5614 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.1361, allocations: 81.05 kB / 0.5615 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.1361, allocations: 7.938 kB / 0.5615 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.137e-06/0.1361, allocations: 0 / 0.5615 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.1362, allocations: 8.016 kB / 0.5615 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.1362, allocations: 4 kB / 0.5615 GB, free: 3.367 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.062e-05/0.1362, allocations: 75.28 kB / 0.5616 GB, free: 3.293 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1362, allocations: 0 / 0.5616 GB, free: 3.293 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004306/0.1366, allocations: 83.73 kB / 0.5617 GB, free: 3.211 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.0006182/0.1372, allocations: 227.5 kB / 0.5619 GB, free: 2.984 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001231/0.1374, allocations: 63.34 kB / 0.562 GB, free: 2.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1374, allocations: 0 / 0.562 GB, free: 2.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.411e-05/0.1374, allocations: 59.39 kB / 0.562 GB, free: 2.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.1376, allocations: 0 / 0.562 GB, free: 2.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/0.1378, allocations: 110.8 kB / 0.5621 GB, free: 2.699 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.1382, allocations: 0.6729 MB / 0.5628 GB, free: 2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.534e-05/0.1382, allocations: 7.438 kB / 0.5628 GB, free: 1.992 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1382, allocations: 0 / 0.5628 GB, free: 1.992 MB / 414.1 MB Notification: Performance of Templates: time 0.004393/0.1426, allocations: 1.779 MB / 0.5645 GB, free: 216 kB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.994358744006604]