Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.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.0014/0.0014, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001613/0.001613, allocations: 181 kB / 23.35 MB, free: 1.137 MB / 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 0.9821/0.9821, allocations: 177.1 MB / 203.8 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.05304/0.05304, allocations: 13.12 MB / 273.4 MB, free: 196 kB / 250.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/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(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 297 MB, free: 10.43 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.447e-05, allocations: 2.312 kB / 297 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001443/0.001458, allocations: 0.7755 MB / 297.7 MB, free: 10 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001578/0.001615, allocations: 25.98 kB / 297.8 MB, free: 9.988 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.962e-05/0.001645, allocations: 0 / 297.8 MB, free: 9.988 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.369e-05/0.001669, allocations: 0.7188 kB / 297.8 MB, free: 9.988 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.28e-05/0.001712, allocations: 1.156 kB / 297.8 MB, free: 9.988 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000117/0.001828, allocations: 6 kB / 297.8 MB, free: 9.988 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.708e-05/0.001906, allocations: 21.06 kB / 297.8 MB, free: 9.977 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.524e-05/0.001971, allocations: 5.5 kB / 297.8 MB, free: 9.977 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.439e-05/0.002005, allocations: 14.05 kB / 297.8 MB, free: 9.969 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.48e-05/0.00207, allocations: 7.672 kB / 297.8 MB, free: 9.965 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.002084, allocations: 4.656 kB / 297.8 MB, free: 9.965 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.675e-06/0.002092, allocations: 2.188 kB / 297.8 MB, free: 9.965 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.002106, allocations: 1.062 kB / 297.8 MB, free: 9.965 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.136e-05/0.002128, allocations: 7.625 kB / 297.8 MB, free: 9.961 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.608e-05/0.002194, allocations: 11.55 kB / 297.8 MB, free: 9.957 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.002195, allocations: 0 / 297.8 MB, free: 9.957 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.002196, allocations: 0 / 297.8 MB, free: 9.957 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.002199, allocations: 1.219 kB / 297.8 MB, free: 9.957 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0001774/0.002377, allocations: 248.5 kB / 298.1 MB, free: 9.691 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.002411, allocations: 11.88 kB / 298.1 MB, free: 9.691 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.002438, allocations: 4.078 kB / 298.1 MB, free: 9.691 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.162e-05/0.002479, allocations: 105.4 kB / 298.2 MB, free: 9.566 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.00249, allocations: 3.625 kB / 298.2 MB, free: 9.566 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.002498, allocations: 2.438 kB / 298.2 MB, free: 9.566 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.788e-05/0.002576, allocations: 70.66 kB / 298.3 MB, free: 9.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.964e-06/0.002583, allocations: 192 / 298.3 MB, free: 9.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.00259, allocations: 6.141 kB / 298.3 MB, free: 9.496 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.002596, allocations: 384 / 298.3 MB, free: 9.496 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.822e-05/0.002614, allocations: 37.27 kB / 298.3 MB, free: 9.461 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002121/0.002826, allocations: 151.7 kB / 298.5 MB, free: 9.316 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.872e-05/0.002865, allocations: 55.94 kB / 298.5 MB, free: 9.258 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.039e-05/0.002885, allocations: 43.19 kB / 298.6 MB, free: 9.215 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.6e-06/0.002891, allocations: 2.078 kB / 298.6 MB, free: 9.215 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/0.002904, allocations: 40.05 kB / 298.6 MB, free: 9.168 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.002905, allocations: 0 / 298.6 MB, free: 9.168 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001544/0.00306, allocations: 131.8 kB / 298.7 MB, free: 9.039 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.003109, allocations: 83.23 kB / 298.8 MB, free: 8.941 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.132e-05/0.00313, allocations: 90.86 kB / 298.9 MB, free: 8.844 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.003147, allocations: 25.7 kB / 298.9 MB, free: 8.812 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.111e-05/0.003168, allocations: 82.41 kB / 299 MB, free: 8.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.003198, allocations: 12.44 kB / 299 MB, free: 8.723 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.003239, allocations: 15.38 kB / 299 MB, free: 8.707 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.339e-05/0.003282, allocations: 312.4 kB / 299.3 MB, free: 8.395 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.556e-05/0.003328, allocations: 31.44 kB / 299.4 MB, free: 8.363 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.852e-05/0.003356, allocations: 32.14 kB / 299.4 MB, free: 8.332 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.134e-05/0.003437, allocations: 80.55 kB / 299.5 MB, free: 8.254 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.003441, allocations: 1.062 kB / 299.5 MB, free: 8.254 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001165/0.003557, allocations: 96.52 kB / 299.6 MB, free: 8.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.005e-05/0.003597, allocations: 32.75 kB / 299.6 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.003605, allocations: 0 / 299.6 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.003623, allocations: 1.156 kB / 299.6 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.826e-05/0.003671, allocations: 5.609 kB / 299.6 MB, free: 8.125 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.003677, allocations: 10.69 kB / 299.6 MB, free: 8.121 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.294e-05/0.00373, allocations: 2.297 kB / 299.6 MB, free: 8.121 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.003739, allocations: 2.188 kB / 299.6 MB, free: 8.121 MB / 266.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * 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 6.594e-05/0.003805, allocations: 140.4 kB / 299.8 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/0.003844, allocations: 8.859 kB / 299.8 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.803e-05/0.003862, allocations: 3.156 kB / 299.8 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.003864, allocations: 0 / 299.8 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.003867, allocations: 5.844 kB / 299.8 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.003871, allocations: 0 / 299.8 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.146e-05/0.003952, allocations: 70.84 kB / 299.9 MB, free: 7.883 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.003954, allocations: 0 / 299.9 MB, free: 7.883 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.716e-05/0.003971, allocations: 2.688 kB / 299.9 MB, free: 7.883 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.003973, allocations: 0 / 299.9 MB, free: 7.883 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.003979, allocations: 1.703 kB / 299.9 MB, free: 7.883 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.00398, allocations: 5.219 kB / 299.9 MB, free: 7.879 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.003982, allocations: 0 / 299.9 MB, free: 7.879 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.004093, allocations: 200.1 kB / 300.1 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-06/0.004102, allocations: 2.188 kB / 300.1 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.004114, allocations: 1.703 kB / 300.1 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.004222, allocations: 5.922 kB / 300.1 MB, free: 7.676 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.004263, allocations: 3.312 kB / 300.1 MB, free: 7.676 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.00427, allocations: 1.703 kB / 300.1 MB, free: 7.676 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.266e-06/0.004278, allocations: 12.8 kB / 300.1 MB, free: 7.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.004278, allocations: 0.9375 kB / 300.1 MB, free: 7.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002262/0.004504, allocations: 9.5 kB / 300.1 MB, free: 7.656 MB / 266.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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 9.409e-05/0.004599, allocations: 78.03 kB / 300.2 MB, free: 7.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.004724, allocations: 128.6 kB / 300.3 MB, free: 7.457 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/0.004737, allocations: 0 / 300.3 MB, free: 7.457 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.745e-05/0.004784, allocations: 101.1 kB / 300.4 MB, free: 7.348 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.004936, allocations: 8.234 kB / 300.4 MB, free: 7.344 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002089/0.005145, allocations: 128.1 kB / 300.5 MB, free: 7.207 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.061e-05/0.005176, allocations: 54.97 kB / 300.6 MB, free: 7.137 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.406e-05/0.00519, allocations: 3.938 kB / 300.6 MB, free: 7.133 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.82e-05/0.005248, allocations: 57.95 kB / 300.6 MB, free: 7.086 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.005249, allocations: 0 / 300.6 MB, free: 7.086 MB / 266.7 MB Notification: Performance of Templates: time 0.002986/0.008235, allocations: 0.6866 MB / 301.3 MB, free: 7.004 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6476731160655618]