Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001073/0.001073, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001252/0.002326, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0009446/0.0009446, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001171/0.002115, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.077/1.077, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1041/1.181, allocations: 53.87 MB / 243.8 MB, free: 14.9 MB / 250.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.2568/0.2568, allocations: 34.84 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02992/0.2867, allocations: 13.24 MB / 292.6 MB, free: 6.461 MB / 282.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.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 293.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.693e-05, allocations: 2.312 kB / 293.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.00204/0.002067, allocations: 0.5427 MB / 294.4 MB, free: 4.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.004468, allocations: 1.426 MB / 295.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.579e-05/0.004494, allocations: 0 / 295.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.22e-06/0.004499, allocations: 0 / 295.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.004602, allocations: 15.86 kB / 295.8 MB, free: 3.238 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:466:3-498: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.001351/0.005953, allocations: 238.3 kB / 296 MB, free: 3.012 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.124e-05/0.006045, allocations: 0 / 296 MB, free: 3.012 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.251e-05/0.006107, allocations: 11.94 kB / 296.1 MB, free: 3 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.093e-05/0.006178, allocations: 8 kB / 296.1 MB, free: 2.992 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.24e-05/0.00625, allocations: 7.984 kB / 296.1 MB, free: 2.984 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.006263, allocations: 0 / 296.1 MB, free: 2.984 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003634/0.009896, allocations: 1 MB / 297.1 MB, free: 2.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.009909, allocations: 0 / 297.1 MB, free: 2.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.009936, allocations: 0 / 297.1 MB, free: 2.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004385/0.01037, allocations: 187.5 kB / 297.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.389e-05/0.0104, allocations: 0 / 297.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.0104, allocations: 0 / 297.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.168e-05/0.01042, allocations: 0 / 297.2 MB, free: 2.086 MB / 282.7 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.0004577/0.01088, allocations: 294.8 kB / 297.5 MB, free: 1.766 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.01092, allocations: 8.922 kB / 297.5 MB, free: 1.758 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.365e-05/0.01095, allocations: 8.938 kB / 297.6 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.599e-05/0.01105, allocations: 102.3 kB / 297.7 MB, free: 1.625 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.01106, allocations: 4.375 kB / 297.7 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.01107, allocations: 12.3 kB / 297.7 MB, free: 1.609 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.677e-05/0.01114, allocations: 51.97 kB / 297.7 MB, free: 1.547 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.01115, allocations: 192 / 297.7 MB, free: 1.547 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.01116, allocations: 4.359 kB / 297.7 MB, free: 1.543 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.01117, allocations: 4.375 kB / 297.7 MB, free: 1.539 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.925e-05/0.01119, allocations: 29.64 kB / 297.8 MB, free: 1.504 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.608e-05/0.01126, allocations: 61.05 kB / 297.8 MB, free: 1.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.784e-05/0.01131, allocations: 48.25 kB / 297.9 MB, free: 1.367 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.442e-05/0.01134, allocations: 46.53 kB / 297.9 MB, free: 1.312 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.09e-06/0.01134, allocations: 4 kB / 297.9 MB, free: 1.309 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.01138, allocations: 56.27 kB / 298 MB, free: 1.238 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.01138, allocations: 0 / 298 MB, free: 1.238 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001438/0.01152, allocations: 114.8 kB / 298.1 MB, free: 1.102 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.01159, allocations: 77.11 kB / 298.2 MB, free: 1.008 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.795e-05/0.01166, allocations: 98.72 kB / 298.3 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.01167, allocations: 25.95 kB / 298.3 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.537e-05/0.0117, allocations: 88.14 kB / 298.4 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.01172, allocations: 3.953 kB / 298.4 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.01175, allocations: 9.719 kB / 298.4 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.01185, allocations: 326.8 kB / 298.7 MB, free: 440 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.108e-05/0.01187, allocations: 29.64 kB / 298.7 MB, free: 404 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.064e-05/0.01189, allocations: 29.7 kB / 298.8 MB, free: 368 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.691e-05/0.01194, allocations: 64.27 kB / 298.8 MB, free: 288 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.01194, allocations: 0 / 298.8 MB, free: 288 kB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.269e-05/0.01201, allocations: 85.19 kB / 298.9 MB, free: 184 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.376e-05/0.01206, allocations: 37.7 kB / 298.9 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.01206, allocations: 0 / 298.9 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.01207, allocations: 0 / 298.9 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.384e-06/0.01208, allocations: 0 / 298.9 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.01209, allocations: 0 / 298.9 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.873e-05/0.0121, allocations: 0 / 298.9 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.974e-06/0.01211, allocations: 3.938 kB / 298.9 MB, free: 136 kB / 282.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 (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.537e-05/0.01221, allocations: 143.5 kB / 299.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-06/0.01221, allocations: 0 / 299.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.353e-05/0.01223, allocations: 7.156 kB / 299.1 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.01223, allocations: 4 kB / 299.1 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01223, allocations: 0 / 299.1 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.01223, allocations: 0 / 299.1 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.412e-05/0.0123, allocations: 65.84 kB / 299.2 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.0123, allocations: 0 / 299.2 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.234e-06/0.0123, allocations: 3.984 kB / 299.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-06/0.01231, allocations: 0 / 299.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.01231, allocations: 0 / 299.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.177e-06/0.01231, allocations: 0 / 299.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01231, allocations: 7.938 kB / 299.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01231, allocations: 0 / 299.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.01242, allocations: 124.5 kB / 299.3 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.01243, allocations: 4 kB / 299.3 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.578e-06/0.01244, allocations: 7.938 kB / 299.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.436e-06/0.01245, allocations: 0 / 299.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.01245, allocations: 0 / 299.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.117e-05/0.01247, allocations: 4.859 kB / 299.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01247, allocations: 4 kB / 299.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003053/0.01277, allocations: 63.8 kB / 299.4 MB, free: 15.64 MB / 298.7 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.001045/0.01382, allocations: 422.2 kB / 299.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.01394, allocations: 119.7 kB / 299.9 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.01394, allocations: 4 kB / 299.9 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.416e-05/0.01398, allocations: 81.97 kB / 300 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.216e-05/0.01405, allocations: 9.141 kB / 300 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001991/0.01425, allocations: 119.3 kB / 300.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.018e-05/0.01429, allocations: 59.16 kB / 300.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.57e-06/0.0143, allocations: 0 / 300.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.121e-05/0.01435, allocations: 63.42 kB / 300.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01435, allocations: 4 kB / 300.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of Templates: time 0.004841/0.01919, allocations: 1.887 MB / 302.1 MB, free: 12.94 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestFiles/TestFiles.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.969807873480022]