Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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.001983/0.001983, allocations: 77.7 kB / 19.76 MB, free: 2.031 MB / 14.72 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.002122/0.002122, allocations: 157.9 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 158.6 MB / 184.8 MB, free: 6.195 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06431/0.06431, allocations: 10.65 MB / 247.7 MB, free: 8.461 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00252/0.00252, allocations: 71.89 kB / 371.4 MB, free: 10.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1201, allocations: 52.88 MB / 424.3 MB, free: 5.355 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002368/0.1224, allocations: 0.7044 MB / 425 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002438/0.1227, allocations: 31.89 kB / 425 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.233e-05/0.1227, allocations: 0 / 425 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.1228, allocations: 4 kB / 425 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.397e-05/0.1228, allocations: 0 / 425 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.123, allocations: 11.98 kB / 425 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.1231, allocations: 19.94 kB / 425 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1232, allocations: 7.984 kB / 425 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.071e-05/0.1233, allocations: 4 kB / 425 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.464e-05/0.1233, allocations: 7.938 kB / 425.1 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.1234, allocations: 0 / 425.1 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/0.1234, allocations: 4 kB / 425.1 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.1234, allocations: 4 kB / 425.1 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.816e-05/0.1234, allocations: 11.97 kB / 425.1 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.555e-05/0.1235, allocations: 11.98 kB / 425.1 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1235, allocations: 0 / 425.1 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.1235, allocations: 4 kB / 425.1 MB, free: 4.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.1235, allocations: 3.938 kB / 425.1 MB, free: 4.527 MB / 350.1 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.0004342/0.124, allocations: 268.1 kB / 425.4 MB, free: 4.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.124, allocations: 12.03 kB / 425.4 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.1241, allocations: 4.938 kB / 425.4 MB, free: 4.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.1242, allocations: 102.5 kB / 425.5 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.1242, allocations: 4.375 kB / 425.5 MB, free: 4.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.1242, allocations: 4.359 kB / 425.5 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.1244, allocations: 83.88 kB / 425.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1244, allocations: 192 / 425.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.1244, allocations: 7.938 kB / 425.6 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.1244, allocations: 0 / 425.6 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.851e-05/0.1245, allocations: 33.7 kB / 425.6 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004736/0.125, allocations: 192.6 kB / 425.8 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.065e-05/0.125, allocations: 52.22 kB / 425.8 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.908e-05/0.1251, allocations: 46.66 kB / 425.9 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.1251, allocations: 3.938 kB / 425.9 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.1252, allocations: 34.56 kB / 425.9 MB, free: 3.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.1252, allocations: 0 / 425.9 MB, free: 3.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002657/0.1254, allocations: 138.8 kB / 426.1 MB, free: 3.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.178e-05/0.1255, allocations: 85.09 kB / 426.1 MB, free: 3.289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.961e-05/0.1256, allocations: 89.86 kB / 426.2 MB, free: 3.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.1256, allocations: 25.7 kB / 426.3 MB, free: 3.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.724e-05/0.1257, allocations: 92.03 kB / 426.3 MB, free: 3.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.1257, allocations: 3.953 kB / 426.3 MB, free: 3.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.1257, allocations: 13.72 kB / 426.4 MB, free: 3.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.1259, allocations: 314.8 kB / 426.7 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.429e-05/0.1259, allocations: 45.75 kB / 426.7 MB, free: 2.676 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.205e-05/0.126, allocations: 33.7 kB / 426.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.1261, allocations: 80.25 kB / 426.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1261, allocations: 0 / 426.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001508/0.1262, allocations: 105 kB / 426.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.305e-05/0.1263, allocations: 36.05 kB / 427 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.1263, allocations: 0 / 427 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1263, allocations: 0 / 427 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.323e-05/0.1263, allocations: 4 kB / 427 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1264, allocations: 4.094 kB / 427 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.059e-05/0.1264, allocations: 3.938 kB / 427 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.1264, allocations: 15.92 kB / 427 MB, free: 2.355 MB / 350.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: 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 0.0001039/0.1265, allocations: 135.5 kB / 427.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.1266, allocations: 3.938 kB / 427.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/0.1266, allocations: 7.109 kB / 427.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1266, allocations: 0 / 427.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1266, allocations: 0 / 427.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1266, allocations: 0 / 427.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.1268, allocations: 105.3 kB / 427.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1268, allocations: 4 kB / 427.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.191e-05/0.1268, allocations: 4 kB / 427.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1268, allocations: 3.938 kB / 427.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.1268, allocations: 0 / 427.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1268, allocations: 0 / 427.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1268, allocations: 4 kB / 427.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.127, allocations: 203 kB / 427.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-06/0.127, allocations: 3.984 kB / 427.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.127, allocations: 7.938 kB / 427.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.066e-05/0.1271, allocations: 0 / 427.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.1272, allocations: 11.97 kB / 427.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.1272, allocations: 0 / 427.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.054e-05/0.1272, allocations: 75.28 kB / 427.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1272, allocations: 0 / 427.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.1274, allocations: 4 kB / 427.6 MB, free: 1.719 MB / 350.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: 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 0.0001277/0.1276, allocations: 103.2 kB / 427.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.1278, allocations: 130.8 kB / 427.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1278, allocations: 0 / 427.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.965e-05/0.1279, allocations: 97.09 kB / 427.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.1281, allocations: 8.062 kB / 427.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003574/0.1284, allocations: 130.6 kB / 428 MB, free: 1.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.415e-05/0.1285, allocations: 55.36 kB / 428.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.102e-05/0.1285, allocations: 0 / 428.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.1286, allocations: 12.5 kB / 428.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1286, allocations: 0 / 428.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of Templates: time 0.003638/0.1322, allocations: 0.609 MB / 428.7 MB, free: 492 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.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.589642787934281]