Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.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.001822/0.001822, allocations: 115.8 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.002311/0.002311, allocations: 208.9 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.492/1.492, allocations: 230.2 MB / 255.1 MB, free: 15.21 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.2249/0.2249, allocations: 46.89 MB / 358.1 MB, free: 10.5 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.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles") [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.002336/0.002336, allocations: 75.88 kB / 0.4923 GB, free: 8.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1275, allocations: 65.98 MB / 0.5568 GB, free: 5.934 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001643/0.1291, allocations: 486.5 kB / 0.5572 GB, free: 5.453 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002205/0.1313, allocations: 1.278 MB / 0.5585 GB, free: 4.172 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.426e-05/0.1313, allocations: 0 / 0.5585 GB, free: 4.172 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.622e-05/0.1314, allocations: 4 kB / 0.5585 GB, free: 4.168 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.1315, allocations: 12 kB / 0.5585 GB, free: 4.156 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Utilities.mo:455:3-487:12:writable] Warning: Pure function 'ModelicaTest.Utilities.Files' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.1326, allocations: 246.4 kB / 0.5587 GB, free: 3.918 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.106e-05/0.1326, allocations: 15.92 kB / 0.5588 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.153e-05/0.1326, allocations: 0 / 0.5588 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.551e-05/0.1327, allocations: 0 / 0.5588 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.863e-05/0.1327, allocations: 15.92 kB / 0.5588 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.264e-06/0.1328, allocations: 0 / 0.5588 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004041/0.1368, allocations: 0.6849 MB / 0.5594 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.144e-06/0.1368, allocations: 0 / 0.5594 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.977e-05/0.1368, allocations: 3.984 kB / 0.5594 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.1371, allocations: 183.5 kB / 0.5596 GB, free: 3.141 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1371, allocations: 0 / 0.5596 GB, free: 3.141 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1371, allocations: 4 kB / 0.5596 GB, free: 3.137 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1371, allocations: 4 kB / 0.5596 GB, free: 3.133 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.000442/0.1376, allocations: 388.8 kB / 0.56 GB, free: 2.695 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.1376, allocations: 8.031 kB / 0.56 GB, free: 2.688 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.006e-05/0.1376, allocations: 0.9375 kB / 0.56 GB, free: 2.688 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.1377, allocations: 160.4 kB / 0.5602 GB, free: 2.492 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.1378, allocations: 8.312 kB / 0.5602 GB, free: 2.484 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-06/0.1378, allocations: 384 / 0.5602 GB, free: 2.484 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.237e-05/0.1378, allocations: 38.25 kB / 0.5602 GB, free: 2.441 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1379, allocations: 192 / 0.5602 GB, free: 2.441 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.1379, allocations: 3.938 kB / 0.5602 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-06/0.1379, allocations: 0 / 0.5602 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.347e-05/0.1379, allocations: 7.938 kB / 0.5602 GB, free: 2.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.138, allocations: 145.7 kB / 0.5604 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.169e-05/0.1381, allocations: 18.56 kB / 0.5604 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.591e-05/0.1381, allocations: 4.922 kB / 0.5604 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.1381, allocations: 8 kB / 0.5604 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.751e-05/0.1382, allocations: 60.27 kB / 0.5604 GB, free: 2.121 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1382, allocations: 0 / 0.5604 GB, free: 2.121 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001677/0.1383, allocations: 75.2 kB / 0.5605 GB, free: 2.035 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.1384, allocations: 81.11 kB / 0.5606 GB, free: 1.938 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.41e-05/0.1385, allocations: 93.86 kB / 0.5607 GB, free: 1.836 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.1385, allocations: 25.95 kB / 0.5607 GB, free: 1.805 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.678e-05/0.1385, allocations: 88.14 kB / 0.5608 GB, free: 1.715 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.285e-05/0.1385, allocations: 0 / 0.5608 GB, free: 1.715 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/0.1386, allocations: 9.719 kB / 0.5608 GB, free: 1.699 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1387, allocations: 310.8 kB / 0.5611 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.154e-05/0.1387, allocations: 7.984 kB / 0.5611 GB, free: 1.379 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-06/0.1387, allocations: 0 / 0.5611 GB, free: 1.379 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.346e-05/0.1388, allocations: 64.27 kB / 0.5612 GB, free: 1.301 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.1388, allocations: 4.062 kB / 0.5612 GB, free: 1.297 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.377e-05/0.1389, allocations: 67.3 kB / 0.5612 GB, free: 1.219 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.641e-05/0.1389, allocations: 37.69 kB / 0.5613 GB, free: 1.176 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.1389, allocations: 3.938 kB / 0.5613 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1389, allocations: 0 / 0.5613 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.1389, allocations: 0 / 0.5613 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.1389, allocations: 0 / 0.5613 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.583e-05/0.139, allocations: 4 kB / 0.5613 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.139, allocations: 0 / 0.5613 GB, free: 1.168 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.365e-05/0.1391, allocations: 143.6 kB / 0.5614 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-06/0.1391, allocations: 0 / 0.5614 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.069e-05/0.1391, allocations: 7.062 kB / 0.5614 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1391, allocations: 3.938 kB / 0.5614 GB, free: 1.004 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1391, allocations: 4 kB / 0.5614 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1391, allocations: 3.984 kB / 0.5614 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.1392, allocations: 141.7 kB / 0.5616 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1392, allocations: 0 / 0.5616 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.1392, allocations: 0 / 0.5616 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.1392, allocations: 4 kB / 0.5616 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1392, allocations: 7.922 kB / 0.5616 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1392, allocations: 4 kB / 0.5616 GB, free: 0.793 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1392, allocations: 3.984 kB / 0.5616 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.1393, allocations: 90.78 kB / 0.5617 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.4e-05/0.1394, allocations: 77.11 kB / 0.5617 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.1394, allocations: 11.92 kB / 0.5618 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.047e-06/0.1394, allocations: 0 / 0.5618 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.029e-05/0.1394, allocations: 0 / 0.5618 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.1394, allocations: 4.031 kB / 0.5618 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.476e-05/0.1395, allocations: 83.28 kB / 0.5618 GB, free: 496 kB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1395, allocations: 0 / 0.5618 GB, free: 496 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003106/0.1398, allocations: 59.86 kB / 0.5619 GB, free: 436 kB / 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.0008289/0.1406, allocations: 345.5 kB / 0.5622 GB, free: 144 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.1407, allocations: 63.34 kB / 0.5623 GB, free: 68 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1407, allocations: 0 / 0.5623 GB, free: 68 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.332e-05/0.1408, allocations: 55.47 kB / 0.5623 GB, free: 16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.1409, allocations: 7.984 kB / 0.5623 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000194/0.1411, allocations: 102.7 kB / 0.5624 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.1414, allocations: 0.669 MB / 0.5631 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.259e-05/0.1414, allocations: 11.44 kB / 0.5631 GB, free: 15.15 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1414, allocations: 0 / 0.5631 GB, free: 15.15 MB / 430.1 MB Notification: Performance of Templates: time 0.00386/0.1453, allocations: 1.684 MB / 0.5648 GB, free: 13.47 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.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.271573008969426]