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.0008068/0.0008068, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001052/0.001859, 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.0007029/0.0007029, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009531/0.001656, 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 1.044/1.044, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09006/1.134, 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.3167/0.3167, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02603/0.3427, allocations: 13.24 MB / 292.8 MB, free: 6.387 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 1.323e-06/1.323e-06, allocations: 0 / 294.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.514e-05/1.646e-05, allocations: 2.312 kB / 294.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.00102/0.001037, allocations: 0.5366 MB / 294.6 MB, free: 4.578 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.002528, allocations: 1.442 MB / 296.1 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.735e-05/0.002545, allocations: 0 / 296.1 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.527e-06/0.002549, allocations: 4 kB / 296.1 MB, free: 3.133 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.092e-05/0.0026, allocations: 14.45 kB / 296.1 MB, free: 3.121 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.0007223/0.003322, allocations: 243.1 kB / 296.3 MB, free: 2.887 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.872e-05/0.003371, allocations: 4 kB / 296.3 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.048e-05/0.003401, allocations: 0 / 296.3 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.28e-05/0.003444, allocations: 15.92 kB / 296.3 MB, free: 2.867 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.063e-05/0.003485, allocations: 3.984 kB / 296.3 MB, free: 2.863 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.985e-06/0.003493, allocations: 0 / 296.3 MB, free: 2.863 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002967/0.006459, allocations: 0.9921 MB / 297.3 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.006472, allocations: 4 kB / 297.3 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.735e-05/0.006489, allocations: 7.938 kB / 297.3 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.006784, allocations: 175.5 kB / 297.5 MB, free: 1.973 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.289e-05/0.006797, allocations: 0 / 297.5 MB, free: 1.973 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.006797, allocations: 0 / 297.5 MB, free: 1.973 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.006807, allocations: 0 / 297.5 MB, free: 1.973 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.0003875/0.007195, allocations: 306.7 kB / 297.8 MB, free: 1.641 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.007236, allocations: 12.92 kB / 297.8 MB, free: 1.629 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.00727, allocations: 0.9375 kB / 297.8 MB, free: 1.629 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.007373, allocations: 102.3 kB / 297.9 MB, free: 1.504 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.007384, allocations: 4.375 kB / 297.9 MB, free: 1.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.007394, allocations: 4.375 kB / 297.9 MB, free: 1.496 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.007498, allocations: 59.91 kB / 298 MB, free: 1.426 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.007507, allocations: 192 / 298 MB, free: 1.426 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.007516, allocations: 384 / 298 MB, free: 1.426 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.007524, allocations: 4.359 kB / 298 MB, free: 1.422 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.409e-05/0.007548, allocations: 29.64 kB / 298 MB, free: 1.387 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.934e-05/0.007637, allocations: 61.05 kB / 298.1 MB, free: 1.312 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.137e-05/0.007699, allocations: 48.31 kB / 298.1 MB, free: 1.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.342e-05/0.007722, allocations: 30.56 kB / 298.2 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.29e-06/0.007727, allocations: 4 kB / 298.2 MB, free: 1.207 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.242e-05/0.00778, allocations: 64.27 kB / 298.2 MB, free: 1.129 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.007781, allocations: 0 / 298.2 MB, free: 1.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.000185/0.007966, allocations: 114.8 kB / 298.3 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.242e-05/0.008058, allocations: 154.2 kB / 298.5 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.896e-05/0.008157, allocations: 110.7 kB / 298.6 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.008174, allocations: 25.7 kB / 298.6 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.008209, allocations: 80.14 kB / 298.7 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.008237, allocations: 3.953 kB / 298.7 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.008273, allocations: 17.91 kB / 298.7 MB, free: 0.543 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.008406, allocations: 318.8 kB / 299 MB, free: 228 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.907e-05/0.008436, allocations: 29.7 kB / 299.1 MB, free: 192 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.576e-05/0.008461, allocations: 33.62 kB / 299.1 MB, free: 152 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.105e-05/0.008522, allocations: 60.27 kB / 299.1 MB, free: 76 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.008525, allocations: 0 / 299.1 MB, free: 76 kB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001153/0.00864, allocations: 89.09 kB / 299.2 MB, free: 15.97 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.161e-05/0.008692, allocations: 29.7 kB / 299.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.008697, allocations: 0 / 299.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.008712, allocations: 0 / 299.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.044e-06/0.008714, allocations: 4.094 kB / 299.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.008718, allocations: 0 / 299.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.019e-05/0.008738, allocations: 4 kB / 299.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.008746, allocations: 0 / 299.3 MB, free: 15.93 MB / 298.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.538e-05/0.008841, allocations: 143.4 kB / 299.4 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-06/0.00885, allocations: 8 kB / 299.4 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.37e-05/0.008864, allocations: 7.141 kB / 299.4 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.008865, allocations: 0 / 299.4 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.008867, allocations: 0 / 299.4 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.008871, allocations: 0 / 299.4 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.916e-05/0.00894, allocations: 65.84 kB / 299.5 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.008943, allocations: 8 kB / 299.5 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.008943, allocations: 0 / 299.5 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-06/0.008951, allocations: 8 kB / 299.5 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.008954, allocations: 0 / 299.5 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.008959, allocations: 0 / 299.5 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.00896, allocations: 0 / 299.5 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.008964, allocations: 3.984 kB / 299.5 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.009067, allocations: 116.5 kB / 299.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.009084, allocations: 3.984 kB / 299.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.002e-05/0.009094, allocations: 0 / 299.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.009107, allocations: 4.031 kB / 299.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.009109, allocations: 3.938 kB / 299.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.28e-05/0.009122, allocations: 8.859 kB / 299.6 MB, free: 15.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.009122, allocations: 0 / 299.6 MB, free: 15.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002005/0.009323, allocations: 71.73 kB / 299.7 MB, free: 15.42 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.0008944/0.01022, allocations: 418.4 kB / 300.1 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001143/0.01033, allocations: 115.7 kB / 300.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.01034, allocations: 8.094 kB / 300.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.965e-05/0.01037, allocations: 85.97 kB / 300.3 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.308e-05/0.01045, allocations: 7.938 kB / 300.3 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001768/0.01062, allocations: 119.3 kB / 300.5 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.914e-05/0.01066, allocations: 59.22 kB / 300.5 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.65e-06/0.01067, allocations: 0 / 300.5 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.01071, allocations: 55.36 kB / 300.6 MB, free: 14.61 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01071, allocations: 0 / 300.6 MB, free: 14.61 MB / 298.7 MB Notification: Performance of Templates: time 0.003166/0.01388, allocations: 1.89 MB / 302.5 MB, free: 12.73 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9483498660847545]