Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002038/0.002038, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002695/0.002695, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3921/0.3921, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 377.2 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.873e-05, allocations: 6.312 kB / 377.3 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001575/0.001604, allocations: 497 kB / 377.7 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.003974, allocations: 1.36 MB / 379.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.549e-05/0.003999, allocations: 0 / 379.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.33e-05/0.004013, allocations: 3.938 kB / 379.1 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.004222, allocations: 11.92 kB / 379.1 MB, free: 1.121 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Utilities.mo:455:3-487: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.001182/0.005404, allocations: 273.9 kB / 379.4 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.241e-05/0.005456, allocations: 3.938 kB / 379.4 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.631e-05/0.005492, allocations: 11.97 kB / 379.4 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.817e-05/0.00552, allocations: 0 / 379.4 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.334e-05/0.005584, allocations: 8 kB / 379.4 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.005602, allocations: 0 / 379.4 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004885/0.01049, allocations: 0.9947 MB / 380.4 MB, free: 100 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.0105, allocations: 3.938 kB / 380.4 MB, free: 96 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.01053, allocations: 4 kB / 380.4 MB, free: 92 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000435/0.01097, allocations: 215.4 kB / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.01097, allocations: 4 kB / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.01098, allocations: 0 / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.01098, allocations: 0 / 380.6 MB, free: 15.88 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.0005147/0.0115, allocations: 307.7 kB / 380.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/0.01155, allocations: 12.03 kB / 380.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.347e-05/0.01161, allocations: 4.938 kB / 380.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.01174, allocations: 113.7 kB / 381.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.01175, allocations: 384 / 381.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.677e-06/0.01176, allocations: 384 / 381.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.01188, allocations: 59.91 kB / 381.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.01189, allocations: 192 / 381.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.0119, allocations: 4.125 kB / 381.1 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.01191, allocations: 4 kB / 381.1 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.681e-05/0.01195, allocations: 25.7 kB / 381.1 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.0121, allocations: 105.3 kB / 381.2 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.741e-05/0.01217, allocations: 44.28 kB / 381.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.868e-05/0.01221, allocations: 34.62 kB / 381.3 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-06/0.01222, allocations: 0 / 381.3 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.358e-05/0.01228, allocations: 60.2 kB / 381.4 MB, free: 14.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/0.01229, allocations: 0 / 381.4 MB, free: 14.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002658/0.01255, allocations: 122.8 kB / 381.5 MB, free: 14.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.571e-05/0.01263, allocations: 81.05 kB / 381.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.451e-05/0.01272, allocations: 93.86 kB / 381.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.01274, allocations: 29.95 kB / 381.7 MB, free: 14.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.735e-05/0.01281, allocations: 80.14 kB / 381.8 MB, free: 14.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.425e-05/0.01282, allocations: 3.938 kB / 381.8 MB, free: 14.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.01286, allocations: 21.7 kB / 381.8 MB, free: 14.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.01304, allocations: 310.8 kB / 382.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.671e-05/0.01308, allocations: 29.7 kB / 382.1 MB, free: 14.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.573e-05/0.0131, allocations: 29.64 kB / 382.2 MB, free: 14.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.01321, allocations: 68.27 kB / 382.2 MB, free: 14.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.01321, allocations: 0 / 382.2 MB, free: 14.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001035/0.01331, allocations: 89.19 kB / 382.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.796e-05/0.01335, allocations: 37.7 kB / 382.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.01335, allocations: 0 / 382.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.01337, allocations: 0 / 382.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.558e-06/0.01338, allocations: 3.938 kB / 382.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.01339, allocations: 0 / 382.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.553e-05/0.0134, allocations: 0 / 382.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.01341, allocations: 4 kB / 382.4 MB, free: 13.86 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.0001288/0.01354, allocations: 143.5 kB / 382.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.01355, allocations: 8 kB / 382.5 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.061e-05/0.01356, allocations: 3.156 kB / 382.5 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.01356, allocations: 4 kB / 382.5 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.01357, allocations: 3.938 kB / 382.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.01357, allocations: 3.984 kB / 382.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.01369, allocations: 101.3 kB / 382.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.01369, allocations: 0 / 382.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.01369, allocations: 0 / 382.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.01369, allocations: 0 / 382.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.0137, allocations: 4 kB / 382.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.0137, allocations: 0 / 382.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.0137, allocations: 0 / 382.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.01386, allocations: 128.4 kB / 382.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-06/0.01387, allocations: 4 kB / 382.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.01388, allocations: 0 / 382.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.566e-06/0.01389, allocations: 0 / 382.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.152e-05/0.01392, allocations: 3.938 kB / 382.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.01392, allocations: 11.92 kB / 382.8 MB, free: 13.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.104e-05/0.01397, allocations: 75.28 kB / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01397, allocations: 0 / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003266/0.0143, allocations: 71.73 kB / 382.9 MB, free: 13.23 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.001029/0.01533, allocations: 345.1 kB / 383.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.01547, allocations: 118.8 kB / 383.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01548, allocations: 0 / 383.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.752e-05/0.01554, allocations: 85.11 kB / 383.5 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.01569, allocations: 4 kB / 383.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000244/0.01593, allocations: 122.4 kB / 383.6 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.741e-05/0.01599, allocations: 55.36 kB / 383.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.699e-06/0.01599, allocations: 0 / 383.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.404e-05/0.01601, allocations: 8.5 kB / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.01601, allocations: 0 / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of Templates: time 0.00517/0.02118, allocations: 1.656 MB / 385.3 MB, free: 10.83 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.977290451992303]