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.001912/0.001912, allocations: 86.09 kB / 20.68 MB, free: 1.035 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.00199/0.00199, allocations: 157.1 kB / 23.95 MB, free: 4.168 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.508/1.508, allocations: 177 MB / 204.1 MB, free: 9.176 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.2124/0.2124, allocations: 34.25 MB / 294.8 MB, free: 14.55 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.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.934e-06/1.934e-06, allocations: 0 / 442.6 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.304e-05/3.498e-05, allocations: 9.094 kB / 442.6 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001933/0.001968, allocations: 0.4894 MB / 443.1 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002939/0.004907, allocations: 1.351 MB / 444.5 MB, free: 3.508 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.614e-05/0.004934, allocations: 0 / 444.5 MB, free: 3.508 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.977e-05/0.004953, allocations: 0 / 444.5 MB, free: 3.508 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.005171, allocations: 15.92 kB / 444.5 MB, free: 3.492 MB / 366.1 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.001452/0.006623, allocations: 269 kB / 444.7 MB, free: 3.234 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.1e-05/0.006684, allocations: 4 kB / 444.7 MB, free: 3.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.171e-05/0.006726, allocations: 0 / 444.7 MB, free: 3.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.604e-05/0.006762, allocations: 3.984 kB / 444.7 MB, free: 3.227 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.602e-05/0.006838, allocations: 11.94 kB / 444.8 MB, free: 3.215 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.00685, allocations: 0 / 444.8 MB, free: 3.215 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006408/0.01326, allocations: 0.7137 MB / 445.5 MB, free: 2.621 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.01327, allocations: 0 / 445.5 MB, free: 2.621 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.01329, allocations: 4 kB / 445.5 MB, free: 2.617 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004773/0.01377, allocations: 215.4 kB / 445.7 MB, free: 2.406 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.01377, allocations: 0 / 445.7 MB, free: 2.406 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01377, allocations: 0 / 445.7 MB, free: 2.406 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.01379, allocations: 0 / 445.7 MB, free: 2.406 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.0004831/0.01427, allocations: 311.7 kB / 446 MB, free: 2.062 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.01432, allocations: 8.031 kB / 446 MB, free: 2.055 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.01436, allocations: 4.891 kB / 446 MB, free: 2.051 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.01448, allocations: 109.7 kB / 446.1 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.0145, allocations: 384 / 446.1 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.01451, allocations: 4.375 kB / 446.1 MB, free: 1.914 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.01461, allocations: 63.95 kB / 446.2 MB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.01462, allocations: 4.125 kB / 446.2 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.01463, allocations: 384 / 446.2 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.01463, allocations: 384 / 446.2 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.743e-05/0.01468, allocations: 37.62 kB / 446.2 MB, free: 1.793 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001237/0.0148, allocations: 97.33 kB / 446.3 MB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.153e-05/0.01487, allocations: 44.31 kB / 446.4 MB, free: 1.609 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.069e-05/0.01491, allocations: 30.56 kB / 446.4 MB, free: 1.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.01492, allocations: 3.984 kB / 446.4 MB, free: 1.566 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.314e-05/0.01498, allocations: 72.27 kB / 446.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.01498, allocations: 0 / 446.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002358/0.01521, allocations: 118.7 kB / 446.6 MB, free: 1.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.01528, allocations: 85.09 kB / 446.7 MB, free: 1.238 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.637e-05/0.01537, allocations: 97.8 kB / 446.8 MB, free: 1.133 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.98e-05/0.01542, allocations: 25.7 kB / 446.8 MB, free: 1.102 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.01546, allocations: 88.14 kB / 446.9 MB, free: 1.012 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.01547, allocations: 0 / 446.9 MB, free: 1.012 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.01551, allocations: 9.719 kB / 446.9 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.01569, allocations: 315.1 kB / 447.2 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.254e-05/0.01573, allocations: 37.69 kB / 447.2 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.989e-05/0.01578, allocations: 29.7 kB / 447.2 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.189e-05/0.01584, allocations: 64.2 kB / 447.3 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01584, allocations: 0 / 447.3 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.899e-05/0.01594, allocations: 85.11 kB / 447.4 MB, free: 432 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.998e-05/0.01599, allocations: 37.69 kB / 447.4 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01599, allocations: 0 / 447.4 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.01601, allocations: 0 / 447.4 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.01601, allocations: 0 / 447.4 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.01601, allocations: 12.03 kB / 447.4 MB, free: 376 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.669e-05/0.01603, allocations: 3.938 kB / 447.4 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.01604, allocations: 0 / 447.4 MB, free: 372 kB / 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.0001016/0.01614, allocations: 135.5 kB / 447.6 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.031e-05/0.01615, allocations: 3.953 kB / 447.6 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.369e-05/0.01616, allocations: 7.141 kB / 447.6 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.01616, allocations: 0 / 447.6 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.01617, allocations: 0 / 447.6 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.01618, allocations: 3.938 kB / 447.6 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.01628, allocations: 97.33 kB / 447.7 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.01628, allocations: 4 kB / 447.7 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.01628, allocations: 0 / 447.7 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.01628, allocations: 3.938 kB / 447.7 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.01629, allocations: 4 kB / 447.7 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.01629, allocations: 0 / 447.7 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01629, allocations: 0 / 447.7 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2416/0.2579, allocations: 120 kB / 447.8 MB, free: 19.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.571e-05/0.2579, allocations: 1 kB / 447.8 MB, free: 19.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.2579, allocations: 1.719 kB / 447.8 MB, free: 19.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.873e-05/0.2579, allocations: 6.406 kB / 447.8 MB, free: 19.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/0.258, allocations: 1.281 kB / 447.8 MB, free: 19.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.258, allocations: 2.625 kB / 447.8 MB, free: 19.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.208e-05/0.258, allocations: 78.22 kB / 447.9 MB, free: 19.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.258, allocations: 3.375 kB / 447.9 MB, free: 19.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004972/0.2585, allocations: 67.05 kB / 448 MB, free: 19.09 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.001028/0.2595, allocations: 339.9 kB / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001116/0.2596, allocations: 117.1 kB / 448.4 MB, free: 18.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.2596, allocations: 0 / 448.4 MB, free: 18.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.766e-05/0.2597, allocations: 90.09 kB / 448.5 MB, free: 18.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.2598, allocations: 1.344 kB / 448.5 MB, free: 18.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001917/0.26, allocations: 114.6 kB / 448.6 MB, free: 18.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.978e-05/0.26, allocations: 56.11 kB / 448.7 MB, free: 18.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.17e-06/0.26, allocations: 2.125 kB / 448.7 MB, free: 18.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.371e-05/0.26, allocations: 9.906 kB / 448.7 MB, free: 18.55 MB / 366.1 MB Notification: Performance of SimCode: time 8.12e-07/0.26, allocations: 0 / 448.7 MB, free: 18.55 MB / 366.1 MB Notification: Performance of Templates: time 0.005352/0.2654, allocations: 1.642 MB / 450.3 MB, free: 18.41 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 5.089530445635319]