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.001491/0.001491, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001615/0.001615, allocations: 160.9 kB / 24.27 MB, free: 168 kB / 18.57 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.489/1.489, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 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.3757/0.3757, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 179] 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.453e-06/1.453e-06, allocations: 0 / 377.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.892e-05/3.038e-05, allocations: 10.25 kB / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001551/0.001582, allocations: 496.4 kB / 377.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00281/0.004392, allocations: 1.363 MB / 379 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.167e-05/0.004424, allocations: 0 / 379 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.00444, allocations: 7.938 kB / 379 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000264/0.004704, allocations: 4 kB / 379 MB, free: 1.066 MB / 346.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.001478/0.006182, allocations: 276 kB / 379.3 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.93e-05/0.006242, allocations: 7.922 kB / 379.3 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.634e-05/0.006278, allocations: 4 kB / 379.3 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.078e-05/0.006309, allocations: 0 / 379.3 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.972e-05/0.006368, allocations: 0 / 379.3 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.929e-06/0.006378, allocations: 4 kB / 379.3 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005115/0.01149, allocations: 0.9905 MB / 380.3 MB, free: 44 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.01151, allocations: 7.922 kB / 380.3 MB, free: 36 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.939e-05/0.01154, allocations: 0 / 380.3 MB, free: 36 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004279/0.01197, allocations: 207.5 kB / 380.5 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.01197, allocations: 3.938 kB / 380.5 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.01197, allocations: 4 kB / 380.5 MB, free: 15.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.01198, allocations: 0 / 380.5 MB, free: 15.82 MB / 362.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.0004573/0.01243, allocations: 315.7 kB / 380.8 MB, free: 15.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.01247, allocations: 8.031 kB / 380.9 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.01251, allocations: 0.9375 kB / 380.9 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.01263, allocations: 109.8 kB / 381 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.01264, allocations: 384 / 381 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-06/0.01265, allocations: 384 / 381 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.01275, allocations: 59.97 kB / 381 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.01276, allocations: 192 / 381 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.01277, allocations: 4.375 kB / 381 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.01277, allocations: 384 / 381 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.251e-05/0.01281, allocations: 37.62 kB / 381.1 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001286/0.01294, allocations: 97.27 kB / 381.2 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.774e-05/0.01302, allocations: 44.31 kB / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.89e-05/0.01306, allocations: 38.62 kB / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.206e-06/0.01307, allocations: 0 / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.733e-05/0.01312, allocations: 60.25 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.01312, allocations: 0 / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002285/0.01335, allocations: 118.8 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.01342, allocations: 85.14 kB / 381.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.811e-05/0.01352, allocations: 101.8 kB / 381.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.01354, allocations: 25.7 kB / 381.6 MB, free: 14.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.102e-05/0.01359, allocations: 80.14 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.0136, allocations: 7.922 kB / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.01364, allocations: 13.72 kB / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.01382, allocations: 314.8 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.22e-05/0.01385, allocations: 29.7 kB / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.611e-05/0.01387, allocations: 29.69 kB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.34e-05/0.01395, allocations: 64.45 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.01395, allocations: 0 / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001048/0.01405, allocations: 93.05 kB / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.54e-05/0.0141, allocations: 40.66 kB / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.0141, allocations: 0 / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.01412, allocations: 0 / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.01412, allocations: 0 / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.01413, allocations: 0 / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.787e-05/0.01414, allocations: 3.938 kB / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.01415, allocations: 4 kB / 382.3 MB, free: 13.8 MB / 362.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 0.0001073/0.01426, allocations: 139.6 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.01427, allocations: 4 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.957e-06/0.01428, allocations: 3.156 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-06/0.01428, allocations: 0 / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.01428, allocations: 0 / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.01429, allocations: 11.91 kB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.725e-05/0.01439, allocations: 101.3 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.01439, allocations: 0 / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.01439, allocations: 0 / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.01439, allocations: 0 / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.0144, allocations: 4 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.0144, allocations: 7.984 kB / 382.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.01441, allocations: 4 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.01455, allocations: 128.4 kB / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-06/0.01456, allocations: 0 / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.01457, allocations: 4 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.057e-06/0.01458, allocations: 0 / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.773e-05/0.0146, allocations: 3.984 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.0146, allocations: 0 / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.714e-05/0.01465, allocations: 79.28 kB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01465, allocations: 4.125 kB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003309/0.01498, allocations: 75.67 kB / 382.8 MB, free: 13.16 MB / 362.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.000953/0.01593, allocations: 337.3 kB / 383.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001474/0.01608, allocations: 110.8 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01608, allocations: 0 / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.826e-05/0.01615, allocations: 89.03 kB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.01629, allocations: 3.125 kB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002452/0.01654, allocations: 118.5 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.239e-05/0.0166, allocations: 59.47 kB / 383.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.601e-06/0.01661, allocations: 4 kB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.533e-05/0.01662, allocations: 12.5 kB / 383.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01662, allocations: 0 / 383.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of Templates: time 0.005151/0.02177, allocations: 1.645 MB / 385.2 MB, free: 10.76 MB / 362.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=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: 4.957291812985204]