Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.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.001359/0.001359, allocations: 89.22 kB / 20.68 MB, free: 1.02 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.001472/0.001472, allocations: 158.6 kB / 23.95 MB, free: 4.152 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.471/1.471, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 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.2142/0.2142, allocations: 34.25 MB / 294.8 MB, free: 14.53 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.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 442.6 MB, free: 5.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.028e-05/3.161e-05, allocations: 2.281 kB / 442.6 MB, free: 5.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.00162/0.001652, allocations: 493.3 kB / 443.1 MB, free: 4.855 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.002986, allocations: 0.8841 MB / 444 MB, free: 3.969 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.907e-05/0.003015, allocations: 4 kB / 444 MB, free: 3.965 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.139e-05/0.003026, allocations: 0 / 444 MB, free: 3.965 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002131/0.003239, allocations: 3.938 kB / 444 MB, free: 3.961 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:333:3-373:15:writable] Warning: Pure function 'ModelicaTest.Utilities.ReadFile' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.000701/0.00394, allocations: 58.06 kB / 444.1 MB, free: 3.906 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.52e-05/0.003996, allocations: 11.98 kB / 444.1 MB, free: 3.895 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.413e-05/0.00403, allocations: 3.984 kB / 444.1 MB, free: 3.891 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.296e-05/0.004063, allocations: 0 / 444.1 MB, free: 3.891 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.394e-05/0.004127, allocations: 4 kB / 444.1 MB, free: 3.887 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.004137, allocations: 0 / 444.1 MB, free: 3.887 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.004291, allocations: 59.83 kB / 444.1 MB, free: 3.828 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.326e-06/0.004299, allocations: 0 / 444.1 MB, free: 3.828 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.00432, allocations: 0 / 444.1 MB, free: 3.828 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.004511, allocations: 67.78 kB / 444.2 MB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.004514, allocations: 0 / 444.2 MB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004514, allocations: 0 / 444.2 MB, free: 3.762 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.004518, allocations: 0 / 444.2 MB, free: 3.762 MB / 366.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.000385/0.004903, allocations: 276 kB / 444.5 MB, free: 3.453 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.004942, allocations: 8.031 kB / 444.5 MB, free: 3.445 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.004977, allocations: 4.938 kB / 444.5 MB, free: 3.441 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.005088, allocations: 105.7 kB / 444.6 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.005102, allocations: 384 / 444.6 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.00511, allocations: 384 / 444.6 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.005225, allocations: 63.95 kB / 444.6 MB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.005238, allocations: 4.172 kB / 444.6 MB, free: 3.234 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.005247, allocations: 384 / 444.6 MB, free: 3.234 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.005251, allocations: 4.312 kB / 444.7 MB, free: 3.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.84e-05/0.005289, allocations: 37.64 kB / 444.7 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000135/0.005424, allocations: 97.3 kB / 444.8 MB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.786e-05/0.005492, allocations: 48.22 kB / 444.8 MB, free: 3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.163e-05/0.005534, allocations: 42.61 kB / 444.9 MB, free: 2.949 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.005544, allocations: 0 / 444.9 MB, free: 2.949 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.109e-05/0.005595, allocations: 60.27 kB / 444.9 MB, free: 2.875 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.005596, allocations: 0 / 444.9 MB, free: 2.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002232/0.005819, allocations: 114.8 kB / 445 MB, free: 2.738 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/0.005892, allocations: 89.09 kB / 445.1 MB, free: 2.633 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.683e-05/0.005978, allocations: 97.92 kB / 445.2 MB, free: 2.527 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.006003, allocations: 25.7 kB / 445.3 MB, free: 2.496 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.006045, allocations: 84.08 kB / 445.3 MB, free: 2.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.006063, allocations: 4 kB / 445.3 MB, free: 2.406 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.006094, allocations: 9.719 kB / 445.3 MB, free: 2.391 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.006243, allocations: 310.8 kB / 445.7 MB, free: 2.078 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.086e-05/0.006274, allocations: 33.7 kB / 445.7 MB, free: 2.039 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.072e-05/0.006305, allocations: 29.69 kB / 445.7 MB, free: 2.004 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.095e-05/0.006366, allocations: 60.27 kB / 445.8 MB, free: 1.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006367, allocations: 4.188 kB / 445.8 MB, free: 1.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001313/0.006499, allocations: 89.11 kB / 445.9 MB, free: 1.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.295e-05/0.006542, allocations: 37.69 kB / 445.9 MB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.006547, allocations: 0 / 445.9 MB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.006563, allocations: 0 / 445.9 MB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.006564, allocations: 0 / 445.9 MB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.006569, allocations: 3.938 kB / 445.9 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.006588, allocations: 3.938 kB / 445.9 MB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.006595, allocations: 0 / 445.9 MB, free: 1.77 MB / 366.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.0001012/0.006696, allocations: 135.5 kB / 446 MB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.936e-06/0.006705, allocations: 7.969 kB / 446 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.312e-05/0.006718, allocations: 3 kB / 446.1 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.006722, allocations: 4 kB / 446.1 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.006729, allocations: 3.984 kB / 446.1 MB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.006734, allocations: 3.938 kB / 446.1 MB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.452e-05/0.006819, allocations: 93.33 kB / 446.2 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.00682, allocations: 0 / 446.2 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-07/0.006821, allocations: 3.938 kB / 446.2 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.006822, allocations: 4 kB / 446.2 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.00683, allocations: 0 / 446.2 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.006831, allocations: 0 / 446.2 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.006832, allocations: 4 kB / 446.2 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.006959, allocations: 120.5 kB / 446.3 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-06/0.006964, allocations: 0 / 446.3 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.006977, allocations: 4 kB / 446.3 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.917e-06/0.006986, allocations: 3.938 kB / 446.3 MB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.325e-05/0.007009, allocations: 7.984 kB / 446.3 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.007013, allocations: 0 / 446.3 MB, free: 1.301 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.814e-05/0.007051, allocations: 79.28 kB / 446.4 MB, free: 1.223 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.007051, allocations: 0 / 446.4 MB, free: 1.223 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002239/0.007275, allocations: 20 kB / 446.4 MB, free: 1.203 MB / 366.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.0004979/0.007773, allocations: 194.7 kB / 446.6 MB, free: 1.027 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.007926, allocations: 114.8 kB / 446.7 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.007928, allocations: 3.938 kB / 446.7 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.843e-05/0.007987, allocations: 81.11 kB / 446.8 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.008125, allocations: 4 kB / 446.8 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002311/0.008356, allocations: 114.5 kB / 446.9 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.135e-05/0.008417, allocations: 59.3 kB / 447 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.31e-06/0.008423, allocations: 0 / 447 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.476e-05/0.008437, allocations: 8.5 kB / 447 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.008438, allocations: 4.125 kB / 447 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of Templates: time 0.2425/0.2509, allocations: 0.6649 MB / 447.6 MB, free: 19.27 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestReadFile/TestReadFile.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.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: 5.004653852432966]