Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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.001465/0.001465, allocations: 115.5 kB / 19.7 MB, free: 2.191 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.001601/0.001601, allocations: 221.6 kB / 23.01 MB, free: 5.039 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.504/1.504, allocations: 207.6 MB / 233.8 MB, free: 9.98 MB / 190.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.07194/0.07194, allocations: 14.38 MB / 300.4 MB, free: 7.438 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_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_symb_jac_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.002377/0.002377, allocations: 71.89 kB / 424.2 MB, free: 36.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09155/0.09393, allocations: 52.9 MB / 477.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.0026/0.09653, allocations: 0.7249 MB / 477.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002261/0.09675, allocations: 23.97 kB / 477.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.934e-05/0.09679, allocations: 3.828 kB / 477.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.987e-05/0.09683, allocations: 3.938 kB / 477.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.728e-05/0.09688, allocations: 0 / 477.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.09707, allocations: 11.98 kB / 477.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.09719, allocations: 23.98 kB / 477.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.09729, allocations: 0 / 477.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.947e-05/0.09732, allocations: 8 kB / 477.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.442e-05/0.0974, allocations: 7.984 kB / 477.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.09741, allocations: 0 / 477.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-06/0.09742, allocations: 0 / 477.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.09744, allocations: 4 kB / 478 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.09749, allocations: 15.88 kB / 478 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.09759, allocations: 19.95 kB / 478 MB, free: 14.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.0976, allocations: 0 / 478 MB, free: 14.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.0976, allocations: 4 kB / 478 MB, free: 14.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.09761, allocations: 0 / 478 MB, free: 14.57 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.0003991/0.098, allocations: 268.1 kB / 478.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.09805, allocations: 8.031 kB / 478.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.09809, allocations: 8.922 kB / 478.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.0982, allocations: 102.5 kB / 478.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.09821, allocations: 384 / 478.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.09822, allocations: 4.375 kB / 478.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.09835, allocations: 42.25 kB / 478.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.09836, allocations: 4.188 kB / 478.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.09837, allocations: 3.938 kB / 478.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.09838, allocations: 3.938 kB / 478.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.263e-05/0.09842, allocations: 15.94 kB / 478.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004544/0.09887, allocations: 216 kB / 478.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.328e-05/0.09895, allocations: 30.45 kB / 478.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.558e-05/0.09899, allocations: 20.91 kB / 478.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.099, allocations: 0 / 478.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.09905, allocations: 30.56 kB / 478.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.09905, allocations: 0 / 478.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002405/0.09929, allocations: 91.33 kB / 478.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.09935, allocations: 77.11 kB / 478.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.912e-05/0.0994, allocations: 89.86 kB / 479 MB, free: 13.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.09942, allocations: 29.7 kB / 479 MB, free: 13.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.09948, allocations: 88.22 kB / 479.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.0995, allocations: 7.953 kB / 479.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.09954, allocations: 17.7 kB / 479.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.09969, allocations: 310.8 kB / 479.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.528e-05/0.09972, allocations: 8 kB / 479.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.55e-05/0.09973, allocations: 4 kB / 479.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.89e-05/0.09982, allocations: 88.19 kB / 479.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.09982, allocations: 4.062 kB / 479.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001215/0.09994, allocations: 79.33 kB / 479.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/0.09998, allocations: 29.7 kB / 479.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.09999, allocations: 0 / 479.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1, allocations: 0 / 479.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.344e-05/0.1, allocations: 4 kB / 479.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1001, allocations: 0 / 479.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.943e-05/0.1001, allocations: 4 kB / 479.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.1001, allocations: 7.984 kB / 479.7 MB, free: 12.68 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.0001194/0.1002, allocations: 139.6 kB / 479.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.1003, allocations: 3.938 kB / 479.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.1003, allocations: 11.09 kB / 479.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1003, allocations: 0 / 479.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1003, allocations: 0 / 479.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1003, allocations: 0 / 479.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.1005, allocations: 132.7 kB / 479.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.1005, allocations: 4 kB / 479.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.645e-05/0.1005, allocations: 11.88 kB / 480 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1005, allocations: 0 / 480 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.944e-06/0.1005, allocations: 4 kB / 480 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1005, allocations: 0 / 480 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1005, allocations: 0 / 480 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006555/0.1012, allocations: 0.9549 MB / 480.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.477e-06/0.1012, allocations: 11.97 kB / 480.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.1012, allocations: 0 / 480.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.647e-05/0.1013, allocations: 7.922 kB / 480.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.1013, allocations: 11.94 kB / 480.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.1013, allocations: 0 / 480.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.158e-05/0.1014, allocations: 75.28 kB / 481 MB, free: 11.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1014, allocations: 0 / 481 MB, free: 11.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003334/0.1017, allocations: 8 kB / 481 MB, free: 11.18 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.0001548/0.1019, allocations: 99.25 kB / 481.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.102, allocations: 75.39 kB / 481.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.102, allocations: 0 / 481.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.733e-05/0.1021, allocations: 71.33 kB / 481.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.1024, allocations: 4 kB / 481.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000383/0.1027, allocations: 195.7 kB / 481.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.1032, allocations: 0.6768 MB / 482.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.399e-05/0.1032, allocations: 4.125 kB / 482.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.1032, allocations: 7.438 kB / 482.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1032, allocations: 0 / 482.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of Templates: time 0.003645/0.1068, allocations: 0.5905 MB / 482.7 MB, free: 9.375 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 50] diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_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.728422723012045]