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.00173/0.00173, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002209/0.003939, allocations: 457.8 kB / 10.45 MB, free: 244 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.001238/0.001238, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00174/0.002978, allocations: 475.6 kB / 11.82 MB, free: 2.348 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 0.9792/0.9792, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08881/1.068, allocations: 53.87 MB / 243.9 MB, free: 14.85 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.2441/0.2441, allocations: 34.89 MB / 279.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02288/0.267, allocations: 13.24 MB / 292.8 MB, free: 6.379 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.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.423e-06/1.423e-06, allocations: 0 / 294.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.548e-05, allocations: 6.859 kB / 294.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001955/0.001981, allocations: 0.535 MB / 294.6 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.003208, allocations: 0.9396 MB / 295.6 MB, free: 3.637 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.065e-05/0.003229, allocations: 0 / 295.6 MB, free: 3.637 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.548e-06/0.003233, allocations: 0 / 295.6 MB, free: 3.637 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.774e-05/0.003311, allocations: 11.98 kB / 295.6 MB, free: 3.625 MB / 282.7 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.0005553/0.003866, allocations: 53.64 kB / 295.6 MB, free: 3.578 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.868e-05/0.003935, allocations: 15.88 kB / 295.6 MB, free: 3.562 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.003974, allocations: 3.984 kB / 295.6 MB, free: 3.559 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.699e-05/0.004021, allocations: 8 kB / 295.6 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.64e-05/0.004087, allocations: 0 / 295.6 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.004098, allocations: 0 / 295.6 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.004262, allocations: 63.88 kB / 295.7 MB, free: 3.488 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.004274, allocations: 0 / 295.7 MB, free: 3.488 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.547e-05/0.00429, allocations: 4 kB / 295.7 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.004466, allocations: 55.77 kB / 295.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.302e-05/0.004479, allocations: 0 / 295.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.00448, allocations: 0 / 295.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.004491, allocations: 4 kB / 295.8 MB, free: 3.426 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.0003273/0.004818, allocations: 254.3 kB / 296 MB, free: 3.145 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.004861, allocations: 11.44 kB / 296 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.004894, allocations: 4.922 kB / 296 MB, free: 3.133 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.774e-05/0.004992, allocations: 113.8 kB / 296.1 MB, free: 2.996 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.005003, allocations: 384 / 296.1 MB, free: 2.996 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.005013, allocations: 384 / 296.1 MB, free: 2.996 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.878e-05/0.005092, allocations: 59.97 kB / 296.2 MB, free: 2.926 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.005099, allocations: 192 / 296.2 MB, free: 2.926 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.005105, allocations: 384 / 296.2 MB, free: 2.926 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.005111, allocations: 4.375 kB / 296.2 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.418e-05/0.005135, allocations: 41.56 kB / 296.2 MB, free: 2.875 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.121e-05/0.005206, allocations: 53.05 kB / 296.3 MB, free: 2.809 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.662e-05/0.005253, allocations: 44.31 kB / 296.3 MB, free: 2.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.114e-05/0.005274, allocations: 34.62 kB / 296.4 MB, free: 2.707 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-06/0.005278, allocations: 3.938 kB / 296.4 MB, free: 2.703 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.005315, allocations: 60.25 kB / 296.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.005317, allocations: 0 / 296.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001358/0.005452, allocations: 118.7 kB / 296.6 MB, free: 2.488 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.005521, allocations: 158.3 kB / 296.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.139e-05/0.005592, allocations: 107.4 kB / 296.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.005602, allocations: 25.7 kB / 296.8 MB, free: 2.148 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.806e-05/0.00562, allocations: 80.14 kB / 296.9 MB, free: 2.066 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.00564, allocations: 0.5156 kB / 296.9 MB, free: 2.066 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.005665, allocations: 13.72 kB / 296.9 MB, free: 2.047 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.967e-05/0.005735, allocations: 314.8 kB / 297.2 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.053e-05/0.005756, allocations: 29.7 kB / 297.3 MB, free: 1.695 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.163e-05/0.005767, allocations: 25.7 kB / 297.3 MB, free: 1.664 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.489e-05/0.005802, allocations: 64.44 kB / 297.4 MB, free: 1.586 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.005804, allocations: 4 kB / 297.4 MB, free: 1.582 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.364e-05/0.005858, allocations: 89.05 kB / 297.4 MB, free: 1.477 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/0.005892, allocations: 29.7 kB / 297.5 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.005896, allocations: 0 / 297.5 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.005909, allocations: 3.984 kB / 297.5 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.372e-06/0.00591, allocations: 0 / 297.5 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.005913, allocations: 0 / 297.5 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.41e-05/0.005928, allocations: 11.95 kB / 297.5 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.005934, allocations: 0 / 297.5 MB, free: 1.426 MB / 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 5.591e-05/0.00599, allocations: 143.5 kB / 297.6 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-06/0.005995, allocations: 4 kB / 297.6 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.368e-06/0.006004, allocations: 3 kB / 297.6 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.006005, allocations: 0 / 297.6 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.006006, allocations: 0 / 297.6 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.006009, allocations: 0 / 297.6 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.657e-05/0.006055, allocations: 69.83 kB / 297.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.006056, allocations: 0 / 297.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.006056, allocations: 0 / 297.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.496e-06/0.00606, allocations: 0 / 297.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-07/0.00606, allocations: 0 / 297.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-06/0.006063, allocations: 4 kB / 297.7 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.006065, allocations: 8 kB / 297.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.006065, allocations: 3.938 kB / 297.7 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.166e-05/0.006127, allocations: 116.4 kB / 297.8 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.006137, allocations: 4 kB / 297.8 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.3e-06/0.006142, allocations: 0 / 297.8 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.654e-06/0.00615, allocations: 0 / 297.8 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.006152, allocations: 0 / 297.8 MB, free: 1.016 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.866e-06/0.00616, allocations: 12.84 kB / 297.9 MB, free: 1 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00616, allocations: 0 / 297.9 MB, free: 1 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001127/0.006273, allocations: 24.06 kB / 297.9 MB, free: 0.9766 MB / 282.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.0004411/0.006714, allocations: 223.6 kB / 298.1 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.857e-05/0.006813, allocations: 111.7 kB / 298.2 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.00682, allocations: 4 kB / 298.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.262e-05/0.006852, allocations: 93.89 kB / 298.3 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.285e-05/0.006915, allocations: 11.94 kB / 298.3 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001727/0.007088, allocations: 114.3 kB / 298.4 MB, free: 424 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.956e-05/0.007117, allocations: 51.36 kB / 298.5 MB, free: 352 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.41e-06/0.007123, allocations: 192 / 298.5 MB, free: 352 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.007155, allocations: 59.38 kB / 298.5 MB, free: 292 kB / 282.7 MB Notification: Performance of SimCode: time 4.31e-07/0.007156, allocations: 0 / 298.5 MB, free: 292 kB / 282.7 MB Notification: Performance of Templates: time 0.002162/0.009318, allocations: 0.7945 MB / 299.3 MB, free: 15.49 MB / 298.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.781917557120323]